UAE4All 2.0


john4p

Active Member
Joined
Feb 29, 2008
Messages
992
Location
Germany
More than a year ago an engineer with a lot of knowledge and experience with Amigas (and preceding Commodore computers) took AnotherGuest's UAE4All Symbian sources, our Pandora sources, some PocketUAE stuff and then added big new features (with help from Toni Wilen) to his enhanced Symbian version of UAE4All:


- AGA support


- harddisk support (HDFs and HD-directories) //<- I think AnotherGuest added this one first


- 68020 support


- memory settings


Yesterday AnotherGuest has sent me these sources (which he also had made some changes to).


I've incorporated the new stuff to our Pandora version and (after adapting a little here and there) it all compiles now.


But there are a lot of linker errors which I can't resolve.


Thus here are now the new Pandora sources:


uae4all_aga_pandora_src.zip


They already include the object-files and a Makefile for Pandora - so if you were to build on Pandora just "make" and you should get the linker errors right away.


Which are:



Code:
src/blitter.o: In function `blitnasty()':

blitter.cpp:(.text+0x1718): undefined reference to `mispcflags'

src/blitter.o: In function `do_blitter()':

blitter.cpp:(.text+0x1a0c): undefined reference to `mispcflags'

src/blitter.o: In function `blitter_handler()':

blitter.cpp:(.text+0x2a64): undefined reference to `mispcflags'

src/blitter.o: In function `maybe_blit(int)':

blitter.cpp:(.text+0x2b40): undefined reference to `mispcflags'

src/cfgfile.o: In function `parse_cmdline_option(char, char*)':

cfgfile.cpp:(.text+0x944): undefined reference to `usage()'

src/cfgfile.o: In function `save_options(_IO_FILE*, uae_prefs*)':

cfgfile.cpp:(.text+0x1860): undefined reference to `target_save_options(_IO_FILE*, uae_prefs*)'

src/cfgfile.o: In function `cfgfile_parse_option(uae_prefs*, char*, char*)':

cfgfile.cpp:(.text+0x2b08): undefined reference to `target_parse_option(uae_prefs*, char*, char*)'

src/custom.o: In function `start_copper()':

custom.cpp:(.text+0x658): undefined reference to `mispcflags'

src/custom.o: In function `predict_copper()':

custom.cpp:(.text+0xfe0): undefined reference to `mispcflags'

src/custom.o: In function `copper_handler()':

custom.cpp:(.text+0x1050): undefined reference to `mispcflags'

src/custom.o: In function `blitter_done_notify()':

custom.cpp:(.text+0x1134): undefined reference to `mispcflags'

src/custom.o: In function `DMACON(int, unsigned short)':

custom.cpp:(.text+0xa1f8): undefined reference to `mispcflags'

src/custom.o:custom.cpp:(.text+0xb434): more undefined references to `mispcflags' follow

src/custom.o: In function `hsync_handler()':

custom.cpp:(.text+0x114c8): undefined reference to `next_vpos'

src/disk.o: In function `save_disk(int, int*)':

disk.cpp:(.text+0x1214): undefined reference to `m68k_speed'

src/disk.o: In function `restore_disk(int, unsigned char*)':

disk.cpp:(.text+0x129c): undefined reference to `check_prefs_changed_cpu()'

disk.cpp:(.text+0x143c): undefined reference to `m68k_speed'

src/drawing.o: In function `check_all_prefs()':

drawing.cpp:(.text+0x40d0): undefined reference to `check_prefs_changed_cpu()'

src/drawing.o: In function `vsync_handle_redraw(int, int)':

drawing.cpp:(.text+0x7a08): undefined reference to `mispcflags'

src/expansion.o: In function `expamem_map_filesys()':

expansion.cpp:(.text+0x107c): undefined reference to `here()'

expansion.cpp:(.text+0x1088): undefined reference to `org(unsigned int)'

expansion.cpp:(.text+0x1094): undefined reference to `dl(unsigned int)'

expansion.cpp:(.text+0x109c): undefined reference to `org(unsigned int)'

src/expansion.o: In function `expamem_init_filesys()':

expansion.cpp:(.text+0x1538): undefined reference to `EXPANSION_bootcode'

src/filesys.o: In function `filesys_install_code()':

filesys.cpp:(.text+0x4ac): undefined reference to `align(int)'

filesys.cpp:(.text+0x4b0): undefined reference to `here()'

filesys.cpp:(.text+0x4c0): undefined reference to `here()'

filesys.cpp:(.text+0x4d4): undefined reference to `db(unsigned char)'

