To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: libc and include files? Date: Wed, 24 Aug 1994 10:52:22 PDT From: "Marty Leisner" I think I have everything up to date... (using maintaince 1, I know can work on XMS and DPMI) I had a problem making libc, which to me indicates the include files/libc are not the same... I wanted to make a library with symbols... I also rewrote a makefile (instead of configuring the makefile, I'm using the $(wildcard function) gcc -c -g -o /libgcc/debug/fread.o io/fread.c io/fread.c: In function `fread': io/fread.c:23: argument `size' doesn't match prototype /gnu/include/stdio.h:105: prototype declaration io/fread.c:23: argument `count' doesn't match prototype /gnu/include/stdio.h:105: prototype declaration make.exe: *** [/libgcc/debug/fread.o] Error 1 gcc -c -g -o /libgcc/debug/fwrite.o io/fwrite.c io/fwrite.c: In function `fwrite': io/fwrite.c:23: argument `size' doesn't match prototype /gnu/include/stdio.h:110: prototype declaration io/fwrite.c:23: argument `count' doesn't match prototype /gnu/include/stdio.h:110: prototype declaration make.exe: *** [/libgcc/debug/fwrite.o] Error 1 Here's one I never saw before: -c -g -o /libgcc/debug/stdio.o io/stdio.c Fatal! no memory to copy arguments (max 1000, wanted -21346) make.exe: *** [/libgcc/debug/stdio.o] Error 1 dos/exec.c: At top level: dos/exec.c:443: conflicting types for `spawnvpe' /gnu/include/process.h:26: previous declaration of `spawnvpe' make.exe: *** [/libgcc/debug/exec.o] Error 1 gcc -c -g -o /libgcc/debug/setenv.o lib/setenv.c lib/setenv.c: In function `setenv': lib/setenv.c:40: argument `name' doesn't match prototype /gnu/include/djgppstd.h:188: prototype declaration lib/setenv.c:40: argument `value' doesn't match prototype /gnu/include/djgppstd.h:188: prototype declaration lib/setenv.c: In function `unsetenv': lib/setenv.c:97: argument `name' doesn't match prototype /gnu/include/djgppstd.h:255: prototype declaration lib/setenv.c:102: warning: type mismatch with previous external decl lib/setenv.c:45: warning: previous external decl of `_findenv' make.exe: *** [/libgcc/debug/setenv.o] Error 1 gcc -c -g -o /libgcc/debug/strsep.o str/strsep.c str/strsep.c: In function `strsep': str/strsep.c:49: argument `delim' doesn't match prototype /gnu/include/string.h:18: prototype declaration make.exe: *** [/libgcc/debug/strsep.o] Error 1 I ran make -k to get all this information... 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