Wireshark-dev: [Wireshark-dev] compilation error in airpdcap (0.99.5pre1 under MacOS X)
From: Andreas Fink <afink@xxxxxxxxxxxxx>
Date: Sat, 20 Jan 2007 11:11:49 +0100
this should be fixed for 0.99.5

wireshark-0.99.5pre1

(./configure --mandir=/usr/share/man --with-ssl --enable-threads --enable-usr-local --with-lua --enable-adns --disable-dependency-tracking --with-pcap=/usr/local)


 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I/usr/local/include -I/usr/local/include -g -Os -pipe -DBUILD=19.1 -DMACOSX_DEPLOYMENT_TARGET=10.4 -I/System/Library/Frameworks/System.framework/PrivateHeaders -pipe -Ddarwin8 -I. -I/usr/include -I/usr/include -DINET6 -no-cpp-precomp "-D_U_=__attribute__((unused))" -Wall -Wpointer-arith -W -g -O2 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -g -Os -pipe -DBUILD=19.1 -DMACOSX_DEPLOYMENT_TARGET=10.4 -I/System/Library/Frameworks/System.framework/PrivateHeaders -pipe -Ddarwin8 -I. -I/usr/include -I/usr/include -c airpdcap.c  -fno-common -DPIC -o .libs/airpdcap.o
In file included from airpdcap_system.h:39,
                 from airpdcap.c:39:
airpdcap_interop.h:89: error: conflicting types for 'size_t'
/usr/lib/gcc/i686-apple-darwin8/4.0.1/include/stddef.h:214: error: previous declaration of 'size_t' was here
make[3]: *** [airpdcap.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
andreas10:~/development/wireshark-0.99.5pre1 afink$



Andreas Fink

Fink Consulting GmbH
Global Networks Schweiz AG
BebbiCell AG

---------------------------------------------------------------
Tel: +41-61-6666330 Fax: +41-61-6666331  Mobile: +41-79-2457333
Address: Clarastrasse 3, 4058 Basel, Switzerland
www.finkconsulting.com www.global-networks.ch www.bebbicell.ch
---------------------------------------------------------------
ICQ: 8239353 MSN: msn1@xxxxxx AIM: smsrelay Skype: andreasfink
Yahoo: finkconsulting SMS: +41792457333