Problems compiling ToT
"Brian L. Matthews" <[email protected]>
| Newsgroups | gmane.network.fire.devel |
|---|---|
| Message-ID | <p06002002bbd4c6872b86@[10.10.1.156]> |
I just updated to the ToT, and am getting compilation errors in
NetworkController.m:
CompileC /Users/blm/dev/Fire/build/Fire.build/Fire
(Application).build/Objects-normal/ppc/NetworkController.o
/usr/bin/gcc2 -c -F/Users/blm/dev/Fire/build
-F/System/Library/PrivateFrameworks
-I/Users/blm/dev/Fire/build/include -arch ppc -fno-common
-fpascal-strings -O0 -Wmost -Wno-four-char-constants
-Wno-unknown-pragmas -pipe -g -precomp-trustfile
"/Users/blm/dev/Fire/build/Fire.build/Fire
(Application).build/TrustedPrecomps.txt"
"-Wp,-header-mapfile,/Users/blm/dev/Fire/build/Fire.build/Fire
(Application).build/Fire.hmap" "-DHAVE_CONFIG_H"
"-DG_LOG_DOMAIN=g_log_domain_glib" NetworkController.m -o
"/Users/blm/dev/Fire/build/Fire.build/Fire
(Application).build/Objects-normal/ppc/NetworkController.o"
In file included from NetworkController.h:27,
from NetworkController.m:24:
/usr/include/arpa/inet.h:99: warning: `struct in_addr' declared
inside parameter list
/usr/include/arpa/inet.h:99: warning: its scope is only this
definition or declaration, which is probably not what you want.
/usr/include/arpa/inet.h:100: warning: `struct in_addr' declared
inside parameter list
/usr/include/arpa/inet.h:100: warning: parameter has incomplete type
/usr/include/arpa/inet.h:102: warning: parameter has incomplete type
/usr/include/arpa/inet.h:104: warning: parameter has incomplete type
NetworkController.m: In function `-[NetworkController getExternalIP:]':
NetworkController.m:188: parse error before `*'
NetworkController.m:189: `url' undeclared (first use in this function)
NetworkController.m:189: (Each undeclared identifier is reported only once
NetworkController.m:189: for each function it appears in.)
...failed CompileC /Users/blm/dev/Fire/build/Fire.build/Fire
(Application).build/Objects-normal/ppc/NetworkController.o ...
I'm compiling with Project Builder on 10.2.2 using the Dec 2002
developer tools and the August 2003 gcc update.
Any ideas?
Thanks,
Brian
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/