Date: Mon, 22 Jun 1992 00:56:08 -0500 From: Stuart M Lichtenthal To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: .c files using When I try to compile the file work.c which requires the math library, I get the error work.o: Undefined symbol _log referenced from text segment. However, the autoexec.bat contains the lines: set C_INCLUDE_PATH=c:/djgpp/include set CPLUS_INCLUDE_PATH=c:/djgpp/cplusinc;c:/djgpp/include set OBJC_INCLUDE_PATH=c:/djgpp/include set OBJCPLUS_INCLUDE_PATH=c:/djgpp/include set LIBRARY_PATH=c:/djgpp/lib I get the above error statement using: gcc -O -lm work.c -o work I am sure that #include is in the file work.c. Stuart Lichtenthal smlg1015 AT uxa DOT cso DOT uiuc DOT edu