Fw: Compiler err-undefined reference to `fork'(unistd.h)
dora1234-ERirg/[email protected]
| Newsgroups | gmane.linux.network.bridge.ebtables.devel |
|---|---|
| Message-ID | <1320292621.1174542006062.JavaMail.nobody@sg1002-ap-1> |
Hi All, Sorry!! uClibc does not support function fork. I replace "fork" to "vfork". Now it was compilered successfully. Thanks a lot. //Dora --- 本郵件來自HiNet WebMail --- >>>>> Forwarded As Follows <<<<< From: [email protected] To: [email protected] Sent: Wed,21 Mar 2007 20:01:30 Asia/Taipei Subject: Compiler err-undefined reference to `fork'(unistd.h) Hi All, I use the latest stable userspace release(2.0.6)of ebtables,and my linux kernel is 2.6.14. I have to port ebtables for arm system.But i met one problem when it was compilered. It can not find the correct "fork"function. I am sure that i give it the correct kernel path. The error message as below, ---------------------------------------------------------- ebtables.o: In function `ebtables_insmod': ebtables.c:(.text+0xca0): undefined reference to `fork' ---------------------------------------------------------- Anyone can give me suggestion, i will very appreciate. Thanks a lot. //Dora --- 本郵件來自HiNet WebMail --- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Ebtables-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ebtables-devel