Can't compile - Access List.lo error 1

Questions or HOWTOs about the above? Post 'em here...
Post Reply
fury
Private First Class
Private First Class
Posts: 14
Joined: Sat Jul 07, 2007 3:37 am

Can't compile - Access List.lo error 1

Post by fury »

So today I tried to compile 2.0.12 on Fedora Core 11. I got up to "make install", then I got this error:
make[2]: Entering directory `/home/chris/Desktop/bzflag-2.0.12/src/common'
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -DINSTALL_DATA_DIR=\"/usr/local/share/bzflag\" -fsigned-char -Wno-deprecated -Wall -W -mtune=i686 -ffast-math -fno-exceptions -c -o AccessList.lo AccessList.cxx
libtool: ignoring unknown tag CXX
g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -DINSTALL_DATA_DIR=\"/usr/local/share/bzflag\" -fsigned-char -Wno-deprecated -Wall -W -mtune=i686 -ffast-math -fno-exceptions -c AccessList.cxx -o AccessList.o
../../libtool: line 1383: g++: command not found
make[2]: *** [AccessList.lo] Error 1
make[2]: Leaving directory `/home/chris/Desktop/bzflag-2.0.12/src/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/chris/Desktop/bzflag-2.0.12/src'
make: *** [all-recursive] Error 1
I haven't touched the source code, and tried compiling 2.0.10 and got the same error. Help please?
Last edited by fury on Mon Sep 28, 2009 2:00 pm, edited 1 time in total.
User avatar
blast
General
General
Posts: 4819
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Can't compile - Access List.lo error 1

Post by blast »

Doesn't your package manager have a build of BZFlag?
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
fury
Private First Class
Private First Class
Posts: 14
Joined: Sat Jul 07, 2007 3:37 am

Re: Can't compile - Access List.lo error 1

Post by fury »

That's not what I asked.
trepan
Dev Wizard
Dev Wizard
Posts: 704
Joined: Fri Feb 21, 2003 7:50 pm

Re: Can't compile - Access List.lo error 1

Post by trepan »

Your original post tells us that you know next to nothing about
the process of compiling C++ sources. It'd probably be much easier
for you and us if you simply used a pre-compiled binary.

../../libtool: line 1383: g++: command not found

If you're going to compile something, it's important to have
the appropriate compiler. You'll probably want to install g++.
fury
Private First Class
Private First Class
Posts: 14
Joined: Sat Jul 07, 2007 3:37 am

Re: Can't compile - Access List.lo error 1

Post by fury »

Here - I reinstalled g++ and it fixed what you were complaining about. I still get errors:
make[2]: Entering directory `/home/chris/Desktop/bzflag-2.0.10/src/common'
/bin/sh ../../libtool --tag=CXX --mode=compile /usr/bin/ccache g++ -DHAVE_CONFIG_H -I. -I../../include -I../../include -DINSTALL_DATA_DIR=\"/usr/local/share/bzflag\" -fsigned-char -Wno-deprecated -Wall -W -mtune=i686 -ffast-math -fno-exceptions -c -o AccessList.lo AccessList.cxx
libtool: compile: /usr/bin/ccache g++ -DHAVE_CONFIG_H -I. -I../../include -I../../include -DINSTALL_DATA_DIR=\"/usr/local/share/bzflag\" -fsigned-char -Wno-deprecated -Wall -W -mtune=i686 -ffast-math -fno-exceptions -c AccessList.cxx
g++: No such file or directory
make[2]: *** [AccessList.lo] Error 1
make[2]: Leaving directory `/home/chris/Desktop/bzflag-2.0.10/src/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/chris/Desktop/bzflag-2.0.10/src'
make: *** [all-recursive] Error 1
User avatar
blast
General
General
Posts: 4819
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Can't compile - Access List.lo error 1

Post by blast »

Looks pretty much the same to me. Just got a step farther. You should learn more about compiling before you try to build something like BZFlag. Maybe try a simple "Hello World" C++ app to ensure that you have a proper C++ compiler installed.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
fury
Private First Class
Private First Class
Posts: 14
Joined: Sat Jul 07, 2007 3:37 am

Re: Can't compile - Access List.lo error 1

Post by fury »

Look, I compiled BZFlag on Fedora 10 and had no problems. I'd fix it myself but I honestly have no idea what's wrong with it, and hoped one of you would see it. if you don't have anything helpful to say about how to fix my problem, please don't waste your time posting in this thread.
User avatar
blast
General
General
Posts: 4819
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Can't compile - Access List.lo error 1

Post by blast »

I did offer a suggestion. I guess you didn't read my entire post.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
fury
Private First Class
Private First Class
Posts: 14
Joined: Sat Jul 07, 2007 3:37 am

Re: Can't compile - Access List.lo error 1

Post by fury »

I read it, and tested it. My compiler works just fine. Sorry for snapping at you, I just expected to get help from a help forum. How stupid of me. :doh:
Post Reply