Error compiling Blood Frontier using sbopkg
1 Attachment(s)
I'm having a problem compiling Blood Frontier on Slackware64-current. I believe this problem is also related to why I can't use make xconfig as well. Here is a bit of the error.
Code:
g++ -O2 -fPIC -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/X11R6/include `sdl-config --cflags` -o shared/cube.h.gch.tmp shared/cube.h There is a lot more of this error, I have only shown a small part. I will attach the whole thing as a txt. I did run a diff on a few of these, and their is no difference in the files showing an error between the partitions. |
Make sure glibc, gcc and gcc-g++ packages are properly installed. Missing header files contain above mentioned packages.
|
May also want to install/reinstall the kernel headers package.
|
I just compiled a custom kernel a couple of days ago, and it worked just fine. This problem has been around for a few weeks. I also compiled Urban Terror just fine. All of this using sbopkg. (except for the kernel)
|
You have one error only ..
Quote:
/usr/lib64/gcc/x86_64-slack64-linux/4.x.x/include/ ( The path looks something like that in my slamd64-12.1 ). I.e. you may have to use : make CXX="g++ -I /<path-to-the-gcc-headers>" ..... |
The test partition works fine. I'm just gonna blow this one away and start over. I have good backups and can put it back together in a couple of hours. It all began when I had multilib enabled on this machine. I'll never do that again. It was just for google earth anyways. Its probably sumpin' simple, but I give up.
|
All-righty, then.
I did not blow away this install. Most things worked the way it was expected to work. I was able to compile most programs, including custom kernels. But some things refused to go as planned - Bloodfrontier being one of these problems. Getting xconfig to work was another. I just refused to give up. Today, I decided to revisit this vexing problem. Thanks to knudfl, I finally stumbled onto the problem. His above post about gcc headers made me search out and thoroughly through the system files. Those pesky includes were indeed missing. Since I am running -current, I had assumed that I upgraded gcc and indeed the 4.4.3 folder was in place. That said, none of the include files were in there anywhere. I am my own worst enemy(a). :) Now one must wonder how I was ever able to compile anything? There is a simple answer to that as well. Alien's multilib 4.4.2 was still in place. I was running multilib at one point, then decided I didn't need that capability just for Google earth. I thought all of that was blown away at one point. I was wrong, and just plain brain dead in this case. Bloodfrontier happily compiled just now. Xconfig is now working again, and I bet I solved a host of future problems as well. I thank, and apologize to all that responded in this thread, and a thread I had for my problem with xconfig that was caused by my own stupidity. I will mark this as solved. |
All times are GMT -5. The time now is 11:09 PM. |