error compiling newlisp

Started by Maurizio, July 27, 2007, 08:28:10 AM

Previous topic - Next topic

Maurizio

It's the first time i'm trying to compile NewLisp (newlisp-9.1.10)

I've mingw installed in c:mingw

so I modified makefile_mingw to adjust the paths.

then I started make :

this is the error:

any suggestion ?

regards

Maurizio



D:TempNEWLIS~1.10>make mingw

make -f makefile_mingw

make[1]: Entering directory `D:/Temp/NEWLIS~1.10'

c:/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -g -DWIN_32 newlisp.c

newlisp.c: In function `getToken':

newlisp.c:2887: warning: implicit declaration of function `lseek64'

c:/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -g -DWIN_32 nl-symbol.c

c:/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -g -DWIN_32 nl-math.c

nl-math.c: In function `functionFloat':

nl-math.c:396: warning: implicit declaration of function `asinh'

nl-math.c:397: warning: implicit declaration of function `acosh'

nl-math.c:398: warning: implicit declaration of function `atanh'

c:/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -g -DWIN_32 nl-list.c

c:/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -g -DWIN_32 nl-liststr.c

c:/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -g -DWIN_32 nl-string.c

nl-string.c: In function `p_search':

nl-string.c:78: `off64_t' undeclared (first use in this function)

nl-string.c:78: (Each undeclared identifier is reported only once

nl-string.c:78: for each function it appears in.)

nl-string.c:78: parse error before "filePosition"

nl-string.c:102: `filePosition' undeclared (first use in this function)

nl-string.c:102: warning: implicit declaration of function `lseek64'

nl-string.c:105: `foundPosition' undeclared (first use in this function)

make[1]: *** [nl-string.o] Error 1

make[1]: Leaving directory `D:/Temp/NEWLIS~1.10'

make: *** [mingw] Error 2

m35

#1
Hi Maurizio, I've been meaning to respond. What version of MinGW/w32api are you using? I've always been able to compile newlisp without editing the makefile. Are the necessary #include directories accessible?