[ECOS] Problems in building the GoAhead webserver with eCos

Stefan Rosinger a_jedi_night4u@gmx.at
Fri Dec 10 09:54:00 GMT 2004


Hi All!

I want to build the GoAhead Webserver with my eCos library.
I selected the NET template (FreeBSD) with a custom PowerPC 405 board.

I tested the FreeBSD stack. It worked fine.

If i do the make i get the following message:

$ make
powerpc-eabi-gcc -c -o main.o -D_KERNEL -msoft-float -mcpu=405 -g  
-Wa,-m405 -Wall -Wpointer-arit
h -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2  
-ffunction-sections -fdata-se
ctions -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -g -Wall -O2  
-DWEBS -DUEMF -DWEBS_P
AGE_ROM -DOS="eCos" -DECOS -D__ECOS -D__NO_FCNTL=1 -I.. -D_KERNEL -Wall  
-I/ecos-e/eCos/config/mi
_board_ram/install/include -ffunction-sections -fdata-sections  
-Wp,-MD,main.d main.c
In file included from main.c:20:
../uemf.h:873: warning: function declaration isn't a prototype
../uemf.h:953: warning: function declaration isn't a prototype
../uemf.h:954: warning: function declaration isn't a prototype
../uemf.h:1009: warning: function declaration isn't a prototype
../uemf.h:1021: warning: function declaration isn't a prototype
../uemf.h:1036: warning: function declaration isn't a prototype
../uemf.h:1055: warning: function declaration isn't a prototype
../uemf.h:1056: warning: function declaration isn't a prototype
../uemf.h:1071: warning: function declaration isn't a prototype
../uemf.h:1078: warning: function declaration isn't a prototype
../uemf.h:1079: warning: function declaration isn't a prototype
../uemf.h:1080: warning: function declaration isn't a prototype
../uemf.h:1087: warning: function declaration isn't a prototype
../uemf.h:1089: warning: function declaration isn't a prototype
In file included from ../wsIntrn.h:129,
                  from main.c:21:
../webs.h:139: warning: function declaration isn't a prototype
../webs.h:150: warning: function declaration isn't a prototype
../webs.h:151: warning: function declaration isn't a prototype
../webs.h:152: warning: function declaration isn't a prototype
../webs.h:153: warning: function declaration isn't a prototype
../webs.h:154: warning: function declaration isn't a prototype
../webs.h:155: warning: function declaration isn't a prototype
../webs.h:157: warning: function declaration isn't a prototype
../webs.h:176: warning: function declaration isn't a prototype
In file included from main.c:21:
../wsIntrn.h:241: warning: function declaration isn't a prototype
../wsIntrn.h:242: warning: function declaration isn't a prototype
../wsIntrn.h:243: warning: function declaration isn't a prototype
../wsIntrn.h:244: warning: function declaration isn't a prototype
../wsIntrn.h:246: warning: function declaration isn't a prototype
../wsIntrn.h:254: warning: function declaration isn't a prototype
../wsIntrn.h:256: warning: function declaration isn't a prototype
../wsIntrn.h:272: warning: function declaration isn't a prototype
../wsIntrn.h:273: warning: function declaration isn't a prototype
../wsIntrn.h:284: warning: function declaration isn't a prototype
../wsIntrn.h:285: warning: function declaration isn't a prototype
../wsIntrn.h:287: warning: function declaration isn't a prototype
main.c:37: warning: function declaration isn't a prototype
main.c:98: warning: function declaration isn't a prototype
main.c:252: conflicting types for `send'
/ecos-e/eCos/config/mi_board_ram/install/include/sys/socket.h:466:  
previous declaration of `send
'
main.c:257: conflicting types for `recv'
/ecos-e/eCos/config/mi_board_ram/install/include/sys/socket.h:463:  
previous declaration of `recv
'
make: *** [main.o] Error 1


What could I do wrong here. The socket.h file says that send and recv are  
only compiled if !_KERNEL is defined.
Whats about the warnings about the prototypes? Have they to be resolved?  
If yes, how?

Any help would be appreciated!

PS. Where can I find help for the building of the GoAhead Webserver?

Thx
Stefan
-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list