[MacPorts] #33808: libsdl-devel @1.3.0-5552 undefined symbols

MacPorts noreply at macports.org
Sun May 13 08:16:46 PDT 2012


#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


More information about the macports-tickets mailing list