filesys.cpp:(.text+0x4dc): undefined reference to `db(unsigned char)'

filesys.cpp:(.text+0x4e4): undefined reference to `db(unsigned char)'

filesys.cpp:(.text+0x4ec): undefined reference to `db(unsigned char)'

filesys.cpp:(.text+0x4f4): undefined reference to `db(unsigned char)'

src/filesys.o:filesys.cpp:(.text+0x4fc): more undefined references to `db(unsigned char)' follow

src/filesys.o: In function `filesys_install_code()':

filesys.cpp:(.text+0x14b4): undefined reference to `EXPANSION_bootcode'

filesys.cpp:(.text+0x14c0): undefined reference to `db(unsigned char)'

filesys.cpp:(.text+0x14c8): undefined reference to `db(unsigned char)'

filesys.cpp:(.text+0x14d0): undefined reference to `db(unsigned char)'

filesys.cpp:(.text+0x14d8): undefined reference to `db(unsigned char)'

filesys.cpp:(.text+0x14e0): undefined reference to `db(unsigned char)'

src/filesys.o:filesys.cpp:(.text+0x14e8): more undefined references to `db(unsigned char)' follow

src/filesys.o: In function `filesys_install()':

filesys.cpp:(.text+0x810c): undefined reference to `ds(char*)'

filesys.cpp:(.text+0x8120): undefined reference to `ds(char*)'

filesys.cpp:(.text+0x8130): undefined reference to `ds(char*)'

filesys.cpp:(.text+0x813c): undefined reference to `here()'

filesys.cpp:(.text+0x8154): undefined reference to `deftrap2(unsigned int (*)(), int, char const*)'

filesys.cpp:(.text+0x8158): undefined reference to `calltrap(unsigned int)'

filesys.cpp:(.text+0x8160): undefined reference to `dw(unsigned short)'

filesys.cpp:(.text+0x8164): undefined reference to `here()'

filesys.cpp:(.text+0x8170): undefined reference to `org(unsigned int)'

filesys.cpp:(.text+0x8180): undefined reference to `deftrap2(unsigned int (*)(), int, char const*)'

filesys.cpp:(.text+0x8184): undefined reference to `calltrap(unsigned int)'

filesys.cpp:(.text+0x818c): undefined reference to `dw(unsigned short)'

filesys.cpp:(.text+0x8194): undefined reference to `org(unsigned int)'

filesys.cpp:(.text+0x81a4): undefined reference to `deftrap2(unsigned int (*)(), int, char const*)'

filesys.cpp:(.text+0x81a8): undefined reference to `calltrap(unsigned int)'

filesys.cpp:(.text+0x81b0): undefined reference to `dw(unsigned short)'

filesys.cpp:(.text+0x81b8): undefined reference to `org(unsigned int)'

filesys.cpp:(.text+0x81c8): undefined reference to `deftrap2(unsigned int (*)(), int, char const*)'

filesys.cpp:(.text+0x81cc): undefined reference to `calltrap(unsigned int)'

filesys.cpp:(.text+0x81d4): undefined reference to `dw(unsigned short)'

filesys.cpp:(.text+0x81dc): undefined reference to `org(unsigned int)'

filesys.cpp:(.text+0x81ec): undefined reference to `deftrap2(unsigned int (*)(), int, char const*)'

filesys.cpp:(.text+0x81f0): undefined reference to `calltrap(unsigned int)'

filesys.cpp:(.text+0x81f8): undefined reference to `dw(unsigned short)'

filesys.cpp:(.text+0x8200): undefined reference to `org(unsigned int)'

filesys.cpp:(.text+0x8210): undefined reference to `deftrap2(unsigned int (*)(), int, char const*)'

filesys.cpp:(.text+0x8214): undefined reference to `calltrap(unsigned int)'

filesys.cpp:(.text+0x821c): undefined reference to `dw(unsigned short)'

filesys.cpp:(.text+0x8224): undefined reference to `org(unsigned int)'

filesys.cpp:(.text+0x8234): undefined reference to `deftrap2(unsigned int (*)(), int, char const*)'

filesys.cpp:(.text+0x8238): undefined reference to `calltrap(unsigned int)'

filesys.cpp:(.text+0x8240): undefined reference to `dw(unsigned short)'

filesys.cpp:(.text+0x8248): undefined reference to `org(unsigned int)'

filesys.cpp:(.text+0x8258): undefined reference to `deftrap2(unsigned int (*)(), int, char const*)'

