This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
goAhead compiler error
- From: "J Jordaan" <jjordaan at sun dot ac dot za>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 15 Apr 2004 16:29:39 +0200
- Subject: [ECOS] goAhead compiler error
Hi all
I've been trying to compile the goAhead 2.18 webserver to an eCos platform,
but I can't get past a couple of errors. I've included files in the uemf.h,
webcom.c, page.c files that was needed. I don't know if my link line is
correct. This is the error I get:
arm-elf-gcc -o
webcomp -lsupc++ -nostartfiles -L/cygdrive/c/Work/ecos/goAhead001/ecos001/e
cos_install/lib -Wl,--gc-sections -Ttarget.ld -nostdlib -O2 -DWEBS -DUEMF -
DOS="eCos" -DECOS -D__ECOS -I/cygdrive/c/Work/ecos/goAhead001/ecos001/ecos_
install/include -I.. ../webcomp.c
../webcomp.c: In fuction 'compile':
../webcomp.c:73: storage size of 'sbuf' isn't known
../webcomp.c:111: 'S_IFDIR' undeclared (first use in this function)
../webcomp.c:124: warning : comparison of distinct pointer types lacks a
cast
make: *** [webcomp] Error 1
Does anybody please have some suggestions?
Best regards
Jacques
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss