[uae] Re: compiling 8.29-WIP2 source code OS X

  • From: Richard Drummond <evilrich@xxxxxxxxxxxxxx>
  • To: uae@xxxxxxxxxxxxx
  • Date: Wed, 14 Jun 2006 01:37:10 -0400

Hi Rich

On Tuesday 13 June 2006 17:05, Rich Eaton wrote:
> This is at the beginning of make:
>
> eMac:~/Documents/emulation/Amiga/e-uae-0.8.29-WIP2 richeaton$ make
> cd . && /bin/sh /Users/richeaton/Documents/emulation/Amiga/e-
> uae-0.8.29-WIP2/missing --run aclocal-1.9 -I m4
> /Users/richeaton/Documents/emulation/Amiga/e-uae-0.8.29-WIP2/missing:
> line 46: aclocal-1.9: command not found
> WARNING: `aclocal-1.9' is missing on your system.  You should only
> need it if
>           you modified `acinclude.m4' or `configure.in'.  You might want
>           to install the `Automake' and `Perl' packages.  Grab them from
>           any GNU archive site.
> cd . && /bin/sh /Users/richeaton/Documents/emulation/Amiga/e-
> uae-0.8.29-WIP2/missing --run automake-1.9 --foreign
> /Users/richeaton/Documents/emulation/Amiga/e-uae-0.8.29-WIP2/missing:
> line 46: automake-1.9: command not found
> WARNING: `automake-1.9' is missing on your system.  You should only
> need it if
>           you modified `Makefile.am', `acinclude.m4' or `configure.in'.
>           You might want to install the `Automake' and `Perl' packages.
>           Grab them from any GNU archive site.
> cd . && /bin/sh /Users/richeaton/Documents/emulation/Amiga/e-
> uae-0.8.29-WIP2/missing --run autoconf
> /bin/sh ./config.status --recheck
> running /bin/sh ./configure  --with-sdl-gfx --with-sdl-sound  --no-
> create --no-recursion
> .......and so on

Okay. This one is due to a date-stamp problem in the WIP2 tarball which causes 
the build scripts to try and run automake and friends again. My fault, sorry. 
I forgot about that.

Try building this one instead (I remember Jens said it worked for him):
http://rcdrummond.net/uae/test/20060505/e-uae-0.8.29-CVS.tar.bz2

> This came directly before the output I posted earlier:
>
> cc  -mdynamic-no-pic -O2 -fomit-frame-pointer   -Wall -Wno-unused -
> Wno-format -W -Wmissing-prototypes -Wstrict-prototypes -
> DREGPARAM=       -L/usr/lib -o uae  main.o newcpu.o fpp.o memory.o
> events.o custom.o serial.o cia.o blitter.o autoconf.o traps.o
> ersatz.o keybuf.o expansion.o zfile.o cfgfile.o picasso96.o
> inputdevice.o gfxutil.o audio.o drawing.o native2amiga.o disk.o
> crc32.o savestate.o unzip.o uaeexe.o uaelib.o fdi2raw.o sleep.o
> hotkeys.o ar.o driveclick.o enforcer.o misc.o missing.o readcpu.o
> writelog.o md-ppc-gcc/libmachdep.a jd-none/libjoydep.a sd-none/
> libsnddep.a gfx-x11/libgfxdep.a gui-cocoa/libguidep.a keymap/
> libkeymap.a dms/libdms.a caps/libcaps.a blitfunc.o blittable.o
> cpustbl.o cpudefs.o libcpuemu.a filesys.o fsdb.o fsusage.o hardfile.o
> filesys_unix.o fsdb_unix.o hardfile_unix.o bsdsocket-posix-new.o
> bsdsocket.o scsi-none.o debug.o identify.o td-posix/libthreaddep.a od-
> macosx/libosdep.a -lz  -ldl     -L/usr/X11R6/lib  -lSM -lICE -lXext -
> lX11    -lm
> /usr/bin/ld: multiple definitions of symbol _main
> main.o definition of _main in section (__TEXT,__text)
> od-macosx/libosdep.a(main.o) definition of _main in section
> (__TEXT,__text)

This is because it's trying to link against X11 instead of SDL (but using 
E-UAE's custom SDL start-up code). Something went wrong while configuring. Do 
you have the SDL headers installed in /Library/Frameworks/?

Send me config.log file (off list). It may help to suss out what's going on 
here.

> I have plain text files of all the output from .configure onward and
> also the crash report for E-UAE 8.28 + OS X.4.5 PowerPC "insert disk
> with F11+F1 in fullscreen mode crash" (//www.freelists.org/
> archives/uae/06-2006/msg00023.html)
>
> Let me know the best address to send them to if you want them

evilrich@xxxxxxxxxxxxxxx

Ta!

Cheers,
Rich

Other related posts: