Opened 14 years ago

Closed 14 years ago

#27992 closed defect (invalid)

Can't build hatari 1.4.0 with SDL and libpng in /Library/Frameworks

Reported by: henri.gomez@… Owned by: christer.solskogen@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: hatari

Description (last modified by mf2k (Frank Schima))

Here is the error :

:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_emulators_hatar
i/work/hatari-1.4.0" && /usr/bin/make -j2 all'
:info:build [  1%] [  4%] Built target build68k
:info:build Built target Floppy
:info:build [ 12%] Built target Falcon
:info:build [ 18%] Built target Debug
:info:build [ 32%] Built target GuiSdl
:info:build [ 33%] Built target manpages
:info:build [ 34%] Built target hatariui_man
:info:build [ 38%] Built target hmsa
:info:build [ 41%] Built target gencpu
:info:build [ 49%] Built target UaeCpu
:info:build Linking C executable hatari
:info:build ld: warning: in /Library/Frameworks//SDL.framework/SDL, missing required architecture x86_64 in file
:info:build ld: warning: in /Library/Frameworks//libpng.framework/libpng, missing required architecture x86_64 in file
:info:build Undefined symbols:
:info:build   "_SDL_SaveBMP_RW", referenced from:
:info:build       _ScreenSnapShot_SaveScreen in screenSnapShot.c.o
:info:build   "_SDL_WM_IconifyWindow", referenced from:
:info:build       _ShortCut_ActKey in shortcut.c.o
:info:build   "_png_write_row", referenced from:
:info:build       _ScreenSnapShot_SavePNG_ToFile in screenSnapShot.c.o
:info:build   "_SDL_Init", referenced from:
:info:build       _SDL_main in main.c.o
:info:build   "_png_set_filter", referenced from:
:info:build       _ScreenSnapShot_SavePNG_ToFile in screenSnapShot.c.o
:info:build   "_SDL_GetModState", referenced from:

...


:info:build   "_png_write_info", referenced from:
:info:build       _ScreenSnapShot_SavePNG_ToFile in screenSnapShot.c.o
:info:build   "_png_write_end", referenced from:
:info:build       _ScreenSnapShot_SavePNG_ToFile in screenSnapShot.c.o
:info:build   "_SDL_GetTicks", referenced from:
:info:build       _Main_WaitOnVbl in main.c.o
:info:build       _Main_WaitOnVbl in main.c.o
:info:build       _SDL_main in main.c.o
:info:build       _SDL_main in main.c.o
:info:build       _Statusbar_EnableHDLed in statusbar.c.o
:info:build       _Statusbar_Update in statusbar.c.o
:info:build       _Statusbar_Update in statusbar.c.o
:info:build       _dsp56k_init_cpu in libFalcon.a(dsp_cpu.c.o)
:info:build ld: symbol(s) not found
:info:build collect2: ld returned 1 exit status
:info:build make[2]: *** [src/hatari] Error 1
:info:build make[1]: *** [src/CMakeFiles/hatari.dir/all] Error 2
:info:build make: *** [all] Error 2
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_emulators_hatari/work/hatari-1.4.0" && /usr/bin/make -j2 all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for hatari): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for hatari is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_emulators_hatari/main.log

Change History (5)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to christer.solskogen@…
Port: hatari added

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Summary: Can't build hatari 1.4.0Can't build hatari 1.4.0 with SDL and libpng in /Library/Frameworks

comment:3 Changed 14 years ago by christer.solskogen@…

But does it build if you remove /Library/SDL and /Library/libpng and just use what comes with macports?

comment:4 Changed 14 years ago by henri.gomez@…

I built it on another box without /Library/SDL and /Library/libpng (where did they come from), and it worked. You could close this issue

comment:5 Changed 14 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.