Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
Who's Online
3 user(s) are online (1 user(s) are browsing Forum)

Members: 2
Guests: 1

impulse, mordesku, more...

Browsing this Thread:   1 Anonymous Users





ScummVM and multiple libs of same name

Joined:
2012/5/29 7:30
Group:
Member
Posts: 588
Offline
Decided to have another look at ScummVM. Last time I looked at it I recall 2 stumbling blocks, one was that while it compiled fine, at linking stage I was left with hundreds of undefined symbols due to the fact there dozens of libs generated, and spread all over the place within the sources, and secondly, some linklibs are named the same as existing link libs.

The 1st problem Im hoping to solve by doing a search for all linklibs within Scymmvm sources and copy every to a newly created drawer then using path add to "add" them to my libs folder, but how to go about multiple versions of a lib with same name (but very different purpose)?

Posted on: 7/20 19:04
Transfer the post to other applications Transfer


Re: ScummVM and multiple libs of same name

Joined:
2004/10/30 17:13
From Ireland
Group:
Member
Posts: 2616
Offline
Are they all linklibs? If you're using Metamake, the %build_linklib rule has a libdir option to put the library somewhere other than the default dir.

Posted on: 7/21 9:15
Transfer the post to other applications Transfer


Re: ScummVM and multiple libs of same name

Joined:
2009/9/27 22:09
Group:
Member
Posts: 1027
Offline
Last time I tried, Scummvm used a customized configure script that was not aware of Aros and did not set an os for the game to link with.

So in the makefile I added to DEFINE -DPOSIX and in config.mk I added line, POSIX = 1, then main linked




EDIT: I checked my notes, and what I eventually did was to edit configure to add aros to the list of posix compatible systems so that _posix=yes.

But imo the main problem is that there are too many engines to link statically and the binary becomes huge (they are designed to be called dynamically).

Good luck beezle

Posted on: 7/22 15:58

Edited by cavemann on 2017/7/23 12:14:29
Transfer the post to other applications Transfer






You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.

[Advanced Search]


Search
Top Posters
1 paolone
paolone
4340
2 magorium
magorium
4095
3 phoenixkonsole
phoenixkonsole
3887
4 nikolaos
nikolaos
3677
5 deadwood
deadwood
2923
6 ncafferkey
ncafferkey
2616
7 mazze
mazze
2207
8 clusteruk
clusteruk
2073
9 Kalamatee
Kalamatee
2023
10 damocles
damocles
1789
© 2004-2017 AROS Exec