filesys.cpp:(.text+0x825c): undefined reference to `calltrap(unsigned int)'

filesys.cpp:(.text+0x8264): undefined reference to `dw(unsigned short)'

filesys.cpp:(.text+0x826c): undefined reference to `org(unsigned int)'

src/filesys.o: In function `filesys_start_threads()':

filesys.cpp:(.text+0xa678): undefined reference to `ds(char*)'

src/filesys.o: In function `filesys_diagentry()':

filesys.cpp:(.text+0xb89c): undefined reference to `EXPANSION_explibname'

filesys.cpp:(.text+0xb8a4): undefined reference to `EXPANSION_doslibname'

src/main.o: In function `do_start_program()':

main.cpp:(.text+0x33c): undefined reference to `m68k_go(int)'

src/main.o: In function `uae_reset()':

main.cpp:(.text+0x3d8): undefined reference to `mispcflags'

src/main.o: In function `default_prefs()':

main.cpp:(.text+0x494): undefined reference to `keymappings'

src/main.o: In function `start_program()':

main.cpp:(.text+0x4fc): undefined reference to `m68k_go(int)'

src/main.o: In function `real_main(int, char**)':

main.cpp:(.text+0x5b4): undefined reference to `hardfile_install()'

main.cpp:(.text+0x64c): undefined reference to `m68k_go(int)'

src/memory.o: In function `memory_reset()':

memory.cpp:(.text+0x26c4): undefined reference to `prefs_cpu_model'

src/native2amiga.o: In function `uae_FreeMem(unsigned int, unsigned int)':

native2amiga.cpp:(.text+0xd0): undefined reference to `CallLib(unsigned int, short)'

src/native2amiga.o: In function `uae_AllocMem(unsigned int, unsigned int)':

native2amiga.cpp:(.text+0x130): undefined reference to `CallLib(unsigned int, short)'

src/gui.o: In function `gui_handle_events()':

gui.cpp:(.text+0x196c): undefined reference to `m68k_speed'

src/gui.o: In function `gui_init()':

gui.cpp:(.text+0x2944): undefined reference to `m68k_speed'

src/sound_gp2x.o: In function `sound_default_evtime()':

sound_gp2x.cpp:(.text+0x678): undefined reference to `m68k_speed'

src/m68k/fame/famec.o: In function `OP_0x40C0()':

famec.cpp:(.text+0x3f9c): undefined reference to `prefs_cpu_model'

src/m68k/fame/famec.o: In function `OP_0x48E0()':

famec.cpp:(.text+0x349ec): undefined reference to `prefs_cpu_model'

src/m68k/fame/famec.o: In function `OP_0x48E7()':

famec.cpp:(.text+0x34ab0): undefined reference to `prefs_cpu_model'

src/m68k/fame/famec.o: In function `OP_0x48A0()':

famec.cpp:(.text+0x36b8c): undefined reference to `prefs_cpu_model'

src/m68k/fame/famec.o: In function `OP_0x40DF()':

famec.cpp:(.text+0x37200): undefined reference to `prefs_cpu_model'

src/m68k/fame/famec.o:famec.cpp:(.text+0x37378): more undefined references to `prefs_cpu_model' follow

src/m68k/fame/m68k_intrf.o: In function `uae_chk_handler(unsigned int)':

m68k_intrf.cpp:(.text+0x8b8): undefined reference to `mispcflags'

collect2: ld returned 1 exit status

make: *** [uae4all] Error 1

pandora:/media/mmcblk0p1/dev/uae4all_aga_pandora_src$





Here are the original sources AnotherGuest has sent me:

uae4all_aga.zip



According to the README_Symbian the engineer wants to remain "Anonymous".





AnotherGuest also had this info about his Symbian UAE4All attached:



Code:
AGA_tested.txt


* Not working *

---------------

Breathless - black screen

Fire & Ice CD32 (WHDLoad) - crashes

Flink CD32 (WHDLoad) - exits

Kid Chaos CD32 (WHDLoad) - crashes

Motorola Invaders 2 - exits

Ryder Cup - Johnnie Walker - crashes

SkidMarks - click on SKIDMARKS doesn't start the game (both OCS & AGA)

Virocop - crashes/freezes

