From: Bandan D. <ba...@zo...> - 2005-07-09 05:58:38
|
Hi! I am trying to cross compile libupnp-1.2.1 for a device running arm processor with uclinux. For this I first source the paths required by issuing the following command : source $DIR/path.sh and then run : cd libupnp-1.2.1/upnp make TARGET=arm-elf I get a lot of error messages about undefined reference as below : ----------------------------------------------------------------------------------------------------------- obj/arm-elf/ixml.o: In function `copy_with_escape': obj/arm-elf/ixml.o(.text+0x24): undefined reference to `strlen' obj/arm-elf/ixml.o: In function `ixmlParseBufferEx': obj/arm-elf/ixml.o(.text+0x830): undefined reference to `strlen' obj/arm-elf/ixml.o: In function `ixmlCloneDOMString': obj/arm-elf/ixml.o(.text+0x898): undefined reference to `strdup' obj/arm-elf/ixml.o: In function `ixmlFreeDOMString': obj/arm-elf/ixml.o(.text+0x8b4): undefined reference to `free' obj/arm-elf/node.o: In function `ixmlNode_init': obj/arm-elf/node.o(.text+0x14): undefined reference to `memset' obj/arm-elf/node.o: In function `ixmlCDATASection_init': obj/arm-elf/node.o(.text+0x30): undefined reference to `memset' obj/arm-elf/node.o: In function `ixmlNode_freeSingleNode': obj/arm-elf/node.o(.text+0x74): undefined reference to `free' obj/arm-elf/node.o(.text+0x84): undefined reference to `free' obj/arm-elf/node.o(.text+0x94): undefined reference to `free' obj/arm-elf/node.o(.text+0xa4): undefined reference to `free' obj/arm-elf/node.o(.text+0xb4): undefined reference to `free' obj/arm-elf/node.o(.text+0xc8): more undefined references to `free' follow obj/arm-elf/node.o: In function `ixmlNode_setNamespaceURI': ------------------------------------------------------------------------------------------------------------ Can anyone help me out with this? Ofcourse I have been able to cross compile other applications using the other method. Thanks Bandan |