Problem compiling from svn revision 12542 [Solved]

Trying to build your own version of Vega Strike and having problems? Unix users, paste your config.log here (stderr output alone is not helpful).
Post Reply
Schroeder
Star Pilot
Star Pilot
Posts: 5
Joined: Tue Mar 24, 2009 9:50 pm

Problem compiling from svn revision 12542 [Solved]

Post by Schroeder »

Hi all,

I've had a quick search, but not found this issue. I've attached the config log, here is the stdout snippet:

Code: Select all

g++  -pipe  -pthread   -o vegastrike  src/cmd/ai/aggressive.o src/cmd/ai/comm_ai.o src/cmd/ai/communication_xml.o src/cmd/ai/communication.o src/cmd/ai/docking.o src/cmd/ai/event_xml.o src/cmd/ai/fire.o src/cmd/ai/fireall.o ...

Xlinker -export-dynamic -pthread 
g++: src/event_manager.o: No such file or directory
make[1]: *** [vegastrike] Error 1
Any ideas?
You do not have the required permissions to view the files attached to this post.
Last edited by Schroeder on Wed Mar 25, 2009 9:12 am, edited 1 time in total.
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Re: Problem compiling from svn revision 12542

Post by loki1950 »

Welcome Schroeder not sure looks like the object module got lost during the linking phase and i see that you don't have ffmpeg/avcodec support from the config log but that should not cause problems did you use the Ubuntu how to in the wiki.

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
Schroeder
Star Pilot
Star Pilot
Posts: 5
Joined: Tue Mar 24, 2009 9:50 pm

Re: Problem compiling from svn revision 12542

Post by Schroeder »

Hi there, thanks for the quick response.

Yep, I've been using the Ubuntu svn guide, but got stuck at the build phase.
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Re: Problem compiling from svn revision 12542

Post by loki1950 »

Then i am not sure where it is getting lost try a make clean in the directory that you started the build and try again it may get a different error.

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
Schroeder
Star Pilot
Star Pilot
Posts: 5
Joined: Tue Mar 24, 2009 9:50 pm

Re: Problem compiling from svn revision 12542

Post by Schroeder »

I tried a make clean, and a configure without optimisers, then again with the optimisers, but no luck. When I look in

Code: Select all

vegastrike/src
I can't find any reference to event_manager.h or event_manager.cpp which I was expecting to find there. The only reference I can find to event_manager on the system is

Code: Select all

vegastrike/src/.deps/event_manager.Po
Is that what you would have expected?
MC707
Venturer
Venturer
Posts: 555
Joined: Sun Jan 18, 2009 5:18 am
Location: Quito, Ecuador.
Contact:

Re: Problem compiling from svn revision 12542

Post by MC707 »

Edited your post. Try to use the URL button when posting urls.
Schroeder wrote:Yep, I've been using the Ubuntu svn guide, but got stuck at the build phase.
Now where are you exactly stuck? (ie building/compiling, step install)
My Machine: OS: Ubuntu 8.10 (intrepid) 64 bit in a 500GB Maxtor HD @ 7200 RPM, Windows Vista PsyChoses Edition 2009 32 bit in a 500GB Samsung HD @ 7200 RPM CPU: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz GPU: nVidia GeForce 9400 GT @ 1024 MB RAM: 3891 MB
Earthlings|The End of the Internet?|FreeWebsite
Schroeder
Star Pilot
Star Pilot
Posts: 5
Joined: Tue Mar 24, 2009 9:50 pm

Re: Problem compiling from svn revision 12542

Post by Schroeder »

Hi, thanks for the edit.

I'm stuck at the compiling stage, specifically make (bootstrap and configure both completed). The error I get is as described in the first post, I don't appear to be making a dependency 'event_manager.o'. I also don't appear to have the event_manager.{cpp / h} files in the source directory, which I'm slightly suspicious of.

Any further clues?
whraven
Explorer
Explorer
Posts: 8
Joined: Fri Mar 20, 2009 7:21 pm
Location: Edgerton, WI, USA
Contact:

Re: Problem compiling from svn revision 12542

Post by whraven »

Yes. I checked the svn diffs, and event_manager was added to Makefile.am, but it never got added to the src directory (take a look at the online repository browser and you won't find it). I've seen this happen when someone adds a new file in their working copy, but doesn't add it into the repository. Reverting to 12541 (svn -r 12541 update) will correct the compiling problem until event_manager.cpp is placed in the repository.
MC707
Venturer
Venturer
Posts: 555
Joined: Sun Jan 18, 2009 5:18 am
Location: Quito, Ecuador.
Contact:

Re: Problem compiling from svn revision 12542

Post by MC707 »

Hmmmm I am curious - could you try placing sudo before make? (sudo make)
My Machine: OS: Ubuntu 8.10 (intrepid) 64 bit in a 500GB Maxtor HD @ 7200 RPM, Windows Vista PsyChoses Edition 2009 32 bit in a 500GB Samsung HD @ 7200 RPM CPU: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz GPU: nVidia GeForce 9400 GT @ 1024 MB RAM: 3891 MB
Earthlings|The End of the Internet?|FreeWebsite
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Re: Problem compiling from svn revision 12542

Post by loki1950 »

That would actually be not a good idea MC707 sudo is only needed to make install which copies things to the system files and therefore completely unnecessary till that step and since this is svn i much prefer running in userland so don't do the make install at all :wink: Just make a copy of the data repo to play the game in.Thanks for the workaround whraven.

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
MC707
Venturer
Venturer
Posts: 555
Joined: Sun Jan 18, 2009 5:18 am
Location: Quito, Ecuador.
Contact:

Re: Problem compiling from svn revision 12542

Post by MC707 »

Oh yes. I was saying, cuz you HAVE to use sudo in a step a little further in the tutorial, I think around the make section of it. Since my tutorial worked both for my bro and me, I just made a guess :oops:
My Machine: OS: Ubuntu 8.10 (intrepid) 64 bit in a 500GB Maxtor HD @ 7200 RPM, Windows Vista PsyChoses Edition 2009 32 bit in a 500GB Samsung HD @ 7200 RPM CPU: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz GPU: nVidia GeForce 9400 GT @ 1024 MB RAM: 3891 MB
Earthlings|The End of the Internet?|FreeWebsite
Schroeder
Star Pilot
Star Pilot
Posts: 5
Joined: Tue Mar 24, 2009 9:50 pm

Re: Problem compiling from svn revision 12542

Post by Schroeder »

Reverting to 12541 (svn -r 12541 update) will correct the compiling problem until event_manager.cpp is placed in the repository.
Top stuff, this did the trick. Many thanks.
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Re: Problem compiling from svn revision 12542 [Solved]

Post by ace123 »

Sorry about that--I was committing a fix for the mesher on my mac and forgot to revert a couple of files. It should work now.
whraven
Explorer
Explorer
Posts: 8
Joined: Fri Mar 20, 2009 7:21 pm
Location: Edgerton, WI, USA
Contact:

Re: Problem compiling from svn revision 12542 [Solved]

Post by whraven »

Thanks ace123. 12546 SVN compiles clean.
Post Reply