Android Forums

Go Back   These FORUMS ARE DISABLED!! OUR NEW FORUMS ARE AT http://androidforum.com/ > Off-Topic Forums > The Lounge
Connect with Facebook

Click Here To Register!
 
 
LinkBack Thread Tools Display Modes
Old 06-04-2010, 05:22 AM   #1
Junior Member
 
Join Date: Jun 2010
Posts: 1
Friends: 0
View wxbhcs's Profile   View wxbhcs's Photo Album   View wxbhcs's Blog   View Social Groups
When I compile the libpcap code with ndk, I came up with errors.

/home/wxb/netFlux/bin/ndk/local/armeabi/libpcap.a(gencode.o): In function `pcap_compile':
/home/wxb/netFlux/jni/gencode.c:389: undefined reference to `pcap_parse'
/home/wxb/netFlux/bin/ndk/local/armeabi/libpcap.a(nametoaddr.o): In function `pcap_ether_hostton':
/home/wxb/netFlux/jni/nametoaddr.c:477: undefined reference to `ether_hostton'
/home/wxb/netFlux/bin/ndk/local/armeabi/libpcap.a(scanner.o): In function `yylex':
/home/wxb/netFlux/jni/scanner.l:336: undefined reference to `pcap_lval'
/home/wxb/netFlux/bin/ndk/local/armeabi/libpcap.a(scanner.o): In function `yy_get_next_buffer':
/home/wxb/netFlux/jni/<stdout>:3739: undefined reference to `pcap_lval'
collect2: ld returned 1 exit status

The libpcap code is from http://android.git.kernel.org/.

Should I compile the whole Android source code?
where is the missing function `pcap_parse', `ether_hostton',`pcap_lval' ?
Is there some source I need to add to the compile?


Android-ndk-r4
make 3.8.1
ubuntu 9.10
wxbhcs is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati
 

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error msg in long txts stacylyn77 Droid Eris 5 05-13-2010 10:36 PM
Error messages. :/ sevastemarie Droid Eris 0 01-03-2010 07:36 PM
Hi All You Android lovers Outthere-ERROR MESSAGE Droidnan Introduce Yourself 1 12-14-2009 02:38 PM
Connection error? dtwalkerfl HTC Smart Mobility 8 12-02-2009 07:23 AM
Broken Pipe Error beeson76 Android Games And Applications 1 02-01-2009 03:54 AM


Unlocked G1 Phones | Buy T-Mobile G1 | Google Phone

All times are GMT -6. The time now is 04:42 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Copyright (c) 2012 TalkAndroid.com. All rights reserved.