To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: making libc.i on unix Date: Thu, 18 Aug 1994 07:05:34 PDT From: "Marty Leisner" I'm not a C++ programmer (but had no prbolem making groff). Anyway, in the docs/djgpp directory, I typed make.. I'm using a sun runnign gcc2.4.5 and gcc 2.6.0 Here's what happened: leisner AT earthquake$ make CC=gcc260 gcc -O2 makeref.cc -o makeref In file included from makeref.cc:2: /usr/gnu/lib/g++-include/string.h:28: declaration of `int strlen (const char *)' :0: conflicts with built-in declaration `long unsigned int strlen (const char *)' makeref.cc: In method `Node::Node (char *, char *)': makeref.cc:50: warning: implicit declaration of function `strlwr' make: *** [makeref] Error 1 I tried to do gcc -fno-builtin, but gcc is hardcoded.. Use $(CC) for the C compiler Now I get: make CC='g++ -fno-builtin ' g++ -fno-builtin -O2 makeref.cc -o makeref makeref.cc: In method `Node::Node (char *, char *)': makeref.cc:50: warning: implicit declaration of function `strlwr' ld: Undefined symbol _strlwr collect: ld returned 2 exit status make: *** [makeref] Error 1 BTW -- I had to move docs/djgpp/dir up one level to docs... marty Member of the League of Programming Freedom leisner AT sdsp DOT mc DOT xerox DOT com leisner AT eso DOT mc DOT xerox DOT com