tcpdump mailing list archives

Trouble compiling tcpdump-3.9.8


From: Eric <epretorious () yahoo com>
Date: Tue, 12 Feb 2008 20:40:06 -0800 (PST)

var YAHOO = {'Shortcuts' : {}};
YAHOO.Shortcuts.hasSensitiveText = false;
YAHOO.Shortcuts.sensitivityType = [];
YAHOO.Shortcuts.doUlt = false;
YAHOO.Shortcuts.location = "us";
YAHOO.Shortcuts.document_id = 0;
YAHOO.Shortcuts.document_type = "";
YAHOO.Shortcuts.document_title = "HELP: Errors compiling tcpdump-3.9.8";
YAHOO.Shortcuts.document_publish_date = "";
YAHOO.Shortcuts.document_author = "epretorious () yahoo com";
YAHOO.Shortcuts.document_url = "";
YAHOO.Shortcuts.document_tags = "";
YAHOO.Shortcuts.annotationSet = {
"lw_1202877312_0": {
"text": "2.5.34",
"extended": 0,
"startchar": 318,
"endchar": 323,
"start": 318,
"end": 323,
"extendedFrom": "",
"predictedCategory": "",
"predictionProbability": "0",
"weight": 1,
"type": ["shortcuts:/us/instance/identifier/date_only"],
"category": ["IDENTIFIER"],
"context": "in advance.  1. gcc-4.2.2 is already installed. 2. I\x27ve downloaded/compiled flex-2.5.34, bison-2.3, and 
libpcap-0.9.8 [in /usr/local] beforehand. 3. When attempting to",
"metaData": {
"isoEndDate": "",
"isoStartDate": "20340205T100000",
"past": "false",
"recurring": "false"
}
 },
"lw_1202877312_1": {
"text": "Sunnyvale, CA",
"extended": 0,
"startchar": 2980,
"endchar": 2992,
"start": 2980,
"end": 2992,
"extendedFrom": "",
"predictedCategory": "PLACE",
"predictionProbability": "0.845472",
"weight": 0.879343,
"type": ["shortcuts:/us/instance/place/destination", "shortcuts:/us/instance/place/us/town"],
"category": ["PLACE"],
"context": "make: *** [tcpdump] Error 1  ==============   What am I overlooking?  Eric P. Sunnyvale, CA     Be a better 
friend, newshound, and know-it-all with Yahoo! Mobile",
"metaData": {
"geoArea": "57.1216",
"geoCountry": "United States",
"geoCounty": "Santa Clara",
"geoIsoCountryCode": "US",
"geoLocation": "(-122.03825, 37.371552)",
"geoName": "Sunnyvale",
"geoPlaceType": "Town",
"geoState": "California",
"geoStateCode": "CA",
"geoTown": "Sunnyvale",
"type": "shortcuts:/us/instance/place/us/town"
}
 },
"lw_1202877312_2": {
"text": "Yahoo! Mobile",
"extended": 0,
"startchar": 3086,
"endchar": 3098,
"start": 3086,
"end": 3098,
"extendedFrom": "",
"predictedCategory": "PERSON",
"predictionProbability": "0.341893",
"weight": 0.71577,
"type": ["shortcuts:/us/instance/organization/company/yahoo_property"],
"category": ["ORGANIZATION"],
"context": "Sunnyvale, CA     Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now",
"metaData": {
"yprop_name": "Yahoo! Mobile",
"yprop_url": "http://mobile.yahoo.com/";
}
 }
};

<!-- DIV {margin:0px;}-->1. gcc-4.2.2 is already installed.
2. I've downloaded/compiled flex-2.5.34, bison-2.3, and libpcap-0.9.8 in /usr/local.
3. When attempting to compile tcpdump-3.9.8 I get the following error:

==============

/usr/local/lib/libpcap.a(pcap.o): In function `pcap_datalink_name_to_val':
pcap.c:(.text+0x1b0): multiple definition of `pcap_datalink_name_to_val'
dlnames.o:dlnames.c:(.text+0xa0): first defined here
/usr/bin/ld:
Warning: size of symbol `pcap_datalink_name_to_val' changed from 98 in
dlnames.o to 114 in /usr/local/lib/libpcap.a(pcap.o)
/usr/local/lib/libpcap.a(pcap.o): In function `pcap_datalink_val_to_name':
pcap.c:(.text+0x230): multiple definition of
 `pcap_datalink_val_to_name'
dlnames.o:dlnames.c:(.text+0x0): first defined here
/usr/bin/ld:
Warning: size of symbol `pcap_datalink_val_to_name' changed from 66 in
dlnames.o to 78 in /usr/local/lib/libpcap.a(pcap.o)
/usr/local/lib/libpcap.a(pcap.o): In function `pcap_datalink_val_to_description':
pcap.c:(.text+0x280): multiple definition of `pcap_datalink_val_to_description'
dlnames.o:dlnames.c:(.text+0x50): first defined here
/usr/bin/ld:
Warning: size of symbol `pcap_datalink_val_to_description' changed from
76 in dlnames.o to 93 in /usr/local/lib/libpcap.a(pcap.o)
/usr/local/lib/libpcap.a(pcap.o): In function `pcap_list_datalinks':
pcap.c:(.text+0x920): multiple definition of `pcap_list_datalinks'
datalinks.o:datalinks.c:(.text+0x0): first defined here
/usr/bin/ld: Warning: size of symbol `pcap_list_datalinks' changed from 59 in datalinks.o to 209 in
 /usr/local/lib/libpcap.a(pcap.o)
/usr/local/lib/libpcap.a(savefile.o): In function `pcap_dump_ftell':
savefile.c:(.text+0xe0): multiple definition of `pcap_dump_ftell'
pcap_dump_ftell.o:pcap_dump_ftell.c:(.text+0x0): first defined here
/usr/bin/ld:
Warning: size of symbol `pcap_dump_ftell' changed from 9 in
pcap_dump_ftell.o to 35 in /usr/local/lib/libpcap.a(savefile.o)
/usr/local/lib/libpcap.a(gencode.o): In function `pcap_compile':
gencode.c:(.text+0x6bf): undefined reference to `lex_init'
/usr/local/lib/libpcap.a(gencode.o): In function `.L161':
gencode.c:(.text+0x827): undefined reference to `lex_cleanup'
/usr/local/lib/libpcap.a(gencode.o): In function `.L146':
gencode.c:(.text+0xe04): undefined reference to `lex_cleanup'
/usr/local/lib/libpcap.a(grammar.o): In function `.L42':
grammar.c:(.text+0x4e6): undefined reference to `pcap_lex'
collect2: ld returned 1 exit status
make: *** [tcpdump] Error
 1

==============


What am I overlooking?

Eric P.
Sunnyvale, CA










      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Attachment: config.log
Description:

-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.

Current thread: