[uClinux-dev] mDNSResponder (bonjour) in 2.6.19 on coldfire

Rob Brown rob at livewire.co.uk
Mon Oct 22 09:18:52 EDT 2007


Hi All,

I'm new to uC so please bear with me.... I'm trying to get mDNSResponder 
(bonjour) running under uClinux 2.6.x
I have a wildfire 5282 board
I have unpacked mDNSResponder-107.6.tar.gz, and inserted it into the 
'user' dir in my toolchain.
I changed the makefile slightly to removed JAVA references etc, but 
cannot get it to compile.
The error thrown is a compile time sizeof() check between 2 structures
I can compile this using the non-toolchain compiler (uses diff set of flags)

here is the compile output

make[3]: Leaving directory 
`/space/wildfire/uClinux-dist-intec-wildfire-2.6.19/user/init'
[ ! -d "mdnsresponder" ] || ( touch mdnsresponder/.sgbuilt_user && make 
-j1 -C mdnsresponder ) || exit $?
make[3]: Entering directory 
`/space/wildfire/uClinux-dist-intec-wildfire-2.6.19/user/mdnsresponder'
for i in mDNSPosix ; do make -C $i all || exit ; done
make[4]: Entering directory 
`/space/wildfire/uClinux-dist-intec-wildfire-2.6.19/user/mdnsresponder/mDNSPosix'
ucfront-gcc m68k-elf-gcc -m5307 -DCONFIG_COLDFIRE -I. -I../mDNSCore 
-I../mDNSShared -DNOT_HAVE_SA_LEN -DUSES_NETLINK -DHAVE_LINUX -Os 
-DMDNS_DEBUGMSGS=0  -c -o objects/prod/PosixDaemon.c.o PosixDaemon.c
In file included from PosixDaemon.c:130:
../mDNSCore/mDNSEmbeddedAPI.h:2840: error: size of array 'assertC' is 
negative
make[4]: *** [objects/prod/PosixDaemon.c.o] Error 1
make[4]: Leaving directory 
`/space/wildfire/uClinux-dist-intec-wildfire-2.6.19/user/mdnsresponder/mDNSPosix'
make[3]: *** [all] Error 2
make[3]: Leaving directory 
`/space/wildfire/uClinux-dist-intec-wildfire-2.6.19/user/mdnsresponder'
make[2]: *** [mdnsresponder] Error 2
make[2]: Leaving directory 
`/space/wildfire/uClinux-dist-intec-wildfire-2.6.19/user'
make[1]: *** [all] Error 2
make[1]: Leaving directory 
`/space/wildfire/uClinux-dist-intec-wildfire-2.6.19/user'
make: *** [subdirs] Error 1


has anybody come up against this one before?

any info appreciated ....

thanks
---rob


More information about the uClinux-dev mailing list