[MacPorts] #33808: libsdl-devel @1.3.0-5552 undefined symbols
#33808: libsdl-devel @1.3.0-5552 undefined symbols ---------------------------------------+------------------------------------ Reporter: clemens.brunner@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: libsdl-devel ---------------------------------------+------------------------------------ I tried installing libsdl-devel, but it gives me an error (undefined symbols), see attached log file. I'm using Mac OS X 10.7 with the latest Xcode 4.3.2. -- Ticket URL: <https://trac.macports.org/ticket/33808> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33808: libsdl-devel @1.3.0-5552 undefined symbols ---------------------------------------+------------------------------------ Reporter: clemens.brunner@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: libsdl-devel ---------------------------------------+------------------------------------ Comment(by ryandesign@…): This was not a clean build attempt. Please "sudo port clean libsdl-devel" and try again, and attach the new main.log if it fails again. -- Ticket URL: <https://trac.macports.org/ticket/33808#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33808: libsdl-devel @1.3.0-5552 undefined symbols ---------------------------------------+------------------------------------ Reporter: clemens.brunner@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: libsdl-devel ---------------------------------------+------------------------------------ Comment(by clemens.brunner@…): Replying to [comment:1 ryandesign@…]: This did not work either. I'm attaching the new log. -- Ticket URL: <https://trac.macports.org/ticket/33808#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33808: libsdl-devel @1.3.0-5552 undefined symbols ---------------------------------------+------------------------------------ Reporter: clemens.brunner@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: libsdl-devel ---------------------------------------+------------------------------------ Comment(by tim.heuett@…): I'm having the same problem. Unfortunately, I'm pretty new to Mac OS and Xcode, so I don't have much to draw on here, but I'm happy to test any theories. So, Mac OS 10.7.3, Xcode 4.3.2 with command line utils installed, and Macports 2.0.4. My log is #3. Thanks! -- Ticket URL: <https://trac.macports.org/ticket/33808#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33808: libsdl-devel @1.3.0-5552 undefined symbols ---------------------------------------+------------------------------------ Reporter: clemens.brunner@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: libsdl-devel ---------------------------------------+------------------------------------ Comment(by suresh.sivanandam@…): I have the same problem. My configuration is identical to Tim's and I get the same error as the log that has been uploaded. Let me know if I can be of some help. The error log basically says that the symbol _BlitRGBtoRGBPixelAlphaMMX3DNOW in SDL_blit_A.o cannot be found for x86_64. -- Ticket URL: <https://trac.macports.org/ticket/33808#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33808: libsdl-devel @1.3.0-5552 undefined symbols ---------------------------------------+------------------------------------ Reporter: clemens.brunner@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: libsdl-devel ---------------------------------------+------------------------------------ Comment(by suresh.sivanandam@…): Tried to recompile again with a slightly newer version of libsdl-devel @1.3.0-6248, same problem. Anyone have any suggestions about how to troubleshoot this? Thanks. -- Ticket URL: <https://trac.macports.org/ticket/33808#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33808: libsdl-devel @1.3.0-5552 undefined symbols ---------------------------------------+------------------------------------ Reporter: clemens.brunner@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: libsdl-devel ---------------------------------------+------------------------------------ Comment(by suresh.sivanandam@…): I found this fix. I had to change a line in the Makefile. The original line is EXTRA_CFLAGS = -I./include -mmmx -m3dnow -msse -msse2 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -D_THREAD_SAFE -falign-loops=16 -force_cpusubtype_ALL -fpascal-strings -Wall New line removes the 3dnow option since Apple processors are Intel and don't support the AMD 3DNow instructions: EXTRA_CFLAGS = -I./include -mmmx -msse -msse2 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -D_THREAD_SAFE -falign-loops=16 -force_cpusubtype_ALL -fpascal-strings -Wall You have to clean up the object files and recompile. I am not sure how to submit this as a patch, since I am a newbie. -- Ticket URL: <https://trac.macports.org/ticket/33808#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33808: libsdl-devel @1.3.0-5552 undefined symbols ---------------------------------------+------------------------------------ Reporter: clemens.brunner@… | Owner: toby@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: libsdl-devel ---------------------------------------+------------------------------------ Changes (by jmr@…): * owner: macports-tickets@… => toby@… -- Ticket URL: <https://trac.macports.org/ticket/33808#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33808: libsdl-devel @1.3.0-5552 undefined symbols --------------------------------+-------------------- Reporter: clemens.brunner@… | Owner: toby@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: wontfix | Keywords: Port: libsdl-devel | --------------------------------+-------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => wontfix Comment: libsdl-devel was deleted in r112504. -- Ticket URL: <https://trac.macports.org/ticket/33808#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts