#23938: Bochs 2.3.7 doesn't compile --------------------------+------------------------------------------------- Reporter: jjh13@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: bochs --------------------------+------------------------------------------------- Trying to build on Snow Leopard fails with the following output: {{{ Warning: Skipping upgrade since ncursesw 5.7_0 >= ncursesw 5.7_0, even though installed variants "" do not match "+darwin_10". Use 'upgrade --enforce-variants' to switch to the requested variants. Warning: Skipping upgrade since ncurses 5.7_0 >= ncurses 5.7_0, even though installed variants "" do not match "+darwin_10". Use 'upgrade --enforce-variants' to switch to the requested variants. ---> Computing dependencies for bochs ---> Building bochs Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_emulators_bochs/work/bochs-2.3.7" && /usr/bin/make -j2 all " returned error 2 Command output: rm -rf test_hfsplus /bin/sh ./libtool --mode=link /usr/bin/g++-4.2 -o bximage -O2 -arch i386 -fpascal-strings -fno-common -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -L/opt/local/lib misc/bximage.o mkdir .libs /usr/bin/g++-4.2 -o bximage -O2 -arch i386 -fpascal-strings -fno-common -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES misc/bximage.o -Wl,-bind_at_load -L/opt/local/lib /bin/sh ./libtool --mode=link /usr/bin/g++-4.2 -o bxcommit -O2 -arch i386 -fpascal-strings -fno-common -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -L/opt/local/lib misc/bxcommit.o /usr/bin/g++-4.2 -o bxcommit -O2 -arch i386 -fpascal-strings -fno-common -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES misc/bxcommit.o -Wl,-bind_at_load -L/opt/local/lib soundosx.cc: In member function 'virtual int bx_sound_osx_c::openmidioutput(char*)': soundosx.cc:97: error: 'kAudioUnitComponentType' was not declared in this scope soundosx.cc:98: error: 'kAudioUnitSubType_MusicDevice' was not declared in this scope soundosx.cc:99: error: 'kAudioUnitID_DLSSynth' was not declared in this scope soundosx.cc:102: warning: 'AUGraphNewNode' is deprecated (declared at /System/Library/Frameworks/AudioToolbox.framework/Headers/AUGraph.h:673) soundosx.cc:102: warning: 'AUGraphNewNode' is deprecated (declared at /System/Library/Frameworks/AudioToolbox.framework/Headers/AUGraph.h:673) soundosx.cc:106: error: 'kAudioUnitSubType_Output' was not declared in this scope soundosx.cc:107: error: 'kAudioUnitID_DefaultOutput' was not declared in this scope soundosx.cc:110: warning: 'AUGraphNewNode' is deprecated (declared at /System/Library/Frameworks/AudioToolbox.framework/Headers/AUGraph.h:673) soundosx.cc:110: warning: 'AUGraphNewNode' is deprecated (declared at /System/Library/Frameworks/AudioToolbox.framework/Headers/AUGraph.h:673) soundosx.cc:121: warning: 'AUGraphGetNodeInfo' is deprecated (declared at /System/Library/Frameworks/AudioToolbox.framework/Headers/AUGraph.h:687) soundosx.cc:121: warning: 'AUGraphGetNodeInfo' is deprecated (declared at /System/Library/Frameworks/AudioToolbox.framework/Headers/AUGraph.h:687) soundosx.cc: In member function 'virtual int bx_sound_osx_c::openwaveoutput(char*)': soundosx.cc:187: warning: 'OpenDefaultAudioOutput' is deprecated (declared at /System/Library/Frameworks/AudioToolbox.framework/Headers/DefaultAudioOutput.h:26) soundosx.cc:187: warning: 'OpenDefaultAudioOutput' is deprecated (declared at /System/Library/Frameworks/AudioToolbox.framework/Headers/DefaultAudioOutput.h:26) soundosx.cc:192: error: 'AudioUnitInputCallback' was not declared in this scope soundosx.cc:192: error: expected `;' before 'input' soundosx.cc:193: error: 'input' was not declared in this scope soundosx.cc:195: error: 'kAudioUnitProperty_SetInputCallback' was not declared in this scope soundosx.cc: In function 'OSStatus MyRenderer(void*, AudioUnitRenderActionFlags, const AudioTimeStamp*, UInt32, AudioBuffer*)': soundosx.cc:369: warning: 'AudioConverterFillBuffer' is deprecated (declared at /System/Library/Frameworks/AudioToolbox.framework/Headers/AudioConverter.h:640) soundosx.cc:369: warning: 'AudioConverterFillBuffer' is deprecated (declared at /System/Library/Frameworks/AudioToolbox.framework/Headers/AudioConverter.h:640) make[1]: *** [soundosx.o] Error 1 make: *** [iodev/libiodev.a] Error 2 }}} -- Ticket URL: <http://trac.macports.org/ticket/23938> MacPorts <http://www.macports.org/> Ports system for Mac OS