Latest Posts

Topic: link error svn r4044

ptah_alexs
Joined: 2009-05-09, 08:41
Posts: 1
Ranking
Just found this site
Posted at: 2009-05-09, 08:55

Debian Sid, Widelands svn4044

Linking ==> 'build/native-debug/widelands' /home/alexs/test/widelands/src/logic/worker.cc:1627: undefined reference to Widelands::IdleWorkerSupply::IdleWorkerSupply(Widelands::Worker&)' /home/alexs/test/widelands/src/logic/worker.cc:928: undefined reference toWidelands::IdleWorkerSupply::set_economy(Widelands::Economy)' collect2: ld returned 1 exit status scons: ** [build/native-debug/widelands] Error 1 scons: building terminated because of errors


Top Quote
Nasenbaer
Avatar
Joined: 2009-02-21, 18:17
Posts: 829
Ranking
One Elder of Players
Location: Germany
Posted at: 2009-05-09, 12:50

Jepp ... :-/

the problem is on all linux platforms. We are working on fixing this problem.

A partly workaround is, to change the file src/Sconscript and to add a:

add_sconscript('logic')

between the add_sconscript('economy') and add_sconscript('map_io')

so that it looks like that:

[...]

add_sconscript('logic')

add_sconscript('economy')

add_sconscript('logic')

add_sconscript('map_io')

[...]


Top Quote
Magor
Joined: 2009-03-30, 07:38
Posts: 36
Ranking
Pry about Widelands
Location: Königswinter, Germany
Posted at: 2009-05-09, 21:32

Nasenbaer wrote: the problem is on all linux platforms. We are working on fixing this problem.

Good. It is weekend, my wife is away and the kids are asleep. And widelands does not build...

A partly workaround is, to change the file src/Sconscript and to add a:

Tried, failed on 4050. I put a report on the sf.net tracker (actually, before I found this thread).

Yours, Magor

Edited: 2009-05-09, 21:32

Top Quote
Nasenbaer
Avatar
Joined: 2009-02-21, 18:17
Posts: 829
Ranking
One Elder of Players
Location: Germany
Posted at: 2009-05-10, 10:57

Yes it first seemed to me as well, as if it failed, but actually the compilation process of widelands is working with the workaround - just the test suits are failing, but those aren't needed by widelands...

So if you change the Sconscript you will get a working binary face-smile.png

Cheers

Nasenbaer


Top Quote
Magor
Joined: 2009-03-30, 07:38
Posts: 36
Ranking
Pry about Widelands
Location: Königswinter, Germany
Posted at: 2009-05-11, 19:49

Nasenbaer wrote: Yes it first seemed to me as well, as if it failed, but actually the compilation process of widelands is working with the workaround - just the test suits are failing, but those aren't needed by widelands...

Hmm, this is not very clear from the build output.

So if you change the Sconscript you will get a working binary

Well, I've build 4061 now, and it works

Yours, Magor


Top Quote
Dwarik
Joined: 2009-05-11, 17:50
Posts: 42
Ranking
Pry about Widelands
Posted at: 2009-05-11, 20:31

i still had to change the Sconscript file with build 4061


Top Quote