Hi I am using uclinux for MCF5329EVB board. I want to have ppp package added to my system. I am using ltib for configuarion. I am using toolchain gcc-4.2 First I added ppp support(ppp over async. Serial port) in the kernel configuration.
It compiled successfully. Then I added the ppp package in the packages list. But it was giving liker error as mentioned below. gcc -o minconn.so -shared -O2 -g -I.. -I../../include -fPIC minconn.c /home/abhisek/uclinux/LTIB/ltib-m532xevb-20071102/rootfs/usr/lib//crt1.o: In function `_start': libc/sysdeps/linux/m68k/crt1.S:(.text+0x1c): undefined reference to `main' /tmp/cc4dlaCR.o: In function `my_get_idle': /home/abhisek/uclinux/LTIB/ltib-m532xevb-20071102/rpm/BUILD/ppp-2.4.4/pppd/plugins/minconn.c:58: undefined reference to `idle_time_limit' /home/abhisek/uclinux/LTIB/ltib-m532xevb-20071102/rpm/BUILD/ppp-2.4.4/pppd/plugins/minconn.c:54: undefined reference to `idle_time_limit' /tmp/cc4dlaCR.o: In function `plugin_init': /home/abhisek/uclinux/LTIB/ltib-m532xevb-20071102/rpm/BUILD/ppp-2.4.4/pppd/plugins/minconn.c:63: undefined reference to `info' /home/abhisek/uclinux/LTIB/ltib-m532xevb-20071102/rpm/BUILD/ppp-2.4.4/pppd/plugins/minconn.c:64: undefined reference to `add_options' /home/abhisek/uclinux/LTIB/ltib-m532xevb-20071102/rpm/BUILD/ppp-2.4.4/pppd/plugins/minconn.c:65: undefined reference to `idle_time_hook' collect2: ld returned 1 exit status make[1]: *** [minconn.so] Error 1 make[1]: Leaving directory `/home/abhisek/uclinux/LTIB/ltib-m532xevb-20071102/rpm/BUILD/ppp-2.4.4/pppd/plugins' make: *** [all] Error 2 error: Bad exit status from /home/abhisek/uclinux/LTIB/ltib-m532xevb-20071102/tmp/rpm-tmp.39947 (%build) suggestions would be greatly appreciated. Regards Sankar **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS*** _______________________________________________ uClinux-dev mailing list [email protected] http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by [email protected] To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev
