Hello every one,
I have an a smart card application which is running perfectly in the kernel. But , now i have patched the same application in the u-boot level u-boot-2010.06-psp04.02.00.07. but i am getting the following error's and we are using it with the UART4 .can any suggest me ...Should i have to call the open function call from my application to open the open and set the attributes or it will be set by default or i have to directly call my smart card init.Because in kernel they are using the IOCTL and so on ... but where as it doesn't support in my u-boot can any one please suggest how to do.
undefined reference to `scanf'
board/ti/evm/libevm.a(pccidApp.o): In function `sc_main':
/home/dataway/Desktop/smartcard_uboot/ti-sdk-am37x-evm/psp/u-boot-2010.06-psp04.02.00.07.sdk/board/ti/evm/pccidApp.c:312: undefined reference to `usleep'
/home/dataway/Desktop/smartcard_uboot/ti-sdk-am37x-evm/psp/u-boot-2010.06-psp04.02.00.07.sdk/board/ti/evm/pccidApp.c:329: undefined reference to `scanf'
board/ti/evm/libevm.a(slip.o): In function `closeSerialPort':
/home/dataway/Desktop/smartcard_uboot/ti-sdk-am37x-evm/psp/u-boot-2010.06-psp04.02.00.07.sdk/board/ti/evm/slip.c:421: undefined reference to `tcsetattr'
/home/dataway/Desktop/smartcard_uboot/ti-sdk-am37x-evm/psp/u-boot-2010.06-psp04.02.00.07.sdk/board/ti/evm/slip.c:423: undefined reference to `fclose'
board/ti/evm/libevm.a(slip.o): In function `getBaudRate':
/home/dataway/Desktop/smartcard_uboot/ti-sdk-am37x-evm/psp/u-boot-2010.06-psp04.02.00.07.sdk/board/ti/evm/slip.c:297: undefined reference to `tcgetattr'
board/ti/evm/libevm.a(slip.o): In function `setPortAttribs':
/home/dataway/Desktop/smartcard_uboot/ti-sdk-am37x-evm/psp/u-boot-2010.06-psp04.02.00.07.sdk/board/ti/evm/slip.c:317: undefined reference to `cfsetispeed'
/home/dataway/Desktop/smartcard_uboot/ti-sdk-am37x-evm/psp/u-boot-2010.06-psp04.02.00.07.sdk/board/ti/evm/slip.c:318: undefined reference to `cfsetospeed'
/home/dataway/Desktop/smartcard_uboot/ti-sdk-am37x-evm/psp/u-boot-2010.06-psp04.02.00.07.sdk/board/ti/evm/slip.c:328: undefined reference to `tcsetattr'
board/ti/evm/libevm.a(slip.o): In function `initSerialPort':
/home/dataway/Desktop/smartcard_uboot/ti-sdk-am37x-evm/psp/u-boot-2010.06-psp04.02.00.07.sdk/board/ti/evm/slip.c:365: undefined reference to `fopen'
/home/dataway/Desktop/smartcard_uboot/ti-sdk-am37x-evm/psp/u-boot-2010.06-psp04.02.00.07.sdk/board/ti/evm/slip.c:377: undefined reference to `tcgetattr'
/home/dataway/Desktop/smartcard_uboot/ti-sdk-am37x-evm/psp/u-boot-2010.06-psp04.02.00.07.sdk/board/ti/evm/slip.c:397: undefined reference to `tcflush'
board/ti/evm/libevm.a(slip.o): In function `SendByte':
/home/dataway/Desktop/smartcard_uboot/ti-sdk-am37x-evm/psp/u-boot-2010.06-psp04.02.00.07.sdk/board/ti/evm/slip.c:263: undefined reference to `write'
board/ti/evm/libevm.a(slip.o): In function `WaitForRxByte':
/home/dataway/Desktop/smartcard_uboot/ti-sdk-am37x-evm/psp/u-boot-2010.06-psp04.02.00.07.sdk/board/ti/evm/slip.c:185: undefined reference to `ioctl'
/home/dataway/Desktop/smartcard_uboot/ti-sdk-am37x-evm/psp/u-boot-2010.06-psp04.02.00.07.sdk/board/ti/evm/slip.c:192: undefined reference to `read'
make: *** [u-boot] Error 1
Thanks in advance,
Ranjith