[MacPorts] #70178: allegro fails to build: Undefined symbols: "_NASetNoteChannelBalance" etc.

MacPorts noreply at macports.org
Thu Jun 6 02:03:09 UTC 2024


#70178: allegro fails to build: Undefined symbols: "_NASetNoteChannelBalance" etc.
--------------------------+---------------------
 Reporter:  barracuda156  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.9.3
 Keywords:                |       Port:  allegro
--------------------------+---------------------
 {{{
 [ 40%] Linking C shared library lib/liballeg.dylib
 /opt/local/bin/cmake -E cmake_link_script CMakeFiles/allegro.dir/link.txt
 --verbose=ON
 /usr/bin/gcc-4.2 -pipe -Os -DNDEBUG -I/opt/local/include -W -Wall -Wno-
 unused-parameter -Wno-deprecated-declarations -Wdeclaration-after-
 statement -arch ppc -mmacosx-version-min=10.6 -dynamiclib
 -Wl,-headerpad_max_install_names -L/opt/local/lib
 -Wl,-headerpad_max_install_names -compatibility_version 4.4.0
 -current_version 4.4.3 -o lib/liballeg.4.4.3.dylib -install_name
 /opt/local/lib/liballeg.4.4.dylib CMakeFiles/allegro.dir/src/allegro.c.o
 CMakeFiles/allegro.dir/src/blit.c.o CMakeFiles/allegro.dir/src/bmp.c.o
 CMakeFiles/allegro.dir/src/clip3d.c.o
 CMakeFiles/allegro.dir/src/clip3df.c.o
 CMakeFiles/allegro.dir/src/colblend.c.o
 CMakeFiles/allegro.dir/src/color.c.o CMakeFiles/allegro.dir/src/config.c.o
 CMakeFiles/allegro.dir/src/datafile.c.o
 CMakeFiles/allegro.dir/src/dataregi.c.o
 CMakeFiles/allegro.dir/src/digmid.c.o
 CMakeFiles/allegro.dir/src/dither.c.o
 CMakeFiles/allegro.dir/src/dispsw.c.o
 CMakeFiles/allegro.dir/src/drvlist.c.o CMakeFiles/allegro.dir/src/file.c.o
 CMakeFiles/allegro.dir/src/fli.c.o CMakeFiles/allegro.dir/src/flood.c.o
 CMakeFiles/allegro.dir/src/font.c.o
 CMakeFiles/allegro.dir/src/fontbios.c.o
 CMakeFiles/allegro.dir/src/fontbmp.c.o
 CMakeFiles/allegro.dir/src/fontdat.c.o
 CMakeFiles/allegro.dir/src/fontgrx.c.o
 CMakeFiles/allegro.dir/src/fonttxt.c.o CMakeFiles/allegro.dir/src/fsel.c.o
 CMakeFiles/allegro.dir/src/gfx.c.o CMakeFiles/allegro.dir/src/glyph.c.o
 CMakeFiles/allegro.dir/src/graphics.c.o
 CMakeFiles/allegro.dir/src/gsprite.c.o CMakeFiles/allegro.dir/src/gui.c.o
 CMakeFiles/allegro.dir/src/guiproc.c.o
 CMakeFiles/allegro.dir/src/inline.c.o
 CMakeFiles/allegro.dir/src/joystick.c.o
 CMakeFiles/allegro.dir/src/keyboard.c.o CMakeFiles/allegro.dir/src/lbm.c.o
 CMakeFiles/allegro.dir/src/libc.c.o CMakeFiles/allegro.dir/src/lzss.c.o
 CMakeFiles/allegro.dir/src/math.c.o CMakeFiles/allegro.dir/src/math3d.c.o
 CMakeFiles/allegro.dir/src/midi.c.o CMakeFiles/allegro.dir/src/mixer.c.o
 CMakeFiles/allegro.dir/src/modesel.c.o
 CMakeFiles/allegro.dir/src/mouse.c.o CMakeFiles/allegro.dir/src/pcx.c.o
 CMakeFiles/allegro.dir/src/poly3d.c.o
 CMakeFiles/allegro.dir/src/polygon.c.o
 CMakeFiles/allegro.dir/src/quantize.c.o
 CMakeFiles/allegro.dir/src/quat.c.o CMakeFiles/allegro.dir/src/readbmp.c.o
 CMakeFiles/allegro.dir/src/readfont.c.o
 CMakeFiles/allegro.dir/src/readsmp.c.o CMakeFiles/allegro.dir/src/rle.c.o
 CMakeFiles/allegro.dir/src/rotate.c.o CMakeFiles/allegro.dir/src/rsfb.c.o
 CMakeFiles/allegro.dir/src/scene3d.c.o
 CMakeFiles/allegro.dir/src/sound.c.o CMakeFiles/allegro.dir/src/spline.c.o
 CMakeFiles/allegro.dir/src/stream.c.o CMakeFiles/allegro.dir/src/text.c.o
 CMakeFiles/allegro.dir/src/tga.c.o CMakeFiles/allegro.dir/src/timer.c.o
 CMakeFiles/allegro.dir/src/unicode.c.o
 CMakeFiles/allegro.dir/src/vtable.c.o
 CMakeFiles/allegro.dir/src/vtable15.c.o
 CMakeFiles/allegro.dir/src/vtable16.c.o
 CMakeFiles/allegro.dir/src/vtable24.c.o
 CMakeFiles/allegro.dir/src/vtable32.c.o
 CMakeFiles/allegro.dir/src/vtable8.c.o
 CMakeFiles/allegro.dir/src/c/cblit16.c.o
 CMakeFiles/allegro.dir/src/c/cblit24.c.o
 CMakeFiles/allegro.dir/src/c/cblit32.c.o
 CMakeFiles/allegro.dir/src/c/cblit8.c.o
 CMakeFiles/allegro.dir/src/c/ccpu.c.o
 CMakeFiles/allegro.dir/src/c/ccsprite.c.o
 CMakeFiles/allegro.dir/src/c/cgfx15.c.o
 CMakeFiles/allegro.dir/src/c/cgfx16.c.o
 CMakeFiles/allegro.dir/src/c/cgfx24.c.o
 CMakeFiles/allegro.dir/src/c/cgfx32.c.o
 CMakeFiles/allegro.dir/src/c/cgfx8.c.o
 CMakeFiles/allegro.dir/src/c/cmisc.c.o
 CMakeFiles/allegro.dir/src/c/cscan15.c.o
 CMakeFiles/allegro.dir/src/c/cscan16.c.o
 CMakeFiles/allegro.dir/src/c/cscan24.c.o
 CMakeFiles/allegro.dir/src/c/cscan32.c.o
 CMakeFiles/allegro.dir/src/c/cscan8.c.o
 CMakeFiles/allegro.dir/src/c/cspr15.c.o
 CMakeFiles/allegro.dir/src/c/cspr16.c.o
 CMakeFiles/allegro.dir/src/c/cspr24.c.o
 CMakeFiles/allegro.dir/src/c/cspr32.c.o
 CMakeFiles/allegro.dir/src/c/cspr8.c.o
 CMakeFiles/allegro.dir/src/c/cstretch.c.o
 CMakeFiles/allegro.dir/src/c/czscan15.c.o
 CMakeFiles/allegro.dir/src/c/czscan16.c.o
 CMakeFiles/allegro.dir/src/c/czscan24.c.o
 CMakeFiles/allegro.dir/src/c/czscan32.c.o
 CMakeFiles/allegro.dir/src/c/czscan8.c.o
 CMakeFiles/allegro.dir/src/misc/ccolconv.c.o
 CMakeFiles/allegro.dir/src/misc/colconv.c.o
 CMakeFiles/allegro.dir/src/macosx/cadigi.m.o
 CMakeFiles/allegro.dir/src/macosx/camidi.m.o
 CMakeFiles/allegro.dir/src/macosx/drivers.m.o
 CMakeFiles/allegro.dir/src/macosx/hidjoy.m.o
 CMakeFiles/allegro.dir/src/macosx/hidman.m.o
 CMakeFiles/allegro.dir/src/macosx/keybd.m.o
 CMakeFiles/allegro.dir/src/macosx/pcpu.m.o
 CMakeFiles/allegro.dir/src/macosx/qtmidi.m.o
 CMakeFiles/allegro.dir/src/macosx/quartz.m.o
 CMakeFiles/allegro.dir/src/macosx/qzfull.m.o
 CMakeFiles/allegro.dir/src/macosx/qzmouse.m.o
 CMakeFiles/allegro.dir/src/macosx/qzwindow.m.o
 CMakeFiles/allegro.dir/src/macosx/soundman.m.o
 CMakeFiles/allegro.dir/src/macosx/system.m.o
 CMakeFiles/allegro.dir/src/unix/ufile.c.o
 CMakeFiles/allegro.dir/src/unix/utimer.c.o
 CMakeFiles/allegro.dir/src/unix/uptimer.c.o
 CMakeFiles/allegro.dir/src/unix/usystem.c.o
 CMakeFiles/allegro.dir/src/unix/uthreads.c.o  -Wl,-rpath,/opt/local/lib
 -framework Cocoa -framework Carbon //usr/lib/libIOKit.dylib -framework
 CoreAudio -framework AudioUnit -framework AudioToolbox
 /opt/local/lib/libquicktime.dylib lib/liballeg-main.a
 Undefined symbols:
   "_NASetNoteChannelBalance", referenced from:
       _osx_midi_set_pan in qtmidi.m.o
       _osx_midi_key_on in qtmidi.m.o
   "_NAStuffToneDescription", referenced from:
       _osx_midi_init in qtmidi.m.o
   "_NASetNoteChannelVolume", referenced from:
       _osx_midi_set_mixer_volume in qtmidi.m.o
   "_NADisposeNoteChannel", referenced from:
       _osx_midi_exit in qtmidi.m.o
   "_NAPlayNote", referenced from:
       _osx_midi_key_off in qtmidi.m.o
       _osx_midi_exit in qtmidi.m.o
       _osx_midi_key_on in qtmidi.m.o
       _osx_midi_key_on in qtmidi.m.o
   "_NASetController", referenced from:
       _osx_midi_set_pitch in qtmidi.m.o
       _osx_midi_set_volume in qtmidi.m.o
       _osx_midi_key_on in qtmidi.m.o
   "_NAResetNoteChannel", referenced from:
       _osx_midi_init in qtmidi.m.o
   "_NANewNoteChannel", referenced from:
       _osx_midi_init in qtmidi.m.o
   "_NASetInstrumentNumber", referenced from:
       _osx_midi_key_on in qtmidi.m.o
 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 make[2]: *** [lib/liballeg.4.4.3.dylib] Error 1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/70178>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list