[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Change in network headers




Peter Mueller wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> - -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hello,
> 
> I thought it is time to switch to the latest snapshot now. I updated my
> bsp. Now I get the following error message when compiling my network
> driver:
> 
> m68k-rtems-gcc --pipe -B../../../../../../../lib/
> - - -B../../../../../../../efi332/lib/ -specs bsp_specs -qrtems
> - - -DHAVE_CONFIG_H        -mcpu32  -O4 -fomit-frame-pointer -g -Wall -ansi
> - - -fasm  -o o-optimize/cs8900.o -c
> ../../../../../../../../../c/src/lib/libbsp/m68k/efi332/cs8900/cs8900.c
> ../../../../../../../../../c/src/lib/libbsp/m68k/efi332/cs8900/cs8900.c:
> In function `cs8900_rx_refill_queue':
> ../../../../../../../../../c/src/lib/libbsp/m68k/efi332/cs8900/cs8900.c:5
> 25: `mmbfree' undeclared (first use in this function)
> ../../../../../../../../../c/src/lib/libbsp/m68k/efi332/cs8900/cs8900.c:5
> 25: (Each undeclared identifier is reported only once
> ../../../../../../../../../c/src/lib/libbsp/m68k/efi332/cs8900/cs8900.c:5
> 25: for each function it appears in.)
> ../../../../../../../../../c/src/lib/libbsp/m68k/efi332/cs8900/cs8900.c:5
> 25: warning: implicit declaration of function `m_mballoc'
> ../../../../../../../../../c/src/lib/libbsp/m68k/efi332/cs8900/cs8900.c:5
> 25: `mbstat' undeclared (first use in this function)
> 
> Line 525 looks like this:
> MGETHDR (m, M_DONTWAIT, MT_DATA);
> 
> Are there any changes in the network headers?

Not that I think would break this.  Aren't you supposed to define an
extra macro when compiling network drivers.  I don't see it above.

AM_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__


> Thanks,
> Peter
> 
> - - --
> - -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (GNU/Linux)
> 
> iD8DBQE+W932UzCcwYQMTJoRAthOAJ91aSYebz5m3hQFItPtSTaLnNPDEQCfZF6x
> +j0NaGSOyKM4NcT8kvv+VeA=
> =aqbg
> - -----END PGP SIGNATURE-----
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (GNU/Linux)
> 
> iD4DBQE+XQuvUzCcwYQMTJoRAvdtAJ4q6/XwIYSmz2f/N7KCCrI3+5SNtACSA2AD
> arkw2YLoWfjqB6Q2XzLKoA==
> =vhpf
> -----END PGP SIGNATURE-----