So this turned out to be an old XCode issue (I was still using XCode from the Tiger DVD).

Would it be possible for `port` to know what the most recent XCode is, and at least warn on invocation if what's on the current system is outdated?

On Sep 25, 2007, at 5:17 PM, Jay Sachs wrote:

10.4.10, MBP 2.16GHz, macports 1.5.2. Trying to build wine fails:

--->  Fetching wine
---> Attempting to fetch wine-0.9.45.tar.bz2 from http:// downloads.sourceforge.net/wine
--->  Verifying checksum(s) for wine
--->  Extracting wine
--->  Configuring wine
--->  Building wine with target depend all
Error: Target org.macports.build returned: shell command " cd "/opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_w ine/work/wine-0.9.45" && make depend all " returned error 2 Command output: gcc -c -I. -I. -I../include -I../include - D__WINESRC__ -Wall -pipe -fno-strict-aliasing -Wdeclaration-after- statement -Wwrite-strings -Wpointer-arith -I/opt/local/include -O2 -o clipboard.o clipboard.c gcc -c -I. -I. -I../include -I../include -D__WINESRC__ -Wall - pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite- strings -Wpointer-arith -I/opt/local/include -O2 -o console.o console.c gcc -c -I. -I. -I../include -I../include -D__WINESRC__ -Wall - pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite- strings -Wpointer-arith -I/opt/local/include -O2 -o context_alpha.o context_alpha.c gcc -c -I. -I. -I../include -I../include -D__WINESRC__ -Wall - pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite- strings -Wpointer-arith -I/opt/local/include -O2 -o context_i386.o context_i386.c gcc -c -I. -I. -I../include -I../include -D__WINESRC__ -Wall - pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite- strings -Wpointer-arith -I/opt/local/include -O2 -o context_powerpc.o context_powerpc.c gcc -c -I. -I. -I../include -I../include -D__WINESRC__ -Wall - pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite- strings -Wpointer-arith -I/opt/local/include -O2 -o context_sparc.o context_sparc.c gcc -c -I. -I. -I../include -I../include -D__WINESRC__ -Wall - pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite- strings -Wpointer-arith -I/opt/local/include -O2 -o context_x86_64.o context_x86_64.c gcc -c -I. -I. -I../include -I../include -D__WINESRC__ -Wall - pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite- strings -Wpointer-arith -I/opt/local/include -O2 -o debugger.o debugger.c gcc -c -I. -I. -I../include -I../include -D__WINESRC__ -Wall - pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite- strings -Wpointer-arith -I/opt/local/include -O2 -o device.o device.c gcc -c -I. -I. -I../include -I../include -D__WINESRC__ -Wall - pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite- strings -Wpointer-arith -I/opt/local/include -O2 -o directory.o directory.c gcc -c -I. -I. -I../include -I../include -D__WINESRC__ -Wall - pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite- strings -Wpointer-arith -I/opt/local/include -O2 -o event.o event.c gcc -c -I. -I. -I../include -I../include -D__WINESRC__ -Wall - pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite- strings -Wpointer-arith -I/opt/local/include -O2 -o fd.o fd.c gcc -c -I. -I. -I../include -I../include -D__WINESRC__ -Wall - pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite- strings -Wpointer-arith -I/opt/local/include -O2 -o file.o file.c gcc -c -I. -I. -I../include -I../include -D__WINESRC__ -Wall - pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite- strings -Wpointer-arith -I/opt/local/include -O2 -o handle.o handle.c gcc -c -I. -I. -I../include -I../include -D__WINESRC__ -Wall - pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite- strings -Wpointer-arith -I/opt/local/include -O2 -o hook.o hook.c gcc -c -I. -I. -I../include -I../include -D__WINESRC__ -Wall - pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite- strings -Wpointer-arith -I/opt/local/include -O2 -o mach.o mach.c
mach.c: In function 'get_thread_context':
mach.c:166: error: 'x86_debug_state32_t' undeclared (first use in this function)
mach.c:166: error: (Each undeclared identifier is reported only once
mach.c:166: error: for each function it appears in.)
mach.c:166: error: parse error before 'state'
mach.c:167: error: 'state' undeclared (first use in this function)
mach.c:182: error: 'x86_DEBUG_STATE32' undeclared (first use in this function)
mach.c: In function 'set_thread_context':
mach.c:210: error: 'x86_debug_state32_t' undeclared (first use in this function)
mach.c:210: error: parse error before 'state'
mach.c:211: error: 'state' undeclared (first use in this function)
mach.c:245: error: 'x86_DEBUG_STATE32' undeclared (first use in this function)
make[1]: *** [mach.o] Error 1
make: *** [server] Error 2

_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users

_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to