www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/11/05/03:34:19

From: "Michael Schuster" <enertex AT t-online DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: stlport
Date: Mon, 5 Nov 2001 09:23:31 +0100
Organization: T-Online
Lines: 305
Message-ID: <9s5idu$5kp$04$1@news.t-online.com>
Mime-Version: 1.0
X-Trace: news.t-online.com 1004948735 04 5785 yXQXTAaSS7AJp4 011105 08:25:35
X-Complaints-To: abuse AT t-online DOT com
X-Sender: 510025823169-0001 AT t-dialin DOT net
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,
does someone out there use the stlport lib with djgpp (3.02). There comes a
makefile with the latest release (4.5) , but does abort with the messages
below.

Thanks
Michael



E:\C++Prog\STLport-4.5\src>make
Zu viele Parameter - ..
Zu viele Parameter - ..
Zu viele Parameter - ..
mkdir -p ../lib
Zu viele Parameter - ..
mkdir -p ../lib/obj/DJGPP/Release
Zu viele Parameter - ..
gcc -I../stlport -W -Wno-sign-compare -Wno-unused -Wno-uninitialized -ftempl
ate-
depth-32 -mbnu210 -O2 dll_main.cpp -c -o ../lib/obj/DJGPP/Release/dll_main.o
cc1plus.exe: warning: -mbnu210 or -mno-bnu210 is ignored (option is
obsolete).
In file included from stlport_prefix.h:28,
                 from dll_main.cpp:34:
../stlport/ctime:25:44: ../g++-v3/ctime: No such file or directory (ENOENT)
In file included from stlport_prefix.h:28,
                 from dll_main.cpp:34:
../stlport/ctime:32: `size_t' not declared
../stlport/ctime:33: `clock_t' not declared
../stlport/ctime:34: `time_t' not declared
../stlport/ctime:35: `tm' not declared
../stlport/ctime:37: `clock' not declared
../stlport/ctime:38: `asctime' not declared
../stlport/ctime:39: `ctime' not declared
../stlport/ctime:40: `gmtime' not declared
../stlport/ctime:41: `difftime' not declared
../stlport/ctime:42: `mktime' not declared
../stlport/ctime:43: `localtime' not declared
../stlport/ctime:44: `strftime' not declared
../stlport/ctime:45: `time' not declared
In file included from dll_main.cpp:34:
stlport_prefix.h:30: `time_t' not declared
In file included from ../stlport/stl/debug/_debug.c:160,
                 from ../stlport/stl/debug/_debug.h:418,
                 from ../stlport/utility:36,
                 from dll_main.cpp:36:
../stlport/cstdlib:25:46: ../g++-v3/cstdlib: No such file or directory
(ENOENT)
In file included from ../stlport/stl/debug/_debug.c:160,
                 from ../stlport/stl/debug/_debug.h:418,
                 from ../stlport/utility:36,
                 from dll_main.cpp:36:
