Community
cancel
Showing results for 
Search instead for 
Did you mean: 
veni
Beginner
53 Views

getting linker error when compiled in Marvell IDE

when I compile individual file compiling without error, When I build the whole project I am getting error like this,

LDXSC-E-ERROR[501]:.\xllp_ethernet.o:symbol DM_CwDbgPrintf: referenced but not defined
LDXSC-E-ERROR[501]:.\Network.o:symbol strcpy: referenced but not defined
LDXSC-E-ERROR[501]:.\Network.o:symbol strtok: referenced but not defined
LDXSC-E-ERROR[501]:.\Network.o:symbol sscanf: referenced but not defined
LDXSC-E-ERROR[501]:.\Network.o:symbol DM_ErrPrintf: referenced but not defined
LDXSC-E-ERROR[501]:.\Network.o:symbol XllpUtilityOutputError: referenced but not defined
LDXSC-E-ERROR[501]:.\Network.o:symbol strcmp: referenced but not defined
LDXSC-E-ERROR[501]:.\Network.o:symbol XllpEthernetTraceEnable: referenced but not defined
LDXSC-E-ERROR[501]:.\Network.o:symbol XllpEthernetErrorEnable: referenced but not defined
LDXSC-E-ERROR[501]:.\Network.o:symbol DM_StopTest: referenced but not defined
LDXSC-E-ERROR[501]:.\Network.o:symbol DM_AnyKeyToContinue: referenced but not defined
LDXSC-E-ERROR[501]:.\Network.o:symbol ModifyBoardInterruptMaskRegister: referenced but not defined
LDXSC-E-ERROR[501]:.\Network.o:symbol ModifyBoardInterruptSetRegister: referenced but not defined
LDXSC-E-ERROR[501]:.\xllp_ethernet.o:symbol printf: referenced but not defined
LDXSC-E-ERROR[501]:.\Network.o:symbol PostDisplayProgress: referenced but not defined
LDXSC-E-ERROR[501]:.\xllp_ethernet.o:symbol memset: referenced but not defined
LDXSC-E-ERROR[501]:.\Network.o:symbol memcpy: referenced but not defined
LDXSC-E-ERROR[501]:.\Network.o:symbol DM_WaitMs: referenced but not defined
LDXSC-E-ERROR[501]:.\Network.o:symbol strncpy: referenced but not defined
LDXSC-E-ERROR[501]:.\Network.o:symbol BoardIcRegisterHandler: referenced but not defined
LDXSC-E-ERROR[501]:.\Network.o:symbol BoardIcEnableInt: referenced but not defined
LDXSC-E-ERROR[501]:.\Network.o:symbol BoardIcUnRegisterHandler: referenced but not defined
LDXSC-E-ERROR[501]:.\Network.o:symbol BoardIcDisableInt: referenced but not defined
LDXSC-E-ERROR[501]:.\Network.o:symbol __intel_memcpy: referenced but not defined
LDXSC-E-ERROR[501]:.\Network.o:symbol inet_open: referenced but not defined
LDXSC-E-ERROR[501]:.\Network.o:symbol dhcp_serverLoop: referenced but not defined
LDXSC-E-ERROR[501]:.\Network.o:symbol inet_close: referenced but not defined
LDXSC-E-ERROR[501]:.\Network.o:symbol DP8390_Context: referenced but not defined
LDXSC-E-ERROR[501]:.\Network.o:symbol DM_WaitUs: referenced but not defined
LDXSC-E-ERROR[501]:.\xllp_ethernet.o:symbol LOGERROR: referenced but not defined
LDXSC-E-ERROR[501]:.\xllp_ethernet.o:symbol __intel_imod: referenced but not defined
LDXSC-E-ERROR[501]:.\xllp_ethernet.o:symbol XllpOstDelayMicroSeconds: referenced but not defined

Kindly help me
0 Kudos
2 Replies
TimP
Black Belt
53 Views

As the experts on this work for Marvell, you may not get much help here, beyond the obvious, that you haven't linked in the run-time library. If you invoke a linker directly, rather than by the compiler driver, you have the responsibility for finding out and specifying those libraries.
JenniferJ
Moderator
53 Views

Tim's right. You need to add the necessary library directory and lib files to the linker.

Jennifer

Reply