Mail Archives: cygwin/1998/03/05/11:43:40
Greping through the include directories, I see that sys/unistd.h
declares truncate(), but greping through the lib directories, I
don't see any definition for it.
Sure enough, the gcc linker can't seem to find it. Here's my
attempt to build part of the msql package:
gcc -O -I../ -DHAVE_CONFIG_H -DHAVE_SSIZE_T -DHAVE_U_INT
-I../lang-common -DHAVE_DYNAMIC mod_lite.o
../lang-common/mod_std.o ../lang-common/mod_msql.o lite.o
lite_lex.o modules.o ../lang-common/liblite.a ../msql/libmsql.a
../regexp/libreg exp.a -o lite -L../lib
.../lang-common/mod_std.o(.text+0x17ff):mod_std.c: undefined reference
to `truncate'
Suggestions?
--norm
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -