Forums

Linker problem

Started by Poornachander Pathipaka September 14, 2006
Hello Everyone,
Presently iam working on arm Processor( integrator board-940),in eCos(Embedded configurable operating system). iam developing an application program to my serial driver.When iam compiling and linking this application program using make command in cygwin tool, iam getting a linking error.
Iam calling functions related to serial driver from my application,But iam getting the below linking error.

test.o: In function `simple_test':
test.o(.text.simple_test+0x70): undefined reference to `integrator_serial_init'
test.o(.text.simple_test+0x78): undefined reference to `integrator_serial_start_
xmit'
test.o(.text.simple_test+0x88): undefined reference to `integrator_serial_putc'
test.o(.text.simple_test+0x90): undefined reference to `integrator_serial_getc'
test.o(.text.simple_test+0x9c): undefined reference to `tab'
collect2: ld returned 1 exit status
make: *** [test] Error 1

This shows that serial driver is not linking to my application program,
Please give a solution .........advance thanks

---------------------------------

Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW

An Engineer's Guide to the LPC2100 Series