Hello Everybody, I am trying to compile and link an application with m68k-elf-gcc compiler for coldfore MCF5282, but getting linking error. Here is how I am compiling and linking : m68k-elf-gcc -I. -I/home/sans/delnetMFC5280/MAC/802.15.4/mcf5282_802154/src/vb_zigbee_platform/Interface -I/home/sans/delnetMFC5280/MAC/802.15.4/mcf5282_802154/src/common -I/home/sans/delnetMFC5280/MAC/802.15.4/mcf5282_802154/src/cpu -I/home/sans/delnetMFC5280/MAC/802.15.4/mcf5282_802154/src/drivers/clock -I/home/sans/delnetMFC5280/MAC/802.15.4/mcf5282_802154/src/drivers/uart -I/home/sans/delnetMFC5280/MAC/802.15.4/mcf5282_802154/src/cpu/headers
-I/home/sans/delnetMFC5280/MAC/802.15.4/mcf5282_802154/src/platforms/m5282evb -I/home/sans/delnetMFC5280/MAC/802.15.4/mcf5282_802154/src/vb_zigbee_macphy/Source/Interface -g -Wall -m5307 -Wl,-elf2flt -Os main.c -o pgm -L/home/sans/delnetMFC5280/MAC/802.15.4/mcf5282_802154/src/vb_zigbee_macphy/Source -lc -lM5282_802154_Type_FFD.a Result of compilation: /usr/local/m68k-elf/bin/ld.real: cannot find -lM5282_802154_Type_FFD.a collect2: ld returned 1 exit status Please note that M5282_802154_Type_FFD.a is in directory "/home/sans/delnetMFC5280/MAC/802.15.4/mcf5282_802154/src/vb_zigbee_macphy/Source" and I am specifying Library directory name with -L(-L/home/sans/delnetMFC5280/MAC/802.15.4/mcf5282_802154/src/vb_zigbee_macphy/Source) option and library name with -l(-lM5282_802154_Type_FFD.a) Then why error m68k-elf/bin/ld.real: cannot find -lM5282_802154_Type_FFD.a and how to fix it? Regards: Santosh Dwivedi __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev