03-09-2005, 05:12 PM
Hello,
I tried to compile rtlib (from cvs) with devcpp. All the files in the directory src/rtlib are compiled but it stopped with the first *.c file in src/rtlib/win32 with the following message:
Then I changed the make file in line 24:to:
This way it compiled without an error!
cu, helpy
I tried to compile rtlib (from cvs) with devcpp. All the files in the directory src/rtlib are compiled but it stopped with the first *.c file in src/rtlib/win32 with the following message:
Code:
...
gcc -c -O3 -I ./ -DTARGET_WIN32 -DTARGET_X86 libfb_time_timeset.c -o obj/win32/libfb_time_timeset.o
gcc -c -O3 -I ./ -DTARGET_WIN32 -DTARGET_X86 win32/libfb_file_dir.c -o obj/win32/libfb_file_dir.o
win32/libfb_file_dir.c:32:16: fb.h: No such file or directory
win32/libfb_file_dir.c:77: error: syntax error before "FBSTRING"
win32/libfb_file_dir.c:77: error: syntax error before '*' token
win32/libfb_file_dir.c: In function `fb_Dir':
win32/libfb_file_dir.c:79: error: `FBSTRING' undeclared (first use in this function)
win32/libfb_file_dir.c:79: error: (Each undeclared identifier is reported only once
win32/libfb_file_dir.c:79: error: for each function it appears in.)
win32/libfb_file_dir.c:79: error: `res' undeclared (first use in this function)
win32/libfb_file_dir.c:83: error: `filespec' undeclared (first use in this function)
win32/libfb_file_dir.c:96: error: `attrib' undeclared (first use in this function)
win32/libfb_file_dir.c:110: error: `fb_strNullDesc' undeclared (first use in this function)
win32/libfb_file_dir.c:118: error: syntax error before ')' token
make: *** [obj/win32/libfb_file_dir.o] Error 1
Then I changed the make file in line 24:
Code:
CFLAGS := -O3 -I ./
Code:
CFLAGS := -O3 -I .
This way it compiled without an error!
cu, helpy