Opened 13 years ago
Closed 11 years ago
#33808 closed defect (wontfix)
libsdl-devel @1.3.0-5552 undefined symbols
Reported by: | clemens.brunner@… | Owned by: | tobypeterson |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.4 |
Keywords: | Cc: | suresh.sivanandam@… | |
Port: | libsdl-devel |
Description
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.
Attachments (3)
Change History (12)
Changed 13 years ago by clemens.brunner@…
comment:1 follow-up: 2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
comment:2 Changed 13 years ago by clemens.brunner@…
Replying to ryandesign@…:
This did not work either. I'm attaching the new log.
Changed 13 years ago by clemens.brunner@…
Attachment: | main.2.log added |
---|
Changed 13 years ago by tim.heuett@…
Attachment: | main.3.log added |
---|
comment:3 follow-up: 4 Changed 13 years ago by tim.heuett@…
comment:4 Changed 13 years ago 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.
comment:6 Changed 13 years ago 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.
comment:7 Changed 12 years ago 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.
comment:8 Changed 12 years ago by jmroot (Joshua Root)
Owner: | changed from macports-tickets@… to toby@… |
---|
comment:9 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → wontfix |
---|---|
Status: | new → closed |
libsdl-devel was deleted in r112504.
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.