Build error in master #721e102

Questions, problems and discussion about compiling FreeOrion.
Post Reply
Message
Author
User avatar
MatGB
Creative Contributor
Posts: 3310
Joined: Fri Jun 28, 2013 11:45 pm

Build error in master #721e102

#1 Post by MatGB » Tue Oct 13, 2015 11:35 am

Logfile attached, even reading it is still slightly beyond me :-(
Attachments
konsole-fo-build-errors-721e102.txt
(41.33 KiB) Downloaded 84 times
Mat Bowles

Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 12272
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Build error in master #721e102

#2 Post by Geoff the Medio » Tue Oct 13, 2015 1:27 pm

Looks like it's failing due to not linking against the boost iostreams or boost zlib libraries.

jbergmann
Space Krill
Posts: 3
Joined: Tue Oct 13, 2015 7:16 pm

Re: Build error in master #721e102

#3 Post by jbergmann » Tue Oct 13, 2015 7:22 pm

I am also receiving a similar error when I try and compile. I have attached the output.
Attachments
freeorion_log.txt
(66.8 KiB) Downloaded 74 times

User avatar
Vezzra
Release Manager, Design
Posts: 4673
Joined: Wed Nov 16, 2011 12:56 pm
Location: Sol III

Re: Build error in master #721e102

#4 Post by Vezzra » Tue Oct 13, 2015 7:34 pm

Well, if I'm reading the log right, obviously the boost iostreams library doesn't get linked, which of course will cause the linker to fail.

I've attempted to fix the cmake files and created a PR. Mat, pls try if that solves the problem. If yes, you can merge, otherwise post the build log.

User avatar
Vezzra
Release Manager, Design
Posts: 4673
Joined: Wed Nov 16, 2011 12:56 pm
Location: Sol III

Re: Build error in master #721e102

#5 Post by Vezzra » Tue Oct 13, 2015 7:39 pm

jbergmann wrote:I am also receiving a similar error when I try and compile. I have attached the output.
Yep, looks like the same problem (although there are no link errors for freeorioncommon.so, which is a bit strange). Pls, can you also try to build the PR I linked above?

jbergmann
Space Krill
Posts: 3
Joined: Tue Oct 13, 2015 7:16 pm

Re: Build error in master #721e102

#6 Post by jbergmann » Tue Oct 13, 2015 8:01 pm

Freeorion now compiles on my linux machine with those adjustments to CMakeLists.txt and server/CMakeLists.txt

User avatar
Vezzra
Release Manager, Design
Posts: 4673
Joined: Wed Nov 16, 2011 12:56 pm
Location: Sol III

Re: Build error in master #721e102

#7 Post by Vezzra » Tue Oct 13, 2015 8:33 pm

Thanks for the quick feedback. Got confirmations that the fix works on github too, so went ahead and merged it.

User avatar
MatGB
Creative Contributor
Posts: 3310
Joined: Fri Jun 28, 2013 11:45 pm

Re: Build error in master #721e102

#8 Post by MatGB » Tue Oct 13, 2015 9:28 pm

Yup, works fine. Course, forgot to Git Fetch before Rebasing so first attempt failed and now the system's chugging reaaaalllllyyy sssllloooowwwlllyyy but it'll catch up. Thanks.
Mat Bowles

Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.

Post Reply