amd64x2, NVIDIA fc5 compiling blues

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).
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Post by klauss »

Ah - you can delete attachments without deleting posts, you know. In fact, you're supposed to.
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
wirser
Bounty Hunter
Bounty Hunter
Posts: 201
Joined: Wed Dec 01, 2004 8:06 pm
Location: not where i want to be

Svn 10376 not building

Post by wirser »

sorry for not putting an attachment a couple of replies before
I must of had a good weekend :shock:
so far svn 10376, revised 10376 and 10375 generate fatal compile errors
as time alows I am regressing to find compilable svn version
UPDATE svn10374 found to compile properly

back to subtopic sometime the post are just paceholders for uploaded files.
also I've noticed if I just upgraed an attachment. unless I add a reply nobody knows anything is changed at least as far as I can tell.
maybe moderators see but I don't
Last edited by wirser on Sun Aug 20, 2006 6:23 pm, edited 1 time in total.
if current_situation=fact and if current_situation=faith
then current_forcast = excitement
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Post by loki1950 »

you could add an Edit notice to the post in question :idea:

Enjoy the Choice :)
Zeog
ISO Party Member
ISO Party Member
Posts: 453
Joined: Fri Jun 03, 2005 10:30 am
Location: Europe

Post by Zeog »

Hey wirser, I got your bug!
It's also the reason why it didn't built on my system (kubuntu). I made some very small changes to two files. Look for these errors

Code: Select all

error: ‘min’ was not declared in this scope
They give you a file and a line as well. Edit these lines by replacing "min" with "std::min". Doing so for the "max" as well results in a fine build. I haven't committed it yet because I think that it might break builds on windoze machines.
I just looked it up. The files in question are "src/gfx/ani_texture.cpp" and "src/gldrv/gl_misc.cpp" -- just in case you can't find them in that long string of warnings. :D
wirser
Bounty Hunter
Bounty Hunter
Posts: 201
Joined: Wed Dec 01, 2004 8:06 pm
Location: not where i want to be

Post by wirser »

loki1950 -as long as the developers are ok this is fine with me.
my concern is that changes I make are not noticed.
at least from the forum user view I can't tell any changes are made,
without rereading all of the posts.

Zeog- thanks for the info on fixing these errors.
I am trying not to do too much local editing .
I have to edit configure for python still adding /usr/lib64 to search path.
as far as finding error lines, I just search for "error" in the make output ,find the affected files ...
As far as commiting anything- all I do is point and say "it brokey"
EDIT. I tried your fix and it works

Finally, I've started to run VS with the following:
./vegastrike 2>err{svn_ver}.txt 1>std{svn_ver}.txt
This is being done to try to isolate run-tim error such as various png files not being found.
I noticed one thing already in that some warning and error msgs are in stdout fils and some normal runtime msgs are in stderr file
if there is any intrest in these two new files I'll post those as well.
And I haven't even started gdb yet :roll:
if current_situation=fact and if current_situation=faith
then current_forcast = excitement
wirser
Bounty Hunter
Bounty Hunter
Posts: 201
Joined: Wed Dec 01, 2004 8:06 pm
Location: not where i want to be

svn 10400

Post by wirser »

svn 10400 not compiling due to errors
EDIT- ADD
svn 10405 configure still needs "/usr/ilib64"in python lib search path added for 64 bit python
svn 10405 not making due to errors
Last edited by wirser on Sun Aug 20, 2006 6:20 pm, edited 1 time in total.
if current_situation=fact and if current_situation=faith
then current_forcast = excitement
wirser
Bounty Hunter
Bounty Hunter
Posts: 201
Joined: Wed Dec 01, 2004 8:06 pm
Location: not where i want to be

my point is demonstrated here

Post by wirser »

as of this post my last reply was EDIT'ed as suggested.
I added two new logs for svn10405- make and configure output
right now neither have been accessed
Is it because nobody seen the update or just that nobody was interested?
all I see is the date of the original reply and not the update on the forum listing?

