Makefile for network apps

Peter Mueller peter.o.mueller at gmx.de
Wed Nov 8 16:14:21 UTC 2000


Hi,

I finally got my 332 based bsp with networking enabled built. We do not
have  the real hardware now, but I want to see the driver attach function
called.

I start with the netdemos/netdemo example, but was not able to built it.
There were strange messages (copy old lib ...). When I use the Makefile
(attached) I got the following error message. Could anyone have a look at both to
find out my error. Are there any special settings, libs ... required?

Thank you, Peter

[pmueller at dei4linux1 nettest]$ make debug
make -f Makefile MAKEFILE=Makefile "ARCH=o-debug" \
      "CFLAGS_DEBUG=-Wno-unused -qrtems_debug" \
      "CFLAGS_OPTIMIZE=-O4 -fomit-frame-pointer" \
      "LDFLAGS_DEBUG=" all
make[1]: Entering directory `/home/pmueller/develop/pecos/nettest'
test -d o-debug || mkdir o-debug
/opt/rtems/bin/m68k-rtems-gcc --pipe -B/usr/local//efi332/lib/ -specs
bsp_specs -qrtems -g -Wall -ansi -fasm  -O4 -fomit-frame-pointer -Wno-unused
-qrtems_debug    -mcpu32     -c   -o o-debug/init.o init.c
In file included from init.c:43:
networkconfig.h:77: warning: initialization from incompatible pointer type
/opt/rtems/bin/m68k-rtems-gcc --pipe -B/usr/local//efi332/lib/ -specs
bsp_specs -qrtems -g -Wall -ansi -fasm  -O4 -fomit-frame-pointer -Wno-unused
-qrtems_debug    -mcpu32     -c   -o o-debug/test.o test.c
/opt/rtems/bin/m68k-rtems-gcc --pipe -B/usr/local//efi332/lib/ -specs
bsp_specs -qrtems -g -Wall -ansi -fasm  -O4 -fomit-frame-pointer -Wno-unused
-qrtems_debug    -mcpu32      -L /usr/local//efi332/lib    -o
o-debug/nettest.nxe  o-debug/init.o o-debug/test.o   /usr/local//efi332/lib/no-dpmem_g.rel
/usr/local//efi332/lib/no-mp_g.rel /usr/local//efi332/lib/no-part_g.rel
/usr/local//efi332/lib/no-signal_g.rel -lnetworking    
collect2: ld returned 1 exit status
make[1]: *** [o-debug/nettest] Error 1
make[1]: Leaving directory `/home/pmueller/develop/pecos/nettest'
make: *** [debug] Error 2

-- 
Sent through GMX FreeMail - http://www.gmx.net
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Makefile
URL: <http://lists.rtems.org/pipermail/users/attachments/20001108/2c470999/attachment.ksh>


More information about the users mailing list