[MacPorts] #24657: ld: symbol(s) not found collect2: ld returned 1 exit status
#24657: ld: symbol(s) not found collect2: ld returned 1 exit status ----------------------------------------------+----------------------------- Reporter: tc.corlett@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: ld: symbol(s) not found collect2 | Port: ----------------------------------------------+----------------------------- $ sudo port install wine-devel -d Password: ---> Computing dependencies for wine-devel ---> Building wine-devel 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_wine-devel/work/wine-1.1.43" && /usr/bin/make -j2 depend all " returned error 2 Command output: _DSOUND_PrimaryDestroy in primary.o _DSOUND_PrimaryDestroy in primary.o _PrimaryBufferImpl_Release in primary.o _DSOUND_PrimaryOpen in primary.o _PrimaryBufferImpl_SetFormat in primary.o _DSPROPERTY_descWtoA in propset.o _DSPROPERTY_descWtoA in propset.o _IKsPrivatePropertySetImpl_Release in propset.o _DSPROPERTY_enumWtoA in propset.o _DSPROPERTY_enumWtoA in propset.o _DSPROPERTY_DescriptionW in propset.o _DSPROPERTY_DescriptionW in propset.o _DSPROPERTY_EnumerateW in propset.o _DSPROPERTY_EnumerateW in propset.o _DSPROPERTY_EnumerateW in propset.o _DSPROPERTY_EnumerateW in propset.o _IKsPrivatePropertySetImpl_Get in propset.o _IKsPrivatePropertySetImpl_Get in propset.o _IKsPrivatePropertySetImpl_Get in propset.o _IDirectSound3DBufferImpl_Release in sound3d.o _IDirectSound3DListenerImpl_Release in sound3d.o ld: symbol(s) not found collect2: ld returned 1 exit status winegcc: /usr/bin/gcc-4.2 failed make[1]: *** [dsound.dll.so] Error 2 make: *** [dlls/dsound] Error 2 make: *** Waiting for unfinished jobs.... ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -foversion.res version.rc ../../tools/winegcc/winegcc -m32 -B../../tools/winebuild --sysroot=../.. -shared ./dwmapi.spec dwmapi_main.o version.res -o dwmapi.dll.so -lkernel32 ../../libs/port/libwine_port.a -L/opt/local/lib -framework CoreServices -lz ../../tools/winegcc/winegcc -m32 -B../../tools/winebuild --sysroot=../.. -shared ./dwmapi.spec dwmapi_main.o version.res -o dwmapi.dll.fake -lkernel32 ../../libs/port/libwine_port.a -L/opt/local/lib -framework CoreServices -lz Error: Status 1 encountered during processing. Before reporting a bug, first run the command again with the -d flag to get complete output. -- Ticket URL: <http://trac.macports.org/ticket/24657> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24657: wine-devel build failure --------------------------------+------------------------------------------- Reporter: tc.corlett@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: wine-devel --------------------------------+------------------------------------------- Changes (by jmr@…): * cc: tc.corlett@… (removed) * cc: jwa@… (added) * owner: macports-tickets@… => ryandesign@… * keywords: ld: symbol(s) not found collect2 => * port: => wine-devel Old description:
$ sudo port install wine-devel -d Password: ---> Computing dependencies for wine-devel ---> Building wine-devel 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_wine-devel/work/wine-1.1.43" && /usr/bin/make -j2 depend all " returned error 2 Command output: _DSOUND_PrimaryDestroy in primary.o _DSOUND_PrimaryDestroy in primary.o _PrimaryBufferImpl_Release in primary.o _DSOUND_PrimaryOpen in primary.o _PrimaryBufferImpl_SetFormat in primary.o _DSPROPERTY_descWtoA in propset.o _DSPROPERTY_descWtoA in propset.o _IKsPrivatePropertySetImpl_Release in propset.o _DSPROPERTY_enumWtoA in propset.o _DSPROPERTY_enumWtoA in propset.o _DSPROPERTY_DescriptionW in propset.o _DSPROPERTY_DescriptionW in propset.o _DSPROPERTY_EnumerateW in propset.o _DSPROPERTY_EnumerateW in propset.o _DSPROPERTY_EnumerateW in propset.o _DSPROPERTY_EnumerateW in propset.o _IKsPrivatePropertySetImpl_Get in propset.o _IKsPrivatePropertySetImpl_Get in propset.o _IKsPrivatePropertySetImpl_Get in propset.o _IDirectSound3DBufferImpl_Release in sound3d.o _IDirectSound3DListenerImpl_Release in sound3d.o ld: symbol(s) not found collect2: ld returned 1 exit status winegcc: /usr/bin/gcc-4.2 failed make[1]: *** [dsound.dll.so] Error 2 make: *** [dlls/dsound] Error 2 make: *** Waiting for unfinished jobs.... ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -foversion.res version.rc ../../tools/winegcc/winegcc -m32 -B../../tools/winebuild --sysroot=../.. -shared ./dwmapi.spec dwmapi_main.o version.res -o dwmapi.dll.so -lkernel32 ../../libs/port/libwine_port.a -L/opt/local/lib -framework CoreServices -lz ../../tools/winegcc/winegcc -m32 -B../../tools/winebuild --sysroot=../.. -shared ./dwmapi.spec dwmapi_main.o version.res -o dwmapi.dll.fake -lkernel32 ../../libs/port/libwine_port.a -L/opt/local/lib -framework CoreServices -lz
Error: Status 1 encountered during processing. Before reporting a bug, first run the command again with the -d flag to get complete output.
New description: {{{ $ sudo port install wine-devel -d Password: ---> Computing dependencies for wine-devel ---> Building wine-devel 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_wine-devel/work/wine-1.1.43" && /usr/bin/make -j2 depend all " returned error 2 Command output: _DSOUND_PrimaryDestroy in primary.o _DSOUND_PrimaryDestroy in primary.o _PrimaryBufferImpl_Release in primary.o _DSOUND_PrimaryOpen in primary.o _PrimaryBufferImpl_SetFormat in primary.o _DSPROPERTY_descWtoA in propset.o _DSPROPERTY_descWtoA in propset.o _IKsPrivatePropertySetImpl_Release in propset.o _DSPROPERTY_enumWtoA in propset.o _DSPROPERTY_enumWtoA in propset.o _DSPROPERTY_DescriptionW in propset.o _DSPROPERTY_DescriptionW in propset.o _DSPROPERTY_EnumerateW in propset.o _DSPROPERTY_EnumerateW in propset.o _DSPROPERTY_EnumerateW in propset.o _DSPROPERTY_EnumerateW in propset.o _IKsPrivatePropertySetImpl_Get in propset.o _IKsPrivatePropertySetImpl_Get in propset.o _IKsPrivatePropertySetImpl_Get in propset.o _IDirectSound3DBufferImpl_Release in sound3d.o _IDirectSound3DListenerImpl_Release in sound3d.o ld: symbol(s) not found collect2: ld returned 1 exit status winegcc: /usr/bin/gcc-4.2 failed make[1]: *** [dsound.dll.so] Error 2 make: *** [dlls/dsound] Error 2 make: *** Waiting for unfinished jobs.... ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -foversion.res version.rc ../../tools/winegcc/winegcc -m32 -B../../tools/winebuild --sysroot=../.. -shared ./dwmapi.spec dwmapi_main.o version.res -o dwmapi.dll.so -lkernel32 ../../libs/port/libwine_port.a -L/opt/local/lib -framework CoreServices -lz ../../tools/winegcc/winegcc -m32 -B../../tools/winebuild --sysroot=../.. -shared ./dwmapi.spec dwmapi_main.o version.res -o dwmapi.dll.fake -lkernel32 ../../libs/port/libwine_port.a -L/opt/local/lib -framework CoreServices -lz Error: Status 1 encountered during processing. Before reporting a bug, first run the command again with the -d flag to get complete output. }}} -- Comment: Please remember to preview and use WikiFormatting, fill in the Port field, and cc the maintainers. Note that you do not need to be in cc when you are the reporter. -- Ticket URL: <http://trac.macports.org/ticket/24657#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24657: wine-devel build failure --------------------------------+------------------------------------------- Reporter: tc.corlett@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: wine-devel --------------------------------+------------------------------------------- Comment(by ryandesign@…): I need to see the full debug log. To get that, you need to use the -d flag, in the right place, which is between the word port and the word install. Please clean and try again. {{{ sudo port clean wine-devel sudo port -d install wine-devel 2>&1 | tee ~/Desktop/wine-devel.txt bzip2 ~/Desktop/wine-devel.txt }}} Assuming it fails again, attach wine-devel.txt.bz2 from your desktop to this ticket. -- Ticket URL: <http://trac.macports.org/ticket/24657#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24657: wine-devel build failure --------------------------------+------------------------------------------- Reporter: tc.corlett@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: wine-devel --------------------------------+------------------------------------------- Comment(by ryandesign@…): Tom emailed me the debug log as an OpenOffice.org document, which I re- saved as a text file and compressed. -- Ticket URL: <http://trac.macports.org/ticket/24657#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24657: wine-devel build failure --------------------------------+------------------------------------------- Reporter: tc.corlett@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: wine-devel --------------------------------+------------------------------------------- Comment(by ryandesign@…): Are you using the iPhone OS 4.0 Beta 1 SDK? That has been reported as causing errors like this. http://comments.gmane.org/gmane.comp.emulators.wine.devel/77201 -- Ticket URL: <http://trac.macports.org/ticket/24657#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24657: wine-devel build failure ---------------------------------+------------------------------------------ Reporter: tc.corlett@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: invalid | Keywords: Port: wine-devel | ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Comment: Via email, Tom replied:
I am using XCode 3.2.2 with iphone_os_4_beta_2!__ipod_touch!__3rd_generation!__8a248c.dmg
Tom, please go back to a released version Xcode / iPhone SDK. This is apparently a known problem in this prerelease version of Xcode / iPhone SDK which should be reported to Apple. -- Ticket URL: <http://trac.macports.org/ticket/24657#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24657: wine-devel build failure with iPhone OS 4 Beta SDK ---------------------------------+------------------------------------------ Reporter: tc.corlett@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: invalid | Keywords: Port: wine-devel | ---------------------------------+------------------------------------------ -- Ticket URL: <http://trac.macports.org/ticket/24657#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts