Poorna chander.P
Newbie level 2
Hello Everyone,
Presently iam working on arm integrator board, iam developing an application program to my serial driver in eCos.When iam compiling and linking this application program using make command in cygwin tool, iam getting a linking error.
Iam calling these below functions from my application program, and all these functions are defined in my integrator_serial_driver.
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
Presently iam working on arm integrator board, iam developing an application program to my serial driver in eCos.When iam compiling and linking this application program using make command in cygwin tool, iam getting a linking error.
Iam calling these below functions from my application program, and all these functions are defined in my integrator_serial_driver.
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