XP8 (WHDLoad) - bullet collisions don't work, but ship collisions do

	  (you can't shoot anything down, but everything can shoot you down)




* Some problems *

-----------------

Banshee (WHDLoad) - occasional screen flashing

Defender of the Crown 2 CD32 (WHDLoad) - incorrect colors

Deluxe Galaga (WHDLoad) - player ship gfx problems

Disposable Hero CD32 (WHDLoad) - menu gfx garbage, in-game OK

Fatman the Caped Consumer - some sprite flickering when it rains

Fightin' Spirit - incorrect colors

Guy Spy CD32 (WHDLoad) - screen flashing

Humans CD32 (WHDLoad) - menu gfx garbage, in-game OK

Star Trek 25th Anniversary - doesn't work with WB 3.1, works with ClassicWB and AmigaSYS4AGA

Super SkidMarks - occasional screen flashing

Super Stardust (WHDLoad) - sprite problems

Tubular Worlds - jittery movement

Wheelspin - menu gfx garbage, in-game OK

Zool - some sprite garbage



* Working * (floppy & WHDLoad 17.0)

-----------

Action Cat

Aladdin

Alfred Chicken

Alien Breed 2 (WHDLoad)

Alien Breed - Tower Assault

Alien Syndrome (WHDLoad)

All New World of Lemmings

Arcade Pool

Base Jumpers CD32 (WHDLoad)

Beneath a Steel Sky CD32 (WHDLoad)

Benefactor CD32 (WHDLoad)

Battlestorm CDTV (WHDLoad)

Black Viper (WHDLoad)

BloodNet

Body Blows

Body Blows Galactic

Bograts

BombPac CD32 (WHDLoad)

Brian the Lion

Brutal Football

Bubba'n'Stix CD32 (WHDLoad)

Bubble & Squeak (WHDLoad)

Burning Rubber (WHDLoad)

Burntime

Castles 2 CD32 (WHDLoad)

Chaos Engine (WHDLoad)

Chaos Engine 2

Charlie J Cool

Chuck Rock 2 CD32 (WHDLoad)

Civilization

Clue!

Colonization

D-Generation

Dangerous Streets

Dark Seed CD32 (WHDLoad)

Death Mask

Deconstruction (WHDLoad)

Defender of the Crown CDTV (WHDLoad)

Deluxe Pacman

Dennis (WHDLoad)

Detroit

Diggers

Donk!

Dragon Tiles

Dragon Stone CD32 (WHDLoad)

DreamWeb

Exile

Fantasy Flyer

Fears

Fields of Glory

Fire Force CD32 (WHDLoad)

Football Glory

Frontier CD32 (WHDLoad)

Fury of the Furries CD32 (WHDLoad)

Galaga '92

Gloom

Guardian

Harry's Balloons

Heimdall 2

High Seas Trader

Hilt

Hoi Remix

Impossible Mission 2025

International Karate+ CD32 (WHDLoad)

International Open Golf Championship

Ishar

Ishar 2

Ishar 3

James Pond 2

James Pond 3

Jetstrike

Jungle Strike

Jurassic Park (WHDLoad)

Last Ninja 3 CD32 (WHDLoad)

Leading Lap MPV

Legends

Liberation - Captive II

Lion King

Logical CDTV (WHDLoad)

Lords of the Realm

Lost Vikings CD32 (WHDLoad)

Lunar-C CD32 (WHDLoad)

Marvin's Marvellous Adventure

MAX Rally

Mean Arenas CD32 (WHDLoad)

Minskies (WHDLoad)

Morph

Myth - History in Making CD32 (WHDLoad)

Naughty Ones

Nigel Mansell's World Championship

Nobunaga's Ambition

OnEscapee

Oscar

Overkill

Penguins

PGA European Tour (WHDLoad)

Pierre le Chef is... Out to Lunch (WHDLoad)

Pinball Fantasies (WHDLoad)

Pinball Illusions

Pinball Mania

Pinball Prelude

Pirates Gold CD32 (WHDLoad)

Power Pinball CDTV (WHDLoad)

Premiere CD32 (WHDLoad)

Primal Rage (WHDLoad)

Puffy's Saga

Putty CD32 (WHDLoad)

Quasar Wars

Quik the Thunder Rabbit (WHDLoad)

Qwak CD32 (WHDLoad)

Raffles CD32 (WHDLoad)

Rally Championships

Reunion

Rise of the Robots

Roadkill (WHDLoad)

Roketz

Sabre Team

Second Samurai (WHDLoad)

Shadow Fighter

Shaq Fu (WHDLoad)

Simon the Sorcerer

Skeleton Krew (WHDLoad)

Slam Tilt

Sleepwalker (WHDLoad)

Soccer Kid

Speedbal 2 CD32 (WHDLoad)

Speris Legacy

Subwar 2050

Superfrog CD32 (WHDLoad)

Super League Manager

Super Loopz (WHDLoad)

Super Methane Bros CD32 (WHDLoad)

Super Street Fighter 2 (WHDLoad)

Surf Ninjas (WHDLoad)

Theme Park (WHDLoad)

Thomas the Tank Engine and Friends Pinball

Tin Toy Adventure in the House of Fun

Tiny Troops CD32 (WHDLoad)

Top Gear 2

Total Carnage (WHDLoad)

Tower of Souls

Transarctica

Treasure Island Dizzy CD32 (WHDLoad)

Trolls

Tube Warriors (WHDLoad)

Turrican 2 CDTV (WHDLoad)

UFO - Enemy Unknown

Uridium 2

Virtual Karting 2 (WHDLoad)

Watchtower

When Two Worlds War

Whizz (WHDLoad)

Wingnuts (HD installed)

Winter Olympics (WHDLoad)

Worms CD32 (WHDLoad)

Worms - The Director's Cut

Wrath of the Demon CDTV (WHDLoad)

X-Swap

Xennon 2 CDTV (WHDLoad)

XTreme Racing

Zool 2 (WHDLoad)
 

Attachments

  • uae4all_aga_pandora_src.zip
    1.7 MB · Views: 228
  • uae4all_aga.zip
    777.3 KB · Views: 209
Last edited by a moderator:
Man that's cool.Hope someone takes a look at this.Maybe aga will benefit from the extra speed of a 1ghz pandora.it would be nice if it ran on 600mhz pandoras too for those that have the original pandora.
 
Does anyone know how fast the Symbian version ran, and what specification device it ran on?
 
This is rather well timed!
Yes it is.Also I posted in the 1ghz section about the sources for Fs-uae being freely available with a link to the sources.A forum member is looking at the source.It's a very good amiga emu also apparently.If he wants to continue and compile port it maybe we should give him a 1ghz pandora.Ive offered to donate 200 euro towards one for him in the thread.
 
After reading this I was hoping that mysterious engineer would clean up this source a bit, but it's still unmaintainable hell, if not worse..
 
Last edited by a moderator:
Is the makefile building m68k/m68k_cmn_intrf.cpp ? This is where void m68k_go(int) and void check_prefs_changed_cpu() reside, both of which are causing linker problems.
 
Man that's cool.Hope someone takes a look at this.Maybe aga will benefit from the extra speed of a 1ghz pandora.it would be nice if it ran on 600mhz pandoras too for those that have the original pandora.
Does anyone know how fast the Symbian version ran, and what specification device it ran on?
According to AnotherGuest Pinball Fantasies AGA ran only 3-4 frames slower than the standard ECS-version (which is fullspeed at 500MHz on Pandora).


I can only guess but I think Pinball Fantasies AGA should run fullspeed at 600MHz on Pandora, while Pinball Illusions and Slam Tilt probably might run fullspeed at 700MHz.

This is rather well timed!
If I had received the sources earlier I would've participated in the rebirth compo...

After reading this I was hoping that mysterious engineer would clean up this source a bit, but it's still unmaintainable hell, if not worse..
Sad but true.

Is the makefile building m68k/m68k_cmn_intrf.cpp ? This is where void m68k_go(int) and void check_prefs_changed_cpu() reside, both of which are causing linker problems.
No, it's only building m68k/fame/m68k_intrf.cpp. Because of the similar names I must've overlooked this. Thanks for the pointer - I'll try if adding it to the Makefile helps.
 
Thank you, Dave - adding m68k/m68k_cmn_intrf.o to the Makefile helped. Less errors now.


You were right about hardfile.cpp, too. Adding this was necessary but sadly multiplied the amount of linking errors (but they're mostly identical to the undefined references for filesys.cpp).


Now the output is:



Code:
src/cfgfile.o: In function `parse_cmdline_option(char, char*)':

cfgfile.cpp:(.text+0x944): undefined reference to `usage()'

src/cfgfile.o: In function `save_options(_IO_FILE*, uae_prefs*)':

cfgfile.cpp:(.text+0x1860): undefined reference to `target_save_options(_IO_FILE*, uae_prefs*)'

src/cfgfile.o: In function `cfgfile_parse_option(uae_prefs*, char*, char*)':

cfgfile.cpp:(.text+0x2b08): undefined reference to `target_parse_option(uae_prefs*, char*, char*)'

src/expansion.o: In function `expamem_map_filesys()':

expansion.cpp:(.text+0x107c): undefined reference to `here()'

expansion.cpp:(.text+0x1088): undefined reference to `org(unsigned int)'

expansion.cpp:(.text+0x1094): undefined reference to `dl(unsigned int)'

expansion.cpp:(.text+0x109c): undefined reference to `org(unsigned int)'

src/expansion.o: In function `expamem_init_filesys()':

expansion.cpp:(.text+0x1538): undefined reference to `EXPANSION_bootcode'

src/filesys.o: In function `filesys_install_code()':

filesys.cpp:(.text+0x4ac): undefined reference to `align(int)'

filesys.cpp:(.text+0x4b0): undefined reference to `here()'

filesys.cpp:(.text+0x4c0): undefined reference to `here()'

filesys.cpp:(.text+0x4d4): undefined reference to `db(unsigned char)'

filesys.cpp:(.text+0x4dc): undefined reference to `db(unsigned char)'

filesys.cpp:(.text+0x4e4): undefined reference to `db(unsigned char)'

filesys.cpp:(.text+0x4ec): undefined reference to `db(unsigned char)'

filesys.cpp:(.text+0x4f4): undefined reference to `db(unsigned char)'

src/filesys.o:filesys.cpp:(.text+0x4fc): more undefined references to `db(unsigned char)' follow

src/filesys.o: In function `filesys_install_code()':

filesys.cpp:(.text+0x14b4): undefined reference to `EXPANSION_bootcode'

filesys.cpp:(.text+0x14c0): undefined reference to `db(unsigned char)'

filesys.cpp:(.text+0x14c8): undefined reference to `db(unsigned char)'

filesys.cpp:(.text+0x14d0): undefined reference to `db(unsigned char)'

filesys.cpp:(.text+0x14d8): undefined reference to `db(unsigned char)'

filesys.cpp:(.text+0x14e0): undefined reference to `db(unsigned char)'

src/filesys.o:filesys.cpp:(.text+0x14e8): more undefined references to `db(unsigned char)' follow

src/filesys.o: In function `filesys_install()':

filesys.cpp:(.text+0x810c): undefined reference to `ds(char*)'

filesys.cpp:(.text+0x8120): undefined reference to `ds(char*)'

filesys.cpp:(.text+0x8130): undefined reference to `ds(char*)'

filesys.cpp:(.text+0x813c): undefined reference to `here()'

filesys.cpp:(.text+0x8154): undefined reference to `deftrap2(unsigned int (*)(), int, char const*)'

filesys.cpp:(.text+0x8158): undefined reference to `calltrap(unsigned int)'

filesys.cpp:(.text+0x8160): undefined reference to `dw(unsigned short)'

filesys.cpp:(.text+0x8164): undefined reference to `here()'

filesys.cpp:(.text+0x8170): undefined reference to `org(unsigned int)'

filesys.cpp:(.text+0x8180): undefined reference to `deftrap2(unsigned int (*)(), int, char const*)'

filesys.cpp:(.text+0x8184): undefined reference to `calltrap(unsigned int)'

filesys.cpp:(.text+0x818c): undefined reference to `dw(unsigned short)'

filesys.cpp:(.text+0x8194): undefined reference to `org(unsigned int)'

filesys.cpp:(.text+0x81a4): undefined reference to `deftrap2(unsigned int (*)(), int, char const*)'

filesys.cpp:(.text+0x81a8): undefined reference to `calltrap(unsigned int)'

filesys.cpp:(.text+0x81b0): undefined reference to `dw(unsigned short)'

filesys.cpp:(.text+0x81b8): undefined reference to `org(unsigned int)'

filesys.cpp:(.text+0x81c8): undefined reference to `deftrap2(unsigned int (*)(), int, char const*)'

filesys.cpp:(.text+0x81cc): undefined reference to `calltrap(unsigned int)'

filesys.cpp:(.text+0x81d4): undefined reference to `dw(unsigned short)'

filesys.cpp:(.text+0x81dc): undefined reference to `org(unsigned int)'

filesys.cpp:(.text+0x81ec): undefined reference to `deftrap2(unsigned int (*)(), int, char const*)'

filesys.cpp:(.text+0x81f0): undefined reference to `calltrap(unsigned int)'

filesys.cpp:(.text+0x81f8): undefined reference to `dw(unsigned short)'

filesys.cpp:(.text+0x8200): undefined reference to `org(unsigned int)'

filesys.cpp:(.text+0x8210): undefined reference to `deftrap2(unsigned int (*)(), int, char const*)'

filesys.cpp:(.text+0x8214): undefined reference to `calltrap(unsigned int)'

filesys.cpp:(.text+0x821c): undefined reference to `dw(unsigned short)'

filesys.cpp:(.text+0x8224): undefined reference to `org(unsigned int)'

filesys.cpp:(.text+0x8234): undefined reference to `deftrap2(unsigned int (*)(), int, char const*)'

filesys.cpp:(.text+0x8238): undefined reference to `calltrap(unsigned int)'

filesys.cpp:(.text+0x8240): undefined reference to `dw(unsigned short)'

filesys.cpp:(.text+0x8248): undefined reference to `org(unsigned int)'

filesys.cpp:(.text+0x8258): undefined reference to `deftrap2(unsigned int (*)(), int, char const*)'

filesys.cpp:(.text+0x825c): undefined reference to `calltrap(unsigned int)'

filesys.cpp:(.text+0x8264): undefined reference to `dw(unsigned short)'

filesys.cpp:(.text+0x826c): undefined reference to `org(unsigned int)'

src/filesys.o: In function `filesys_start_threads()':

filesys.cpp:(.text+0xa678): undefined reference to `ds(char*)'

src/filesys.o: In function `filesys_diagentry()':

filesys.cpp:(.text+0xb89c): undefined reference to `EXPANSION_explibname'

filesys.cpp:(.text+0xb8a4): undefined reference to `EXPANSION_doslibname'

src/hardfile.o: In function `hardfile_install()':

hardfile.cpp:(.text+0xcc): undefined reference to `ds(char*)'

hardfile.cpp:(.text+0xe0): undefined reference to `ds(char*)'

hardfile.cpp:(.text+0xf4): undefined reference to `here()'

hardfile.cpp:(.text+0x100): undefined reference to `deftrap(unsigned int (*)())'

hardfile.cpp:(.text+0x104): undefined reference to `calltrap(unsigned int)'

hardfile.cpp:(.text+0x10c): undefined reference to `dw(unsigned short)'

hardfile.cpp:(.text+0x110): undefined reference to `here()'

hardfile.cpp:(.text+0x11c): undefined reference to `deftrap(unsigned int (*)())'

hardfile.cpp:(.text+0x120): undefined reference to `calltrap(unsigned int)'

hardfile.cpp:(.text+0x128): undefined reference to `dw(unsigned short)'

hardfile.cpp:(.text+0x12c): undefined reference to `here()'

hardfile.cpp:(.text+0x138): undefined reference to `deftrap(unsigned int (*)())'

hardfile.cpp:(.text+0x13c): undefined reference to `calltrap(unsigned int)'

hardfile.cpp:(.text+0x144): undefined reference to `dw(unsigned short)'

hardfile.cpp:(.text+0x148): undefined reference to `here()'

hardfile.cpp:(.text+0x154): undefined reference to `deftrap(unsigned int (*)())'

hardfile.cpp:(.text+0x158): undefined reference to `calltrap(unsigned int)'

hardfile.cpp:(.text+0x160): undefined reference to `dw(unsigned short)'

hardfile.cpp:(.text+0x168): undefined reference to `dw(unsigned short)'

hardfile.cpp:(.text+0x170): undefined reference to `dw(unsigned short)'

hardfile.cpp:(.text+0x178): undefined reference to `dw(unsigned short)'

hardfile.cpp:(.text+0x180): undefined reference to `dw(unsigned short)'

src/hardfile.o:hardfile.cpp:(.text+0x188): more undefined references to `dw(unsigned short)' follow

src/hardfile.o: In function `hardfile_install()':

hardfile.cpp:(.text+0x1c4): undefined reference to `here()'

hardfile.cpp:(.text+0x1d0): undefined reference to `deftrap(unsigned int (*)())'

hardfile.cpp:(.text+0x1d4): undefined reference to `calltrap(unsigned int)'

hardfile.cpp:(.text+0x1dc): undefined reference to `dw(unsigned short)'

hardfile.cpp:(.text+0x1e0): undefined reference to `here()'

hardfile.cpp:(.text+0x1ec): undefined reference to `dl(unsigned int)'

hardfile.cpp:(.text+0x1f8): undefined reference to `dl(unsigned int)'

hardfile.cpp:(.text+0x200): undefined reference to `dl(unsigned int)'

hardfile.cpp:(.text+0x208): undefined reference to `dl(unsigned int)'

hardfile.cpp:(.text+0x210): undefined reference to `dl(unsigned int)'

src/hardfile.o:hardfile.cpp:(.text+0x218): more undefined references to `dl(unsigned int)' follow

src/hardfile.o: In function `hardfile_install()':

hardfile.cpp:(.text+0x224): undefined reference to `here()'

hardfile.cpp:(.text+0x230): undefined reference to `dw(unsigned short)'

hardfile.cpp:(.text+0x238): undefined reference to `dw(unsigned short)'

hardfile.cpp:(.text+0x240): undefined reference to `dw(unsigned short)'

hardfile.cpp:(.text+0x248): undefined reference to `dw(unsigned short)'

hardfile.cpp:(.text+0x250): undefined reference to `dw(unsigned short)'

hardfile.cpp:(.text+0x25c): undefined reference to `dl(unsigned int)'

hardfile.cpp:(.text+0x264): undefined reference to `dw(unsigned short)'

hardfile.cpp:(.text+0x26c): undefined reference to `dw(unsigned short)'

hardfile.cpp:(.text+0x274): undefined reference to `dw(unsigned short)'

hardfile.cpp:(.text+0x27c): undefined reference to `dw(unsigned short)'

hardfile.cpp:(.text+0x284): undefined reference to `dw(unsigned short)'

src/hardfile.o:hardfile.cpp:(.text+0x28c): more undefined references to `dw(unsigned short)' follow

src/hardfile.o: In function `hardfile_install()':

hardfile.cpp:(.text+0x2c0): undefined reference to `dl(unsigned int)'

hardfile.cpp:(.text+0x2c8): undefined reference to `dw(unsigned short)'

hardfile.cpp:(.text+0x2cc): undefined reference to `here()'

hardfile.cpp:(.text+0x2dc): undefined reference to `dl(unsigned int)'

hardfile.cpp:(.text+0x2e4): undefined reference to `dl(unsigned int)'

hardfile.cpp:(.text+0x2ec): undefined reference to `dl(unsigned int)'

hardfile.cpp:(.text+0x2f4): undefined reference to `dl(unsigned int)'

hardfile.cpp:(.text+0x354): undefined reference to `EXPANSION_nullfunc'

src/main.o: In function `default_prefs()':

main.cpp:(.text+0x494): undefined reference to `keymappings'

src/native2amiga.o: In function `uae_FreeMem(unsigned int, unsigned int)':

native2amiga.cpp:(.text+0xd0): undefined reference to `CallLib(unsigned int, short)'

src/native2amiga.o: In function `uae_AllocMem(unsigned int, unsigned int)':

native2amiga.cpp:(.text+0x130): undefined reference to `CallLib(unsigned int, short)'

collect2: ld returned 1 exit status

make: *** [uae4all] Error 1

pandora:/media/mmcblk0p1/dev/uae4all_aga_pandora_src$


edit: This is the new Makefile:


Makefile.zip
 

Attachments

  • Makefile.zip
    2.1 KB · Views: 241
Last edited by a moderator:
Did you already grep for the functions and see if there are more files or libs missing?
 
Something like this. Opened all src files with Notepad++ and searched for the functions calltrap and deftrap2 and the pointer EXPANSION_bootcode - they all are defined in autoconf.cpp.


hardfile.cpp and filesys.cpp include autoconf.h so I don't know why there are undefined references.
 
Something like this. Opened all src files with Notepad++ and searched for the functions calltrap and deftrap2 and the pointer EXPANSION_bootcode - they all are defined in autoconf.cpp.


hardfile.cpp and filesys.cpp include autoconf.h so I don't know why there are undefined references.

bad headers?
 
fingers crossed that the collective brainpower of the Pandora devs manages to untangle the twisted code of this, sounds like it good be a fantastic update! :)
 
Something like this. Opened all src files with Notepad++ and searched for the functions calltrap and deftrap2 and the pointer EXPANSION_bootcode - they all are defined in autoconf.cpp.


hardfile.cpp and filesys.cpp include autoconf.h so I don't know why there are undefined references.

bad headers?
It was the macro USE_AUTOCONFIG which enclosed the needed functions in autoconf.cpp. It was disabled in the Makefile. Yesterday I enabled it but that didn't make a difference.


Now I woke up and remembered that I forgot to delete the autoconf.o and tried again - most link errors are gone now.


Try to eliminate the remaining few errors soon...
 
Last edited by a moderator:
It builds now. Thanks @all for the help!


A first beta will follow soon...
 
Thanks to john and everyone that has helped!


Really looking forward to this! :)
 
Back
Top