../stlport/cstdlib:42: `div_t' not declared
../stlport/cstdlib:43: `ldiv_t' not declared
../stlport/cstdlib:44: `size_t' not declared
../stlport/cstdlib:47: `abort' not declared
../stlport/cstdlib:48: `atexit' not declared
../stlport/cstdlib:49: `exit' not declared
../stlport/cstdlib:50: `getenv' not declared
../stlport/cstdlib:51: `calloc' not declared
../stlport/cstdlib:52: `free' not declared
../stlport/cstdlib:53: `malloc' not declared
../stlport/cstdlib:54: `realloc' not declared
../stlport/cstdlib:55: `atof' not declared
../stlport/cstdlib:56: `atoi' not declared
../stlport/cstdlib:57: `atol' not declared
../stlport/cstdlib:58: `mblen' not declared
../stlport/cstdlib:59: `mbstowcs' not declared
../stlport/cstdlib:60: `mbtowc' not declared
../stlport/cstdlib:61: `strtod' not declared
../stlport/cstdlib:62: `strtol' not declared
../stlport/cstdlib:63: `strtoul' not declared
../stlport/cstdlib:64: `system' not declared
../stlport/cstdlib:70: `bsearch' not declared
../stlport/cstdlib:71: `qsort' not declared
../stlport/cstdlib:74: `abs' not declared
../stlport/cstdlib:76: `div' not declared
../stlport/cstdlib:77: `labs' not declared
../stlport/cstdlib:78: `ldiv' not declared
../stlport/cstdlib:79: `rand' not declared
../stlport/cstdlib:80: `srand' not declared
In file included from ../stlport/stl/debug/_debug.c:236,
                 from ../stlport/stl/debug/_debug.h:418,
                 from ../stlport/utility:36,
                 from dll_main.cpp:36:
../stlport/cstdarg:25:46: ../g++-v3/cstdarg: No such file or directory
(ENOENT)
In file included from ../stlport/stl/debug/_debug.c:236,
                 from ../stlport/stl/debug/_debug.h:418,
                 from ../stlport/utility:36,
                 from dll_main.cpp:36:
../stlport/cstdarg:32: `va_list' not declared
In file included from ../stlport/stl/debug/_debug.c:237,
                 from ../stlport/stl/debug/_debug.h:418,
                 from ../stlport/utility:36,
                 from dll_main.cpp:36:
../stlport/cstdio:27:45: ../g++-v3/cstdio: No such file or directory
(ENOENT)
In file included from ../stlport/stl/debug/_debug.c:237,
                 from ../stlport/stl/debug/_debug.h:418,
                 from ../stlport/utility:36,
                 from dll_main.cpp:36:
../stlport/cstdio:51: `FILE' not declared
../stlport/cstdio:52: `fpos_t' not declared
../stlport/cstdio:53: `size_t' not declared
../stlport/cstdio:64: `clearerr' not declared
../stlport/cstdio:65: `fclose' not declared
../stlport/cstdio:66: `feof' not declared
../stlport/cstdio:67: `ferror' not declared
../stlport/cstdio:68: `fflush' not declared
../stlport/cstdio:69: `fgetc' not declared
../stlport/cstdio:70: `fgetpos' not declared
../stlport/cstdio:71: `fgets' not declared
../stlport/cstdio:72: `fopen' not declared
../stlport/cstdio:73: `fprintf' not declared
../stlport/cstdio:74: `fputc' not declared
../stlport/cstdio:75: `fputs' not declared
../stlport/cstdio:76: `fread' not declared
../stlport/cstdio:77: `freopen' not declared
../stlport/cstdio:78: `fscanf' not declared
../stlport/cstdio:79: `fseek' not declared
../stlport/cstdio:80: `fsetpos' not declared
../stlport/cstdio:81: `ftell' not declared
../stlport/cstdio:82: `fwrite' not declared
../stlport/cstdio:85: `getc' not declared
../stlport/cstdio:86: `getchar' not declared
../stlport/cstdio:87: `putc' not declared
../stlport/cstdio:88: `putchar' not declared
../stlport/cstdio:91: `gets' not declared
../stlport/cstdio:92: `perror' not declared
../stlport/cstdio:93: `printf' not declared
../stlport/cstdio:94: `puts' not declared
../stlport/cstdio:95: `remove' not declared
../stlport/cstdio:96: `rename' not declared
../stlport/cstdio:97: `rewind' not declared
../stlport/cstdio:98: `scanf' not declared
../stlport/cstdio:99: `setbuf' not declared
../stlport/cstdio:100: `setvbuf' not declared
../stlport/cstdio:101: `sprintf' not declared
../stlport/cstdio:102: `sscanf' not declared
../stlport/cstdio:103: `tmpfile' not declared
../stlport/cstdio:104: `tmpnam' not declared
../stlport/cstdio:105: `ungetc' not declared
../stlport/cstdio:106: `vfprintf' not declared
../stlport/cstdio:107: `vprintf' not declared
../stlport/cstdio:108: `vsprintf' not declared
In file included from ../stlport/stl/debug/_debug.h:418,
                 from ../stlport/utility:36,
                 from dll_main.cpp:36:
