|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Support::Linux Servers Support forum for Linux EQEMu users. |
|
|
|
07-20-2006, 06:14 AM
|
Fire Beetle
|
|
Join Date: Jul 2006
Posts: 23
|
|
Compile issue - SuSE 10.1
I'm getting the following when trying to make 'world.'
[CODE]
Tux:/home/eqemu/source/07192006/world # make
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align
-Wno-deprecated -g -march=i686 -O -pthread -pipe -I../common/SocketLib -DFX -D_G
NU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=5 -DEQDEBUG=5 -DSHAREMEM -DCATCH_CRASH -DN
O_PIDLOG -DFIELD_ITEMS -DIRC -Di386 -DAPP_OPCODE_SIZE=2 -DEMBPERL -DEMBPERL_PLUG
IN -DHAS_UNION_SEMUN -I/usr/include/mysql -march=i586 -mtune=i686 -fmessage-leng
th=0 -D_FORTIFY_SOURCE=2 -g -DPIC -fPIC -DUNDEF_HAVE_INITGROUPS -fno-strict-alia
sing -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-ali
asing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BIT
S=64 -I/usr/lib/perl5/5.8.8/i586-linux-thread-multi/CORE ../common/timer.cpp -
o ../common/timer.o
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid f
or C/ObjC but not for C++
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align
-Wno-deprecated -g -march=i686 -O -pthread -pipe -I../common/SocketLib -DFX -D_G
NU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=5 -DEQDEBUG=5 -DSHAREMEM -DCATCH_CRASH -DN
O_PIDLOG -DFIELD_ITEMS -DIRC -Di386 -DAPP_OPCODE_SIZE=2 -DEMBPERL -DEMBPERL_PLUG
IN -DHAS_UNION_SEMUN -I/usr/include/mysql -march=i586 -mtune=i686 -fmessage-leng
th=0 -D_FORTIFY_SOURCE=2 -g -DPIC -fPIC -DUNDEF_HAVE_INITGROUPS -fno-strict-alia
sing -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-ali
asing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BIT
S=64 -I/usr/lib/perl5/5.8.8/i586-linux-thread-multi/CORE ../common/packet_dump .cpp -o ../common/packet_dump.o
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid f or C/ObjC but not for C++
../common/EQStream.h:226: error: extra qualification
|
|
|
|
07-20-2006, 06:34 AM
|
Hill Giant
|
|
Join Date: Dec 2004
Posts: 126
|
|
try gcc 3.4 or 3.3
__________________
- http://www.eqemu-paradigma.de -
|
07-23-2006, 01:15 PM
|
Developer
|
|
Join Date: Jul 2004
Posts: 773
|
|
either mysql or perl is outputing that flag, try running:
perl -MExtUtils::Embed -e ccopts
or
mysql_config --cflags
to see which one... whiever one it is needs to be updated or something to make it work with new gcc... or just downgrade as previously suggested.
|
08-10-2006, 05:50 AM
|
Fire Beetle
|
|
Join Date: Jul 2006
Posts: 23
|
|
Thanks.
I ended up setting up a Windows version. But I plan on revisiting the Linux version.
|
09-09-2006, 03:25 AM
|
Fire Beetle
|
|
Join Date: Sep 2006
Posts: 22
|
|
Well, sorry to resurrect a slightly old post, but I get this error too under Arch Linux, a 686 optomized distro that tries to stay bleeding edge (prolly the same cause as above, too new a gcc). I'ma post the output to the above commands.
|
09-09-2006, 03:27 AM
|
Fire Beetle
|
|
Join Date: Sep 2006
Posts: 22
|
|
Perl is doing it. When I run perl -MextUtile::Embed -e ccopts, a section says -Wdeclaration-after-statement. I believe this was the problem line, but how do I get rid of it? Is it percolating in some config file on the far side of nowhere? I'll start looking...
|
09-09-2006, 04:01 AM
|
Fire Beetle
|
|
Join Date: Sep 2006
Posts: 22
|
|
Well, that line now looks like:
static const char *StreamTypeString(EQStreamType t);
and it was
static const char *EQStream::StreamTypeString(EQStreamType t);
It seems to be compiling now...
Thanks!
|
09-09-2006, 04:19 AM
|
Fire Beetle
|
|
Join Date: Sep 2006
Posts: 22
|
|
I have been foiled again:
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wno-deprecated -Wcomment -Wcast-align -O -g -pg -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DEQDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -DFIELD_ITEMS -DCOMBINED -DAPP_OPCODE_SIZE=2 -Di386 -DEMBPERL -DEMBPERL_PLUGIN -DHAS_UNION_SEMUN -I/usr/include/mysql `perl -MExtUtils::Embed -e ccopts` zone.cpp -o zone.o
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
map.h:113: error: extra qualification
|
09-09-2006, 04:30 AM
|
Fire Beetle
|
|
Join Date: Sep 2005
Posts: 10
|
|
[QUOTE=arew264]
map.h:113: error: extra qualification
|
09-09-2006, 06:00 AM
|
Fire Beetle
|
|
Join Date: Sep 2006
Posts: 22
|
|
Well, I got it to compile, now if only I could figure out where the heck this legendary eqlaunch file is supposed to come from...
|
09-09-2006, 06:03 AM
|
Fire Beetle
|
|
Join Date: Sep 2006
Posts: 22
|
|
Where IS that file supposed to come from? I don't seem to have it anywhere and the linux install guide seems to assume that it's there.
|
09-09-2006, 09:57 AM
|
Fire Beetle
|
|
Join Date: Sep 2006
Posts: 22
|
|
HOLY COW now I feel like a total moron... maybe the eqstartup file was supposed to come from the eqstartup directory found at the root level? DOH!
|
09-21-2006, 03:38 AM
|
Discordant
|
|
Join Date: Apr 2006
Posts: 374
|
|
I am having this same issue, what file do I have to edit to remove the extra qualifications?
|
10-08-2006, 08:46 AM
|
Demi-God
|
|
Join Date: Jul 2006
Posts: 1,552
|
|
Not to bump, but just reporting that Fedora Core 5 and gcc 4.1.1 rel 1.fc5 (i386) also has this issue. I am having no luck back-rev'ing gcc, and currently attempting cubber's guide HERE to see if I can get Core 5 to work. Else, I'll drop back to 4 and just not do any updates (I guess... this is all new to me heh).
The laugh is, I had everything perfect on Fedora Core 4, and thought "hmm. an update. let's be current". Now, I'm on day 4 of "fixing" everything. 17 reloads later. sigh...
"if it ain't broke...."
|
10-09-2006, 01:38 AM
|
Demi-God
|
|
Join Date: Jul 2006
Posts: 1,552
|
|
Ok sorry, but I am apparently going to ask for help in this. Using Fedora Core 5, if I use yum to check what versions of gcc/gcc-c++ are available, it only reports 4.1.1. And, I want 3.4 or so.
Q: How do I force Core 5 to install an older version?
Attempted:
-- I have tried putting the exact name of various RPMs I find, and it always says "Nothing to do".
-- I downloaded the gcc-3.4* RPM itself, and it starts checking dependencies and yells at me that it needs 40 other packages (exaggerated).
-- I've tried going abck to Fedora 4, but for some reason my SSH is horribly slow (takes 20 secs for a char to appear on my screen, but FC5 does not).
As I stated, I had this working perfectly when I did some FTP install of FC4, but this time I am getting my ass kicked. Any insights from a Linux guru? Thanks in advance.
J
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 11:38 PM.
|
|
|
|
|
|
|
|
|
|
|
|
|