tcpdump mailing list archives
Compilation on AIX...
From: Jean-Yves LENHOF <jylenhof () banque-accord com>
Date: Fri, 27 Nov 2009 16:31:56 +0100
Hi, I've some problems compiling libpcap on AIX 5.3 When launching configure as delivered, I've this problem : ./configure --prefix=/sysapp/opensource/libpcap_1.0.0 <snip> checking for netinet/if_ether.h... yes checking for ANSI ioctl definitions... yes checking for strerror... yes checking for strlcpy... no checking for vsnprintf... yes checking for snprintf... yes checking for library containing gethostbyname... none required checking for library containing socket... none required checking for library containing putmsg... none required checking for ether_hostton... yes checking whether ether_hostton is declared... yes checking if --disable-protochain option is specified... enabled ./configure[6236]: syntax error at line 6659 : `newline or ;' unexpected root:name_of_my_server:/sysapp/sources/opensource/libpcap_1.0.0/libpcap-1.0.0:() # To resolve it, I've changed the first line from #!/bin/sh to #!/sysapp/opensource/bin/bash (seems to be a bashism in the configure file) and going with bash shell and export SHELL=/sysapp/opensource/bin/bash checking if dl_hp_ppa_info_t struct has dl_module_id_1 member... no checking if unaligned accesses fail... no rm: cannot remove directory net ln: net/net exists. Specify -f to remove. checking for USB sniffing support... no configure: no Bluetooth sniffing support checking for a BSD-compatible install... /sysapp/opensource/bin/ginstall -c configure: creating ./config.status config.status: creating Makefile config.status: creating pcap-filter.manmisc config.status: creating pcap-linktype.manmisc config.status: creating pcap-savefile.manfile config.status: creating pcap.3pcap config.status: creating pcap_compile.3pcap config.status: creating pcap_datalink.3pcap config.status: creating pcap_dump_open.3pcap config.status: creating pcap_list_datalinks.3pcap config.status: creating pcap_open_dead.3pcap config.status: creating pcap_open_offline.3pcap config.status: creating config.h root:name_of_my_server:/sysapp/sources/opensource/libpcap_1.0.0/libpcap-1.0.0:() And compiling failed immediately : #make gcc -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./pcap-bpf.c ./pcap-bpf.c:1025: error: static declaration of 'bpf_load' follows non-static declaration ./pcap-bpf.c:415: error: previous implicit declaration of 'bpf_load' was here make: 1254-004 The error code from the last command is 1. Stop. root:name_of_my_server:/sysapp/sources/opensource/libpcap_1.0.0/libpcap-1.0.0:() # Have you an idea of how to make it to compile cleanly ? Regards, ---- Jean-Yves LENHOF Ingénieur Système Unix/Linux Direction Systèmes Informations Banque Accord jylenhof () banque-accord com Tel : 03 28 38 59 32 Ce message et toutes les pièces jointes (ci-après le "message") sont établis à l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le détruire et d'en avertir immédiatement l'expéditeur. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. Internet ne permettant pas d'assurer l'intégrité de ce message, Banque Accord (et ses filiales) décline (nt) toute responsabilité au titre de ce message, dans l'hypothèse où il aurait été modifié. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This message and any attachments (the "message") is intended solely for the adresses and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. Banque Accord (and its subsidiaries) shall (will) not therefore be liable for the message if modified. This message has been scanned for malware by SurfControl plc. www.surfcontrol.com - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- Compilation on AIX... Jean-Yves LENHOF (Nov 27)
- Re: Compilation on AIX... Guy Harris (Nov 27)