Date: Fri, 10 Feb 1995 19:42:07 -0500 (EST) From: "Saleh M. Jamil" To: djgpp mailing list Subject: compiling djgpp contrib sources Hello, I have been trying to compile the contrib source files that were installed with djgpp. I tried to compile the sblaster, windows, and windows test source files with djgpp's make, but I am allways getting errors. Attached is a screen capture of the errors. Thanks in advance, Saleh Script V1.1 session started Fri Feb 10 19:39:24 1995 gcc -O -Iinc -c src/basewin.cc -o objs/basewin.o In file included from inc/aedef.h:35, from inc/w.h:20, from src/basewin.cc:17: inc/aecc.h:61: declaration of C function `int atexit(void (*)(...))' conflicts with e:/djgpp/include/djgppstd.h:63: previous declaration `int atexit(void (*)())' here inc/aecc.h:61: conflicting types for `int atexit(void (*)(...))' e:/djgpp/include/djgppstd.h:63: previous declaration as `int atexit(void (*)())' inc/attrmap.h: In method `void attribmap::setmap(unsigned char *, int = MAPSIZE)': In file included from inc/w.h:27, from src/basewin.cc:17: inc/attrmap.h:36: call of overloaded `min' is ambiguous inc/aedef.h:79: candidates are: min(short int, short int) inc/aedef.h:76: min(long int, long int) Segmentation violation in pointer 0x00000405 at d8:50544 eax=00000401 ebx=00187e30 ecx=00187e30 edx=00187e30 esi=00172660 edi=0018b400 ebp=7ffff648 esp=7ffff620 cs=d8 ds=48 es=48 fs=48 gs=38 ss=48 cr2=00000405 Call frame traceback EIPs: 0x00050544 0x0004ff72 0x000500fc 0x0004fb17 0x000492c9 0x00071ddb 0x000768f2 make.exe: *** [objs/basewin.o] Error 1 Script completed Fri Feb 10 19:39:29 1995 Script V1.1 session started Fri Feb 10 19:40:08 1995 gcc -O -I../inc -c test.cc In file included from ../inc/aedef.h:35, from ../inc/w.h:20, from test.cc:1: ../inc/aecc.h:61: declaration of C function `int atexit(void (*)(...))' conflicts with e:/djgpp/include/djgppstd.h:63: previous declaration `int atexit(void (*)())' here ../inc/aecc.h:61: conflicting types for `int atexit(void (*)(...))' e:/djgpp/include/djgppstd.h:63: previous declaration as `int atexit(void (*)())' ../inc/attrmap.h: In method `void attribmap::setmap(unsigned char *, int = MAPSIZE)': In file included from ../inc/w.h:27, from test.cc:1: ../inc/attrmap.h:36: call of overloaded `min' is ambiguous ../inc/aedef.h:79: candidates are: min(short int, short int) ../inc/aedef.h:76: min(long int, long int) Segmentation violation in pointer 0x00000405 at d8:50544 eax=00000401 ebx=00187e30 ecx=00187e30 edx=00187e30 esi=00172660 edi=0018b400 ebp=7ffff64c esp=7ffff624 cs=d8 ds=48 es=48 fs=48 gs=38 ss=48 cr2=00000405 Call frame traceback EIPs: 0x00050544 0x0004ff72 0x000500fc 0x0004fb17 0x000492c9 0x00071ddb 0x000768f2 make.exe: *** [test.o] Error 1 Script completed Fri Feb 10 19:40:13 1995