Open ghost opened 8 years ago
Does this work with --cc=gcc-5
?
Not a sir. ;)
Looks like a new error:
/bin/sh ./libtool --mode=link g++-5 -O2 -Wno-long-long -o exult actions.o actorio.o actors.o args.o browser.o cheat.o cheat_screen.o combat.o delobjs.o dir.o drag.o effects.o exult.o exultmenu.o game.o gameclk.o gamedat.o gamemap.o gamerend.o gamewin.o istring.o keys.o keyactions.o menulist.o monsters.o mouse.o npcnear.o npctime.o palette.o party.o paths.o readnpcs.o schedule.o shapeid.o tqueue.o txtscroll.o version.o xdrag.o pathfinder/libpathfinder.la audio/libaudio.la audio/midi_drivers/libmididrv.la audio/midi_drivers/timidity/libtimidity.la flic/libflic.la conf/libconf.la imagewin/libimagewin.la server/libserver.la usecode/libusecode.la shapes/libshapes.la shapes/shapeinf/libshapeinf.la objs/libobjs.la gumps/libgumps.la files/libu7file.la files/zip/libminizip.la gamemgr/libgamemgr.la -L/usr/local/lib -lSDL2 -framework CoreFoundation -framework AudioUnit -framework AudioToolbox -framework CoreMIDI -lz -L/usr/local/Cellar/libogg/1.3.2/lib -L/usr/local/Cellar/libvorbis/1.3.5/lib -logg -lvorbis -lvorbisfile -lfluidsynth
libtool: link: g++-5 -O2 -Wno-long-long -o exult actions.o actorio.o actors.o args.o browser.o cheat.o cheat_screen.o combat.o delobjs.o dir.o drag.o effects.o exult.o exultmenu.o game.o gameclk.o gamedat.o gamemap.o gamerend.o gamewin.o istring.o keys.o keyactions.o menulist.o monsters.o mouse.o npcnear.o npctime.o palette.o party.o paths.o readnpcs.o schedule.o shapeid.o tqueue.o txtscroll.o version.o xdrag.o -Wl,-bind_at_load pathfinder/.libs/libpathfinder.a audio/.libs/libaudio.a audio/midi_drivers/.libs/libmididrv.a audio/midi_drivers/timidity/.libs/libtimidity.a flic/.libs/libflic.a conf/.libs/libconf.a imagewin/.libs/libimagewin.a server/.libs/libserver.a usecode/.libs/libusecode.a shapes/.libs/libshapes.a shapes/shapeinf/.libs/libshapeinf.a objs/.libs/libobjs.a gumps/.libs/libgumps.a files/.libs/libu7file.a files/zip/.libs/libminizip.a gamemgr/.libs/libgamemgr.a -L/usr/local/lib -lSDL2 -framework CoreFoundation -framework AudioUnit -framework AudioToolbox -framework CoreMIDI -lz -L/usr/local/Cellar/libogg/1.3.2/lib -L/usr/local/Cellar/libvorbis/1.3.5/lib -logg -lvorbis -lvorbisfile -lfluidsynth
Undefined symbols:
"_FSPathMakeRef", referenced from:
CoreAudioMidiDriver::open() in libmididrv.a(CoreAudioMidiDriver.o)
ld: symbol(s) not found
collect2: error: ld returned 1 exit status
make[2]: *** [exult] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
I think that function existed back then; possibly the right framework isn't being linked?
Looks like this happens using the USE_DEPRECATED_COREAUDIO_API
flag, which is enabled on PPC systems by default since they don't have access to the APIs needed by the new CoreAudio API. The FSPathMakeRef
function comes from Carbon and is only used in the deprecated CoreAudio API, but it doesn't link the Carbon framework. Should be fixable.
Another set of logs for this issue
https://gist.github.com/0fe71b9b758fc19823f5