25 March 2010, 19:57 | #81 |
Linux snob
Join Date: Sep 2008
Location: Monkey Island
Posts: 997
|
What were your configuration parameters?
|
25 March 2010, 20:32 | #82 |
Registered User
|
foul@Foulnux:/$ uname -a
Linux Foulnux 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 04:38:19 UTC 2010 x86_64 GNU/Linux foul@Foulnux:/$ ./configure --with-sdl-sound --with-sdl-gfx --with-sdl-gl --enable-gccopt |
25 March 2010, 20:59 | #83 |
Linux snob
Join Date: Sep 2008
Location: Monkey Island
Posts: 997
|
If I remember (and understood) correctly, you need to compile P-UAE to 32bit even without JIT, because of the emitted getcpuid command. Something like
Code:
./configure --with-sdl --with-sdl-sound --with-sdl-gl --with-sdl-gfx --host=i586 --target=i586 CFLAGS="-m32" LDFLAGS="-m32" |
25 March 2010, 21:48 | #84 |
Registered User
|
foul@Foulnux:~/Téléchargements/puaex$ ./configure --with-sdl --with-sdl-sound --with-sdl-gl --with-sdl-gfx --host=i586 --target=i586 CFLAGS="-m32" LDFLAGS="-m32"
configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking build system type... x86_64-unknown-linux-gnu checking host system type... i586-pc-none checking target system type... i586-pc-none checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for i586-strip... no checking for strip... strip checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for i586-gcc... no checking for gcc... gcc checking for C compiler default output file name... configure: error: in `/home/foul/Téléchargements/puaex': configure: error: C compiler cannot create executables See `config.log' for more details. foul@Foulnux:~/Téléchargements/puaex$ tested without "--host=i586", same thing ... edit: compilation ok without "CFLAGS="-m32" LDFLAGS="-m32" but always "segmentation error" at Start Last edited by Foul; 25 March 2010 at 21:53. |
25 March 2010, 22:07 | #86 |
Registered User
|
not very easy to include all 32 bits version of missing packages. A native x64 version could be cool without modifying tons of codes.
i'm not developper .. just user so i can wait for better development of PUAE i will test all the future version |
25 March 2010, 22:11 | #87 |
Linux snob
Join Date: Sep 2008
Location: Monkey Island
Posts: 997
|
Ok, but maybe it is worth the trouble to give philpem's approach a shot and just comment out the call to cpuid in compemu_raw_x86.c before waiting? Might work then.
|
25 March 2010, 22:20 | #88 |
Registered User
|
Code:
((compop_func *) cpuid_space) (0); it's now : Code:
cache_free (cpuid_space); |
25 March 2010, 22:40 | #89 |
Linux snob
Join Date: Sep 2008
Location: Monkey Island
Posts: 997
|
|
28 March 2010, 22:03 | #90 |
Registered User
|
any news/update ?
|
05 April 2010, 17:46 | #91 |
Registered User
|
up ?
|
07 April 2010, 09:11 | #92 |
PUAE maintainer
Join Date: Feb 2010
Location: fort lauderdale
Posts: 195
|
yet another "i'm alive" release.. a lot has changed, i mean "a lot"..
this may not work for you so let me the error messages you get and we'll sort them out.. http://www.gamzeguckiran.com/puaex_2010_04_07.tgz ________ herbal vaporizers Last edited by GnoStiC; 20 January 2011 at 11:14. |
07 April 2010, 09:47 | #93 |
Linux snob
Join Date: Sep 2008
Location: Monkey Island
Posts: 997
|
Here we go
Code:
audio.c:939: error: storage size of ‘sdpaula’ isn’t known Code:
/*static struct sound_data sdpaula; *static struct sound_data *sdp = &sdpaula; */ Code:
debug.c:(.text+0x5707): undefined reference to `totupper' Code:
zfile.o: In function `extadf': zfile.c:(.text+0x2544): undefined reference to `zfile_seterror' zfile.c:(.text+0x25ec): undefined reference to `zfile_seterror' zfile.o: In function `fdi': zfile.c:(.text+0x2da1): undefined reference to `zfile_seterror' zfile.c:(.text+0x2e5d): undefined reference to `zfile_seterror' zfile.o: In function `dsq': zfile.c:(.text+0x3108): undefined reference to `archive_directory_lzx' zfile.c:(.text+0x312d): undefined reference to `archive_access_lzx' zfile.c:(.text+0x33ad): undefined reference to `zfile_fclose_archive' filesys.o: In function `filesys_media_change': filesys.c:(.text+0x1f20): undefined reference to `filesys_delayed_change' filesys.c:(.text+0x2000): undefined reference to `filesys_eject' filesys.c:(.text+0x207f): undefined reference to `target_get_volume_name' filesys.c:(.text+0x21ae): undefined reference to `filesys_insert' filesys.c:(.text+0x2203): undefined reference to `filesys_insert' |
07 April 2010, 10:36 | #94 | |
Registered User
Join Date: Apr 2006
Location: Sydney / Australia
Posts: 113
|
Quote:
Code:
In file included from memory.c:9: ../../src/od-generic/memory.c: In function ‘preinit_shm’: ../../src/od-generic/memory.c:115: error: ‘_SC_PHYS_PAGES’ undeclared (first use in this function) The relevant lines of code are: Code:
totalphys64 = sysconf (_SC_PHYS_PAGES) * sysconf (_SC_PAGESIZE); total64 = (uae_u64)sysconf (_SC_PHYS_PAGES) * (uae_u64)sysconf (_SC_PAGESIZE); Code:
#ifdef __APPLE__ int mib[2]; size_t len; mib[0] = CTL_HW; mib[1] = HW_MEMSIZE; /* gives a 64 bit int */ len = sizeof(totalphys64); sysctl(mib, 2, &totalphys64, &len, NULL, 0); total64 = (uae_u64) totalphys64; #else totalphys64 = sysconf (_SC_PHYS_PAGES) * sysconf (_SC_PAGESIZE); total64 = (uae_u64)sysconf (_SC_PHYS_PAGES) * (uae_u64)sysconf (_SC_PAGESIZE); #endif Code:
#include <sys/sysctl.h> Unfortunately I haven't figured out the second error yet: Code:
In file included from compemu_support.c:608: compemu_raw_x86.c:1997: warning: ‘struct sigcontext’ declared inside parameter list compemu_raw_x86.c:1997: warning: its scope is only this definition or declaration, which is probably not what you want compemu_raw_x86.c:1997: error: parameter 2 (‘sc’) has incomplete type |
|
07 April 2010, 12:24 | #95 |
Registered User
|
./bootstrap ok
./configuration ok ./make ok ./uae ok start : segmentation error |
07 April 2010, 12:49 | #96 |
PUAE maintainer
Join Date: Feb 2010
Location: fort lauderdale
Posts: 195
|
@gilgamesh & xaind: fixed (i hope)
@foul: 1) load uae within debugger; "gdb uae" 2) "r"(un) 3) after the crash; "bt" 4) "q"(uit) copy paste the bt result here.. ________ silver surfer vaporizer Last edited by GnoStiC; 20 January 2011 at 11:14. |
07 April 2010, 13:03 | #97 |
Registered User
|
Code:
foul@Foulnux:~$ gdb uae GNU gdb (GDB) 7.0-ubuntu Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/local/bin/uae...done. (gdb) r Starting program: /usr/local/bin/uae [Thread debugging using libthread_db enabled] [New Thread 0x7fffeb2fb910 (LWP 2235)] [New Thread 0x7fffeaafa910 (LWP 2236)] PUAE 2.1.0 Build date: Mar 24 2010 23:24:13 SDLGFX: Initialized. SDLGFX: Using SDL version 1.2.13. SDLGFX: Display is 32 bits deep. SDLGFX: Found screenmode: 1680x1050. SDLGFX: Found screenmode: 1600x1024. SDLGFX: Found screenmode: 1440x900. SDLGFX: Found screenmode: 1400x1050. SDLGFX: Found screenmode: 1360x768. SDLGFX: Found screenmode: 1280x1024. SDLGFX: Found screenmode: 1280x960. SDLGFX: Found screenmode: 1152x864. SDLGFX: Found screenmode: 1024x768. SDLGFX: Found screenmode: 960x720. SDLGFX: Found screenmode: 960x600. SDLGFX: Found screenmode: 960x540. SDLGFX: Found screenmode: 928x696. SDLGFX: Found screenmode: 896x672. SDLGFX: Found screenmode: 840x525. SDLGFX: Found screenmode: 832x624. SDLGFX: Found screenmode: 800x600. SDLGFX: Found screenmode: 800x512. SDLGFX: Found screenmode: 720x450. SDLGFX: Found screenmode: 720x400. SDLGFX: Found screenmode: 700x525. SDLGFX: Found screenmode: 680x384. SDLGFX: Found screenmode: 640x512. SDLGFX: Found screenmode: 640x480. SDLGFX: Found screenmode: 640x400. SDLGFX: Found screenmode: 640x350. SDLGFX: Found screenmode: 576x432. SDLGFX: Found screenmode: 512x384. SDLGFX: Found screenmode: 416x312. SDLGFX: Found screenmode: 400x300. SDLGFX: Found screenmode: 360x200. SDLGFX: Found screenmode: 320x240. Found 3 joystick(s) Found x11pc raw keyboard mapping Using cooked keymap Opening cfgfile '/home/foul/.uaerc'...failed Opening cfgfile '.uaerc'...failed Testing the RDTSC instruction ... done. TSC frequency: 2999,000000 MHz [New Thread 0x7fffe9914910 (LWP 2243)] [Thread 0x7fffe9914910 (LWP 2243) exited] Found x11pc raw keyboard mapping Using cooked keymap Found x11pc raw keyboard mapping Using cooked keymap Entered action_replay_load() ROM loader.. Rmemory init end SDLGFX: Added P96 mode: 320x200x32 SDLGFX: Added P96 mode: 320x200x8 SDLGFX: Added P96 mode: 320x240x32 SDLGFX: Added P96 mode: 320x240x8 SDLGFX: Added P96 mode: 320x256x32 SDLGFX: Added P96 mode: 320x256x8 SDLGFX: Added P96 mode: 320x400x32 SDLGFX: Added P96 mode: 320x400x8 SDLGFX: Added P96 mode: 640x350x32 SDLGFX: Added P96 mode: 640x350x8 SDLGFX: Added P96 mode: 640x480x32 SDLGFX: Added P96 mode: 640x480x8 SDLGFX: Added P96 mode: 640x512x32 SDLGFX: Added P96 mode: 640x512x8 SDLGFX: Added P96 mode: 800x600x32 SDLGFX: Added P96 mode: 800x600x8 SDLGFX: Added P96 mode: 1024x768x32 SDLGFX: Added P96 mode: 1024x768x8 SDLGFX: Added P96 mode: 1152x864x32 SDLGFX: Added P96 mode: 1152x864x8 SDLGFX: Added P96 mode: 1280x1024x32 SDLGFX: Added P96 mode: 1280x1024x8 SDLGFX: Added P96 mode: 1680x1050x32 SDLGFX: Added P96 mode: 1680x1050x8 SDLGFX: Added P96 mode: 1600x1024x32 SDLGFX: Added P96 mode: 1600x1024x8 SDLGFX: Added P96 mode: 1440x900x32 SDLGFX: Added P96 mode: 1440x900x8 SDLGFX: Added P96 mode: 1400x1050x32 SDLGFX: Added P96 mode: 1400x1050x8 SDLGFX: Added P96 mode: 1360x768x32 SDLGFX: Added P96 mode: 1360x768x8 SDLGFX: Added P96 mode: 1280x960x32 SDLGFX: Added P96 mode: 1280x960x8 SDLGFX: Added P96 mode: 960x720x32 SDLGFX: Added P96 mode: 960x720x8 SDLGFX: Added P96 mode: 960x600x32 SDLGFX: Added P96 mode: 960x600x8 SDLGFX: Added P96 mode: 960x540x32 SDLGFX: Added P96 mode: 960x540x8 SDLGFX: Added P96 mode: 928x696x32 SDLGFX: Added P96 mode: 928x696x8 SDLGFX: Added P96 mode: 896x672x32 SDLGFX: Added P96 mode: 896x672x8 SDLGFX: Added P96 mode: 840x525x32 SDLGFX: Added P96 mode: 840x525x8 SDLGFX: Added P96 mode: 832x624x32 SDLGFX: Added P96 mode: 832x624x8 SDLGFX: Added P96 mode: 800x512x32 SDLGFX: Added P96 mode: 800x512x8 SDLGFX: Added P96 mode: 720x450x32 SDLGFX: Added P96 mode: 720x450x8 SDLGFX: Added P96 mode: 720x400x32 SDLGFX: Added P96 mode: 720x400x8 SDLGFX: Added P96 mode: 700x525x32 SDLGFX: Added P96 mode: 700x525x8 SDLGFX: Added P96 mode: 680x384x32 SDLGFX: Added P96 mode: 680x384x8 SDLGFX: Added P96 mode: 640x400x32 SDLGFX: Added P96 mode: 640x400x8 SDLGFX: Added P96 mode: 576x432x32 SDLGFX: Added P96 mode: 576x432x8 SDLGFX: Added P96 mode: 512x384x32 SDLGFX: Added P96 mode: 512x384x8 No disk in drive 0. CPU cycleunit: 256 (0,500) Building CPU table for configuration: 68030 1876 CPU functions Building CPU, 45975 opcodes (3 0 0) CPU=68030, FPU=0, JIT=0. Program received signal SIGSEGV, Segmentation fault. 0x0000000003bf1004 in ?? () (gdb) bt #0 0x0000000003bf1004 in ?? () #1 0x0000000000000000 in ?? () (gdb) q A debugging session is active. Inferior 1 [process 2229] will be killed. Quit anyway? (y or n) y foul@Foulnux:~$ |
07 April 2010, 13:23 | #98 | |
PUAE maintainer
Join Date: Feb 2010
Location: fort lauderdale
Posts: 195
|
1) march 24 and 2.1.0?
version should be 2.1.20 and if you've compiled today, build date should be Apr 7? 2) you're in your home folder, is that the directory where uae resides? Quote:
volcano digital vaporizer Last edited by GnoStiC; 20 January 2011 at 11:14. |
|
07 April 2010, 13:45 | #99 |
Registered User
|
uhmmm weird .. i've got 3 uae bin ...
/usr/bin/uae : from ubuntu's package (e-uae 0.8.29) : Working /usr/bin/local/uae : from old compilation puae 2.1.0 /usr/bin/local/i586-uae : puae 2.1.0 and nothing about 2.1.20 !!! Code:
./configure --with-sdl-sound --with-sdl-gfx --with-sdl-gl --enable-gccopt ... ok... foul@Foulnux:~/Téléchargements/puaex$ make Making all in src make[1]: entrant dans le répertoire « /home/foul/Téléchargements/puaex/src » make all-recursive ... cpuemu_0.c: In function ‘op_d170_4_ff’: cpuemu_0.c:38487: warning: comparison of promoted ~unsigned with unsigned make[3]: *** [cpuemu_0.o] Erreur 1 make[3]: quittant le répertoire « /home/foul/Téléchargements/puaex/src » make[2]: *** [all-recursive] Erreur 1 make[2]: quittant le répertoire « /home/foul/Téléchargements/puaex/src » make[1]: *** [all] Erreur 2 make[1]: quittant le répertoire « /home/foul/Téléchargements/puaex/src » make: *** [all-recursive] Erreur 1 |
07 April 2010, 14:01 | #100 | |
PUAE maintainer
Join Date: Feb 2010
Location: fort lauderdale
Posts: 195
|
so it should be src/uae but you get "Erreur 1"..
i need to see the whole compilation output to comment :/ Quote:
vaporizers Last edited by GnoStiC; 20 January 2011 at 11:14. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
E-UAE for Mac | VerizonLover | support.OtherUAE | 1 | 20 August 2012 07:18 |
FS-UAE For Mac | webneta | support.FS-UAE | 10 | 12 May 2012 16:10 |
Install Workbench3.1 E-UAE Mac OS | popto | support.OtherUAE | 6 | 08 August 2011 14:06 |
What's needed to compiling PUAE on Mac OS X | nexusle | support.OtherUAE | 0 | 28 July 2010 21:03 |
Any UAE for G3 Mac running Ubuntu? | Fingerlickin_B | support.OtherUAE | 7 | 05 February 2008 11:34 |
|
|