../stlport/stl/debug/_debug.c: In static member function `static void
   _STL::__stl_debug_engine<_Dummy>::_Message(const char*, ...)':
../stlport/stl/debug/_debug.c:245: parse error before `;' token
In file included from ../stlport/stl/_alloc.h:31,
                 from ../stlport/memory:28,
                 from dll_main.cpp:38:
../stlport/cstddef:35:46: ../g++-v3/cstddef: No such file or directory
(ENOENT)
In file included from ../stlport/stl/_alloc.h:31,
                 from ../stlport/memory:28,
                 from dll_main.cpp:38:
../stlport/cstddef: At global scope:
../stlport/cstddef:42: `ptrdiff_t' not declared
../stlport/cstddef:43: `size_t' not declared
In file included from ../stlport/stl/_alloc.h:42,
                 from ../stlport/memory:28,
                 from dll_main.cpp:38:
../stlport/cstring:25:46: ../g++-v3/cstring: No such file or directory
(ENOENT)
In file included from ../stlport/cstring:32,
                 from ../stlport/stl/_alloc.h:42,
                 from ../stlport/memory:28,
                 from dll_main.cpp:38:
../stlport/using/cstring:1: `size_t' not declared
../stlport/using/cstring:17: `memmove' not declared
../stlport/using/cstring:18: `memcpy' not declared
../stlport/using/cstring:23: `memchr' not declared
../stlport/using/cstring:24: `strchr' not declared
../stlport/using/cstring:25: `strpbrk' not declared
../stlport/using/cstring:26: `strrchr' not declared
../stlport/using/cstring:27: `strstr' not declared
../stlport/using/cstring:30: `memcmp' not declared
../stlport/using/cstring:31: `memset' not declared
../stlport/using/cstring:33: `strcat' not declared
../stlport/using/cstring:36: `strcmp' not declared
../stlport/using/cstring:39: `strcoll' not declared
../stlport/using/cstring:41: `strcpy' not declared
../stlport/using/cstring:43: `strcspn' not declared
../stlport/using/cstring:44: `strerror' not declared
../stlport/using/cstring:45: `strlen' not declared
../stlport/using/cstring:46: `strncat' not declared
../stlport/using/cstring:47: `strncmp' not declared
../stlport/using/cstring:49: `strncpy' not declared
../stlport/using/cstring:50: `strspn' not declared
../stlport/using/cstring:52: `strtok' not declared
../stlport/using/cstring:53: `strxfrm' not declared
In file included from ../stlport/stl/_alloc.h:60,
                 from ../stlport/memory:28,
                 from dll_main.cpp:38:
../stlport/new:50:49: ../g++-v3/new: No such file or directory (ENOENT)
In file included from ../stlport/stl/_alloc.h:60,
                 from ../stlport/memory:28,
                 from dll_main.cpp:38:
../stlport/new:59: `nothrow_t' not declared
../stlport/new:60: `nothrow' not declared
../stlport/new:66: `new_handler' not declared
../stlport/new:67: `set_new_handler' not declared
../stlport/new:112: `size_t' was not declared in this scope
../stlport/new:112: parse error before `)' token
../stlport/new: In function `void* _STL::__stl_new(...)':
../stlport/new:112: `__n' undeclared (first use this function)
../stlport/new:112: (Each undeclared identifier is reported only once for
each
   function it appears in.)
In file included from ../stlport/stl/_alloc.h:64,
                 from ../stlport/memory:28,
                 from dll_main.cpp:38:
../stlport/stl/_threads.h: At global scope:
../stlport/stl/_threads.h:53: syntax error before `;' token
../stlport/stl/_threads.h:207: parse error before `*' token
../stlport/stl/_threads.h:409: ISO C++ forbids declaration of
`__stl_atomic_t'
   with no type
../stlport/stl/_threads.h:409: parse error before `;' token
../stlport/stl/_threads.h:416: parse error before `__n'
../stlport/stl/_threads.h:416: missing ';' before right brace
../stlport/stl/_threads.h:423: semicolon missing after declaration of
   `_STL::_Refcount_Base'
../stlport/stl/_threads.h:423: ISO C++ forbids defining types within return
   type
../stlport/stl/_threads.h:423: two or more data types in declaration of `
   _M_incr'
../stlport/stl/_threads.h:423: semicolon missing after declaration of
`struct
   _STL::_Refcount_Base'
../stlport/stl/_threads.h: In function `int _STL::_M_incr()':
../stlport/stl/_threads.h:424: `_M_mutex' undeclared (first use this
function)
../stlport/stl/_threads.h:425: `_M_ref_count' undeclared (first use this
   function)
../stlport/stl/_threads.h: At global scope:
../stlport/stl/_threads.h:468: syntax error before `(' token
../stlport/stl/_threads.h:470: ISO C++ forbids declaration of `__p' with no
   type
../stlport/stl/_threads.h:470: `__q' was not declared in this scope
../stlport/stl/_threads.h:471: parse error before `return'
../stlport/stl/_threads.h:483: syntax error before `&' token
../stlport/stl/_threads.h:485: parse error before `&' token
../stlport/stl/_threads.h:487: ISO C++ forbids defining types within return
   type
../stlport/stl/_threads.h:487: destructors must be member functions
../stlport/stl/_threads.h:487: return type specification for destructor
invalid
../stlport/stl/_threads.h: In function `void _STLP_auto_lock()':
../stlport/stl/_threads.h:487: `_M_lock' undeclared (first use this
function)
../stlport/stl/_threads.h: At global scope:
../stlport/stl/_threads.h:489: parse error before `private'
../stlport/stl/_threads.h:491: parse error before `&' token
../stlport/stl/_threads.h:491: ISO C++ forbids declaration of
`_STLP_auto_lock'

   with no type
In file included from ../stlport/stl/_threads.h:552,
                 from ../stlport/stl/_alloc.h:64,
                 from ../stlport/memory:28,
                 from dll_main.cpp:38:
../stlport/stl/_threads.c:98: parse error before `*' token
In file included from ../stlport/stl/_construct.h:43,
                 from ../stlport/stl/_alloc.h:68,
                 from ../stlport/memory:28,
                 from dll_main.cpp:38:
../stlport/stl/_iterator_base.h:50: parse error before `,' token
../stlport/stl/_iterator_base.h:54: template declaration of `typedef _Tp
   _STL::value_type'
../stlport/stl/_iterator_base.h:54: confused by earlier errors, bailing out
make.exe: *** [../lib/obj/DJGPP/Release/dll_main.o] Error 1

E:\C__PRO~1\STLPOR~1.5\src>gxx -v
Reading specs from D:/PROGRA~1/djgpp/bin/../lib/gcc-lib/djgpp/3.02/specs
Configured with: ../configure
i586-pc-msdosdjgpp --prefix=/dev/env/DJDIR --enabl
e-languages=c,c++,f77,objc --disable-nls
Thread model: single
gcc version 3.0.2
 D:/PROGRA~1/djgpp/bin/../lib/gcc-lib/djgpp/3.02/collect2.exe
d:/programme/djgpp
/lib/crt0.o -LD:/PROGRA~1/djgpp/bin/../lib/gcc-lib/djgpp/3.02 -LD:/PROGRA~1/
djgp
p/bin/../lib/gcc-lib -Ld:/programme/djgpp/lib -Ld:/programme/djgpp/lib/gcc-l
ib/d
jgpp/3.02 -Ld:/programme/djgpp/bin -Ld:/programme/djgpp/lib -LD:/PROGRA~1/dj
gpp/
bin/../lib/gcc-lib/djgpp/3.02/../../.. -Ld:/programme/djgpp/lib/gcc-lib/djgp
p/3.
02/../../.. -lstdcxx -lm -lgcc -lc -lgcc -Tdjgpp-x.djl
d:/programme/djgpp/lib/crt0.o(.data+0xc2):crt0.s: undefined reference to
`main'
d:/programme/djgpp/lib/libc.a(crt1.o)(.text+0x44e):crt1.c: undefined
reference t
o `main'
collect2: ld returned 1 exit status



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019