On 4/20/12 3:28 AM, Charles Meyer-Amiez wrote: > Hi, > > Here is the results : /clang --version/ > > /Apple clang version 3.0 (tags/Apple/clang-211.12) (based on LLVM > 3.0svn)/ /Target: x86_64-apple-darwin11.3.0/ /Thread model: posix/ > > It seems I have an old version of clang... > > Thank you for you help, Charles >
That appears to be a clang from Xcode 4.2.x, while I have Xcode 4.3.2--I asked about clang because it's the compiler we use on 10.7 and because now people don't have to have all of Xcode installed to use Fink. :-) It's conceivable that the package doesn't build with clang-3.0 ; though when it was added to the 10.7 distribution clang-2.9 was the standard compiler for us. What Xcode version do you have (e.g. from 'xcodebuild -version') ? ====================== > Le 20 avr. 2012 à 00:34, Alexander Hansen a écrit : > >> On 4/19/12 2:16 PM, Charles Meyer-Amiez wrote: >>> Hi, >>> >>> I'v faced a serious problem while trying to install libpcap >>> using fink. The error code follows. I have a MacbookPro with >>> Mac OS X Lion. >>> >>> Thanks, Charles. >>> >>> /gcc -O -fno-common -I. -DHAVE_CONFIG_H >>> -D_U_="__attribute__((unused))" -c ./gencode.c/ >>> >>> /./pcap-bpf.c:741:18: error: variable has incomplete type >>> 'struct bpf_stat'/ / struct bpf_stat s;/ / ^/ >> >> I don't reproduce your issue (OS 10.7.3, clang 3.1) >> >> What do you get from "clang --version"? >> >> -- Alexander Hansen, Ph.D. Fink User Liaison >> http://finkakh.wordpress.com/2012/02/21/got-job/ > ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Fink-users mailing list [email protected] List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
