Home > Cannot Determine > Cannot Determine Linux Version When Cross-compiling Pcap

Cannot Determine Linux Version When Cross-compiling Pcap

tar zxvf tcpdump-4.8.1.tar.gz tar zxvf libpcap-1.8.1.tar.gz Export your compiler to point to the ARM Linux build tool. In this case, we will compile the latest version, tcpdump-4.8.1. This is my command: ac_cv_linux_vers=2 ./configure --host=arm-none-linux-gnueabi Reply Cancel Cancel Reply Suggest as Answer Use rich formatting Prodigy 690 points Ricardo Zepeda Feb 8, 2012 5:22 PM In reply to gxk: This check doesn't seem very important anyway, who uses linux < 2.0 ?! news

Discussion Guy Harris - 2011-05-05 OK, I've gotten rid of the check in the trunk and 1.2 branch. uname -a The above command produced the following output: Linux androidtcpdump 2.6.32-042stab094.8 #1 SMP Tue Dec 16 20:36:56 MSK 2014 i686 i686 i686 GNU/Linux Set the ac_cv_linux_vers variable to the major TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these Personal Open source Business Explore Sign up Sign in Pricing Blog Support Search GitHub This repository Watch 2 Star 2 Fork 0 karlhiramoto/embedded_gentoo_portage Code Issues 0 Pull requests 0 Projects

the type of packet capture could be found in configure 6914 if test ! -z "$with_pcap" ; then 6915 V_PCAP="$withval" 6916 elif test -r /dev/bpf -o -h /dev/bpf ; then 6917 We're trying to get release 0.5 finalized and this is a showstopper for us. configure: error: cannot determine linux version w... Terms Privacy Opt Out Choices Advertise Get latest updates about Open Source Projects, Conferences and News.

  • We recommend upgrading to the latest Safari, Google Chrome, or Firefox.
  • Any help would be greatly appreciated.
  • wget http://www.tcpdump.org/release/tcpdump-4.8.1.tar.gz Since tcpdump is dependent on the libpcap, we will need to download this as well.
  • Prindeville (Jul 22) Re: Resend: Issues cross-compiling nmap-4.68 David Fifield (Jul 22) [ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
  • Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff. © Copyright 1995-2016 Texas Instruments Incorporated.
  • David Fifield Sorry, not on the mailing list, so didn't see it.

enabled configure: error: pcap type not determined when cross-compiling; use --with-pcap=... You may need to "yum" or "apt-get" the appropriate building libraries or toolchains. Enlightened: The TI DLP® Blog Fully Charged Industrial Strength Launch Your Design Learn E2E Motor Drive & Control MSP Low-Power Plays On the Grid Power House Precision Hub The Process Think. But there are alternatives to compiling/building.

This should create the libpcap library. The "--with-pcap=linux" will tell the compiler which packet capture type we are compiling. ./configure --host=arm-linux --with-pcap=linux Then execute the "make" command. All rights reserved. see here Failed in compiling busybox ► 05 (1) ► 04 (3) ► 01 (1) ► 2009 (7) ► 12 (3) ► 11 (1) ► 05 (1) ► 04 (1) ► 03 (1)

Prindeville wrote: David Fifield wrote: On Tue, Jul 22, 2008 at 08:53:41AM -0700, Philip Prindeville wrote: Anyone? TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these unknown configure: error: cannot determine linux version when cross-compiling [email protected]:~/Downloads/tcpdump-4.2.1$ What are commands needed to cross-compile libpcap and tcpdump? All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations

checking Linux kernel version... http://read-and-thinking.blogspot.com/2009/06/tcpdumparm.html Follow Us TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | m.ti.com (Mobile Version) TI is a global semiconductor design and manufacturing company. So this would work: ./configure --with-libpcap=included --with-pcap=linux except that there appears to be a later check for the Linux version that will also fail when cross compiling. Note: These libraries may not be available by default on your linux operating system.

The tcpdump we offer in our downloads section was compiled with a method called Cross-Compiling. navigate to this website Prodigy 690 points Ricardo Zepeda Feb 2, 2012 11:31 PM Reply Cancel Cancel Reply Suggest as Answer Use rich formatting All Responses Answers Only Intellectual 580 points gxk Feb 3, Change your directory to where you extracted your LIBPCAP cd libpcap-1.8.1 Execute the configure file which came with LIBPCAP with a few switches. Cross-Compiling is a method of compiling one operating system binary on another operating system.

But i am using vanilla tcpdump, just from its git. If you would like to refer to this comment somewhere else in this project, copy and paste the following link: SourceForge About Site Status @sfnet_ops Powered by Apache Allura™ Find and no checking if --disable-protochain option is specified... More about the author Sign up for the SourceForge newsletter: I agree to receive quotes, newsletters and other information from sourceforge.net and its partners regarding IT services and products.

I decided to use Arago/OpenEmbedded and BitBake to create the package. No, thanks skip to main | skip to sidebar 幻滅名為不動 記錄閱讀與思考的心得。 2009年6月5日 星期五 如何將tcpdump移植到arm嵌入式系統 下面介紹一下具體過程。1.在http://www.tcpdump.org下載libpcap-0.9.8.tar.gz和tcpdump-3.9.8.tar.gz兩個文件。2.將這兩個文件放在/home下解壓。3.編譯,安裝libpcap-0.9.8: (1)進入libpcap目錄,打開configure。將下面兩端代碼註釋掉 #if test -z "$with_pcap" && test "$cross_compiling" = yes; then # { { echo Any assistance appreciated.

You signed out in another tab or window.

Use of the information on this site may require a license from a third party, or a license from TI. Tools Insider University Program Groups Corporate Citizenship TI University Program Russian E2E (сообщество E2E) Japanese E2E (日本語コミュニティ) Learn E2E Launch Your Design Motor Drive & Control Videos More Cancel Linux Linux Building There are multiple ways of building or compiling Android tcpdump. sysctl.h:41: error: expected ':', ',', ';', '}' or...

Note: Your output may be different, but look for something which looks like a version number. configure: error: ./configure failed for libpcap make: *** [/home/philipp/trunk2/build_i586/nmap-4.68/.configured] Error 1 [[email protected] ~/trunk2]$ Okay, thanks. Please refer to our Privacy Policy or Contact Us for more details You seem to have CSS turned off. http://skimwp.org/cannot-determine/cannot-determine-linux-version-when-cross-compiling-libpcap.php export CFLAGS=-static export CPPFLAGS=-static export LDFLAGS=-static Execute the configure file which came with TCPDUMP with a few switches.

The "--host=arm-linux" is telling the compiler we are cross-compiling, and the "--disable-ipv6" to disable IP Version 6. ./configure --host=arm-linux --disable-ipv6 Execute the "make" command. export CC=arm-linux-gnueabi-gcc We need to compile the LIBPCAP first. Website Inquiries: [email protected] Nmap Security Scanner Intro Ref Guide Install Guide Download Changelog Book Docs Security Lists Nmap Announce Nmap Dev Bugtraq Full Disclosure Pen Test Basics More Security Tools The specific configure error is: configure: error: cannot determine linux version when cross-compiling Failed I would humbly suggest simply deleting the check.

not reliant on external libraries, we provide the following flags to build it statically. All-In-One Script Below are all the steps listed above in an easy script. David Fifield _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org By Date By Thread Current thread: Resend: Issues cross-compiling nmap-4.68 Philip Prindeville (Jul 22) Re: Resend: Issues