Basically I see a problem in using EDIT to update if nobody knows it's updated :wink:

two error files
src/gfx/ani_texture.cpp:136
src/gldrv/gl_misc.cpp:38

UPDATE vsmake10438.txt 8-16-2006
ADDITION replaced ogre and cegui pkgs from homade to distro that are now available
UPDATE found corrupt code in both files
I may have just solved this problem, it looks like in booth cases the commit was incomplete or plain corrupt when I recieved these files
both files were corrupted somehow with what looks to me as diff output, ! have no idea how .
I deleted both files and updated them after finding one file doesn't have funny line like the original. i recompiled succesfully
in all cases lines starting with either >>>>>>>,<<<<<<<<< or ======= were in the code at the error locations
:(
Last edited by wirser on Sun Aug 20, 2006 6:18 pm, edited 1 time in total.
if current_situation=fact and if current_situation=faith
then current_forcast = excitement
wirser
Bounty Hunter
Bounty Hunter
Posts: 201
Joined: Wed Dec 01, 2004 8:06 pm
Location: not where i want to be

svn10471 error

Post by wirser »

()’:
src/cmd/ai/aggressive.cpp:1396: error: cast from ‘void*’ to ‘unsigned int’ loses precision
src/cmd/ai/aggressive.cpp:1397: error: cast from ‘void*’ to ‘unsigned int’ loses precision
make[1]: *** [src/cmd/ai/aggressive.o] Error 1
if current_situation=fact and if current_situation=faith
then current_forcast = excitement
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

should be fixed in svn--I think you pulled it at a bad time
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
wirser
Bounty Hunter
Bounty Hunter
Posts: 201
Joined: Wed Dec 01, 2004 8:06 pm
Location: not where i want to be

fix one break two

Post by wirser »

I had it running for a while until today

Code: Select all

src/networking/lowlevel/vsnet_socket.cpp:38: undefined reference to `VsnetHTTPSocket::VsnetHTTPSocket(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, SocketSet&)'
src/networking/lowlevel/vsnet_socket.cpp:38: undefined reference to `VsnetHTTPSocket::VsnetHTTPSocket(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, SocketSet&)'
collect2: ld returned 1 exit status
make[1]: *** [accountserver] Error 1

std::char_traits<char>, std::allocator<char> > const&, SocketSet&)'
collect2: ld returned 1 exit status
make[1]: *** [vegaserver] Error 1  
if current_situation=fact and if current_situation=faith
then current_forcast = excitement
wirser
Bounty Hunter
Bounty Hunter
Posts: 201
Joined: Wed Dec 01, 2004 8:06 pm
Location: not where i want to be

fix one break two

Post by wirser »

I had it running for a while until today

Code: Select all

src/networking/lowlevel/vsnet_socket.cpp:38: undefined reference to `VsnetHTTPSocket::VsnetHTTPSocket(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, SocketSet&)'
src/networking/lowlevel/vsnet_socket.cpp:38: undefined reference to `VsnetHTTPSocket::VsnetHTTPSocket(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, SocketSet&)'
collect2: ld returned 1 exit status
make[1]: *** [accountserver] Error 1

std::char_traits<char>, std::allocator<char> > const&, SocketSet&)'
collect2: ld returned 1 exit status
make[1]: *** [vegaserver] Error 1  
You do not have the required permissions to view the files attached to this post.
if current_situation=fact and if current_situation=faith
then current_forcast = excitement
wirser
Bounty Hunter
Bounty Hunter
Posts: 201
Joined: Wed Dec 01, 2004 8:06 pm
Location: not where i want to be

Post by wirser »

Oh now that I'm using the rpmbuild process the number of warnings grew
you were warned :lol:
It appears too big for forum I keep getting extension not allowed but it's only 376213 bytes)
if current_situation=fact and if current_situation=faith
then current_forcast = excitement
Post Reply