[uae] Compile problems with UAE 0.8.25

  • From: Derek Piper <dcpiper@xxxxxxxxxxx>
  • To: uae@xxxxxxxxxxxxx
  • Date: Fri, 27 Aug 2004 08:48:25 -0500


Hi,

I have been trying to compile UAE 0.8.25 from source on Debian Woody and have not been having an easy time of it.

I am using these configure options:

--prefix=/usr/local/uae/ --with-x --with-sdl --with-sdl-sound --with-sdl-gfx --with-zlib --enable-sound --enable-x86assembly --enable-ui --enable-bsdsock --enable-aga --enable-cycle-exact-cpu --enable-compatible-cpu --enable-jit --enable-natmem --with-caps --with-caps-prefix=/usr/local/uae/support/ipfdevlib_linux/


when I do 'make', it runs briefly and this error is seen amongst the output:

make -C tools build68kc
make[2]: Entering directory `/usr/src/uae-0.8.25-20040302/src/tools'
make[2]: *** No rule to make target `build68kc'.  Stop.
make[2]: Leaving directory `/usr/src/uae-0.8.25-20040302/src/tools'
make[1]: *** [tools/build68k] Error 2
make[1]: *** Waiting for unfinished jobs....

Every time I run make it gets a little bit closer to finishing. Is the order of the targets incorrect? Why does it need to have to be 'prodded' along like that? 'make' needs to be run 3 times in order for the build to complete. Is that normal?

Upon running, that build opens the UI but when running a standard A500 KS1.3 config it locks up before the Kickstart has fully initialized - a dark grey 'screen', which as far as I can remember on a real Amiga was after the 'hardware' was initialized but before the software was. This config has worked fine on the UAE 0.8.22 that is in Debian woody by the way.

Without the SDL options above I get a build that at least loads the kickstart.

I have the following SDL debian packages installed:

libsdl1.2debian
libsdl1.2debian-oss
libsdl1.2-dev


However, when I try and run a CAPS image I get the message 'Failed to load CAPS plug-in' even though the shared library is in the location above. How can I check what location UAE is needing the library in? Should the directory be included in /etc/ld.so.conf ? I tried that and it didn't make any difference. The contents of my /usr/local/uae/support/ipfdevlib_linux/ directory is that of the CAPS
ipfdevlib_linux.tgz file from caps-project.org.


Sorry about the verbosity of this post, there are many things I need help with it seems and I want to give as much information about it as possible.

Thanks,

Derek



Output of ./configure (with all above listed options)


checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking for ar... ar
checking for a BSD-compatible install... /usr/bin/install -c
checking for makedepend... /usr/X11R6/bin//makedepend
checking for file... /usr/bin/file
checking for wrc... not-found
checking for rcl... not-found
checking for egrep... grep -E
checking for AIX... no
checking for strerror in -lcposix... no
checking for _oss_ioctl in -lossaudio... no
checking for AFOpenAudioConn in -lAF... no
checking for waveOutGetNumDevs in -lmme... no
checking for alOpenPort in -laudio... no
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.0.0... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking sys/termios.h usability... yes
checking sys/termios.h presence... yes
checking for sys/termios.h... yes
checking for sys/stat.h... (cached) yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking libraries/cybergraphics.h usability... no
checking libraries/cybergraphics.h presence... no
checking for libraries/cybergraphics.h... no
checking cybergraphx/cybergraphics.h usability... no
checking cybergraphx/cybergraphics.h presence... no
checking for cybergraphx/cybergraphics.h... no
checking devices/ahi.h usability... no
checking devices/ahi.h presence... no
checking for devices/ahi.h... no
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking machine/soundcard.h usability... no
checking machine/soundcard.h presence... no
checking for machine/soundcard.h... no
checking sun/audioio.h usability... no
checking sun/audioio.h presence... no
checking for sun/audioio.h... no
checking sys/audioio.h usability... no
checking sys/audioio.h presence... no
checking for sys/audioio.h... no
checking dmedia/audio.h usability... no
checking dmedia/audio.h presence... no
checking for dmedia/audio.h... no
checking machine/joystick.h usability... no
checking machine/joystick.h presence... no
checking for machine/joystick.h... no
checking for stdbool.h that conforms to C99... no
checking for _Bool... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking for struct stat.st_blocks... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working volatile... yes
checking whether byte ordering is bigendian... no
checking for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking for __int64... no
checking size of __int64... 0
checking whether gcc needs -traditional... no
checking for working memcmp... yes
checking return type of signal handlers... void
checking whether utime accepts a null argument... yes
checking for getcwd... yes
checking for getopt... yes
checking for strdup... yes
checking for gettimeofday... yes
checking for sigaction... yes
checking for mkdir... yes
checking for rmdir... yes
checking for select... yes
checking for strerror... yes
checking for strstr... yes
checking for isnan... yes
checking for isinf... yes
checking for setitimer... yes
checking for tcgetattr... yes
checking for cfmakeraw... yes
checking for readdir_r... yes
checking for vprintf... yes
checking for vsprintf... yes
checking for vfprintf... yes
checking for strcasecmp... yes
checking for stricmp... no
checking for strcmpi... no
checking for nanosleep... yes
checking for usleep... yes
checking for sleep... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/fs_types.h usability... no
checking sys/fs_types.h presence... no
checking for sys/fs_types.h... no
checking how to get filesystem space usage...
checking for statvfs function (SVR4)... no
checking for 3-argument statfs function (DEC OSF/1)... no
checking for two-argument statfs with statfs.bsize member (AIX, 4.3BSD)... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unsigned long long... yes
checking for fcntl.h... (cached) yes
checking dustat.h usability... no
checking dustat.h presence... no
checking for dustat.h... no
checking sys/fs/s5param.h usability... no
checking sys/fs/s5param.h presence... no
checking for sys/fs/s5param.h... no
checking sys/filsys.h usability... no
checking sys/filsys.h presence... no
checking for sys/filsys.h... no
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking for statfs that truncates block counts... no
checking if zlib is wanted... yes
checking for inflateEnd in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for inflateEnd in -lz... (cached) yes
checking zlib in yes... ok
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... gcc
checking for dlopen in -ldl... yes
checking whether sys/soundcard.h or machine/soundcard.h works... yes
checking host OS support... linux
checking host cpu support... i386
checking for GCC 2.7 or higher... yes
checking for GCC 3.0 or higher... no
checking configuration options... ok
checking whether to build x86 assmebly... yes
checking whether assembler symbols need an underscore... no
checking whether to build JIT compiler... yes
checking for graphics target to build... "SDL"
checking for sound target to build... "SDL"
checking which UI target to build... "GTK+"
checking whether to build AGA emulation... yes
checking whether to build support for Autconfig devices... yes
checking whether to build SCSI emulation... no
no
checking whether to build CDTV emulation... no
checking whether to build CD32 emulation... no
checking whether to build bsdsocket.library emulation... yes
checking whether to build with threads... yes
checking which thread target to build... SDL
checking caps/capsimage.h usability... yes
checking caps/capsimage.h presence... yes
checking for caps/capsimage.h... yes
checking whether to build with enforcer... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/dms/Makefile
config.status: creating src/caps/Makefile
config.status: creating src/md-generic/Makefile
config.status: creating src/md-i386-gcc/Makefile
config.status: creating src/md-i386-watcom/Makefile
config.status: creating src/md-ppc-gcc/Makefile
config.status: creating src/md-ppc/Makefile
config.status: creating src/md-68k/Makefile
config.status: creating src/od-generic/Makefile
config.status: creating src/od-linux/Makefile
config.status: creating src/od-amiga/Makefile
config.status: creating src/od-beos/Makefile
config.status: creating src/od-macos/Makefile
config.status: creating src/gfx-x11/Makefile
config.status: creating src/gfx-sdl/Makefile
config.status: creating src/gfx-curses/Makefile
config.status: creating src/gfx-svga/Makefile
config.status: creating src/sd-af/Makefile
config.status: creating src/sd-file/Makefile
config.status: creating src/sd-mme/Makefile
config.status: creating src/sd-sdl/Makefile
config.status: creating src/sd-sgi/Makefile
config.status: creating src/sd-solaris/Makefile
config.status: creating src/sd-uss/Makefile
config.status: creating src/jd-sdl/Makefile
config.status: creating src/gui-none/Makefile
config.status: creating src/gui-gtk/Makefile
config.status: creating src/keymap/Makefile
config.status: creating src/sysconfig.h
config.status: linking ./src/md-i386-gcc/X86.S to src/md-X86.S
config.status: linking ./src/targets/t-unix.h to src/target.h
config.status: linking ./src/md-i386-gcc to src/machdep
config.status: linking ./src/include/fpp-unknown.h to src/md-fpp.h
config.status: linking ./src/od-linux to src/osdep
config.status: linking ./src/gfx-sdl to src/gfxdep
config.status: linking ./src/sd-sdl to src/sounddep
config.status: linking ./src/td-sdl to src/threaddep
config.status: linking ./src/jd-sdl to src/joydep
config.status: linking ./src/gui-gtk to src/guidep
config.status: executing depfiles commands
configure: configuring in src/tools
configure: running /bin/sh './configure' --prefix=/usr/local/uae/ '--prefix=/usr/local/uae/' '--with-x' '--with-sdl' '--with-sdl-sound' '--with-sdl-gfx' '--with-zlib' '--enable-sound' '--enable-x86assembly' '--enable-ui' '--enable-bsdsock' '--enable-aga' '--enable-cycle-exact-cpu' '--enable-compatible-cpu' '--enable-jit' '--enable-natmem' '--with-caps' '--with-caps-prefix=/usr/local/uae/support/ipfdevlib_linux/' --cache-file=/dev/null --srcdir=.
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for egrep... grep -E
checking for AIX... no
checking for strerror in -lcposix... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/utime.h usability... no
checking sys/utime.h presence... no
checking for sys/utime.h... no
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking for __int64... no
checking size of __int64... 0
checking whether gcc needs -traditional... no
checking for vprintf... yes
checking for _doprnt... no
checking for gettimeofday... yes
checking for memset... yes
checking for mkdir... yes
checking for strdup... yes
checking for strchr... yes
checking for strstr... yes
checking for strcasecmp... yes
checking for strcmpi... no
checking for stricmp... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating sysconfig.h
config.status: linking ./../missing.c to missing.c
config.status: linking ./../writelog.c to writelog.c
config.status: linking ./../readcpu.c to readcpu.c
config.status: linking ./../build68k.c to build68k.c
config.status: linking ./../gencpu.c to gencpu.c
config.status: linking ./../gencomp.c to gencomp.c
config.status: linking ./../cpuopti.c to cpuopti.c
config.status: linking ./../genblitter.c to genblitter.c
config.status: linking ./../blitops.c to blitops.c


Other related posts: