[uae] Re: puae 2.0.1

  • From: Ivo Couckuyt <ilm@xxxxxxx>
  • To: uae@xxxxxxxxxxxxx
  • Date: Mon, 4 Jan 2010 17:35:53 +0100

It compiles using autoconf fine here, rick dangerous works using 68000 and 1.3 
rom (68020 hangs though, ending with some memorydump, didn't test it further)

However, I adapted and improved my cmake files for this version. I got a long 
way, but I'm again stuck on some undefined references (checkreceive* among 
others):
CMakeFiles/uae.dir/newcpu.c.o: In function `movemout':
newcpu.c:(.text+0xc4c3): undefined reference to `addmovemreg'
newcpu.c:(.text+0xc509): undefined reference to `addmovemreg'
newcpu.c:(.text+0xc544): undefined reference to `addmovemreg'
CMakeFiles/uae.dir/memory.c.o: In function `patch_residents':
memory.c:(.text+0x4c28): undefined reference to `au'
CMakeFiles/uae.dir/misc.c.o: In function `vsync_switchmode':
misc.c:(.text+0x35a): undefined reference to `reopen'
CMakeFiles/uae.dir/misc.c.o: In function `serial_hsynchandler':
misc.c:(.text+0x3d2): undefined reference to `checkreceive_serial'
misc.c:(.text+0x3de): undefined reference to `checkreceive_enet'
misc.c:(.text+0x404): undefined reference to `checksend'
CMakeFiles/uae.dir/compemu_support.c.o: In function `catastrophe':
compemu_support.c:(.text+0x3f6a8): undefined reference to `jit_abort'

I searched high and low for the differences in my cmake build process and that 
of autoconfig but as far as I can see all is the same. No definition of those 
functions/vars are found in the source, so I was looking for a define (-D) 
option to enable/disable that piece of code (as it is probably not ported yet) 
but to no avail. I guess I am missing something obvious. In any case, the 
build process is now much cleaner.

I also cleaned up some stuff in the compile process. To that end, an uptodate 
git (or svn) repository would be nice to commit the cmake build files + 
cleaning up the code.

best wishes,
Ivo

On Monday 04 Jan 2010 15:33:34 Fabien Meghazi wrote:
> > 1) http://rapidshare.com/files/328367347/puaex_2009_12_31.tar.gz
> > 2) ./bootstrap.sh
> > 3) ./configure --with-sdl --with-sdl-sound --with-sdl-gfx --with-sdl-gl
> > --enable-gccopt
> > 4) report any errors/bugs :)
> 
> Got these errors when compiling (missing a library ? Can't find
> declaration in header files) :
> 
> misc.o: In function `serial_hsynchandler':
> /home/amigrave/local/bin/puaex_2009_12_31/src/misc.c:250: undefined
> reference to `checkreceive_serial'
> /home/amigrave/local/bin/puaex_2009_12_31/src/misc.c:251: undefined
> reference to `checkreceive_enet'
> /home/amigrave/local/bin/puaex_2009_12_31/src/misc.c:254: undefined
> reference to `checksend'
> 

Other related posts: