LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-29-2004, 07:25 AM   #1
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
is it gcc or me?


I've tried compiling some apps with GCC (version 3.4.1, running on Arch Linux) but it always seems to fail; the most common error is the type of this (following code taken from a Generator-compilation's "make" step):

make[2]: *** [gensoundp-unix.o] Error 1
make[2]: Leaving directory `/home/juho/generator-0.35-cbiere/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/juho/generator-0.35-cbiere'
make: *** [all] Error 2

before this there are a lot of "error: 'something' undeclared (first use in this function)" thingies...well this could be, of course, just because the code isn't working or something. but I doubt that, since I've tried compiling quite a many apps and they all fall on this type of errors...WineX CVS-version and Generator (both original and cbiere-version), for example - the two latest. actually I've never succeeded in compiling anything except my kernel sources with this version of GCC....could it be gcc, or am I just missing something?

thanks for any help...also, if somebody could try compiling generator-0.35-cbiere with the GCC-3.4.1, and see if it works or not, I'd be thankful. at least I'd know if it's the code or not

and oh...if you guys have any tips on what I could do about this, let me know. last time my GCC worked nicely was when I used Gentoo :P

thanks,

Juho
 
Old 08-29-2004, 10:05 AM   #2
hylke
Member
 
Registered: Apr 2004
Location: the Netherlands
Distribution: Ubuntu 7.04
Posts: 329

Rep: Reputation: 30
You probably haven't installed all the libraries that it requires, check out the README or INSTALL to see which libraries it requires.
Hylke
 
Old 08-29-2004, 11:05 AM   #3
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Original Poster
Rep: Reputation: Disabled
hmm....I'm pretty sure I do, but now that you mention it...better go and see the page through with a magnifier but still, could it be that I just happen to lack some libraries that every app uses I try to compile? I mean, I have installed quite a bunch of the "most common ones" (if one can say there are such things)..

anyway, thanks for answering...
 
Old 08-29-2004, 11:49 AM   #4
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Original Poster
Rep: Reputation: Disabled
no, tried with the generator...I should't lack any libraries/other things, and when I tried the binary version, it worked fine. however the gtk-version doesn't have fullscreen mode unless I patch the source and compile, which I need to do...in their website they say that the patched source should work with my version of gcc, so I'm kind of wondering...the unpatched ("normal") source won't compile either. also WineX should not need any libraries/other stuff that I don't have...

I guess I'm just not noticing something..gotta dig deeper. any help is still appreciated..
 
Old 08-29-2004, 01:44 PM   #5
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Reading your thread, I was curious, so I had a go and I can't get it to compile either, though I've only spent five minutes on it. Hang on, third time lucky, it's working now. The options that worked for me were
./configure --with-gtk --with-raze --prefix=/home/andy/tmp --with-sdl-audio
It was the --with-sdl-audio that clinched it for me. I had SDL-1.2.7 and SDL-Mixer-1.2.5 already. I'm using gcc-3.4.1 so that isn't your problem. What does this thing do anyway? Do I need to get some games to play on it?
 
Old 08-29-2004, 04:36 PM   #6
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Original Poster
Rep: Reputation: Disabled
geeze, thanks Andrew..altough I feel a bit stupid right now for not trying out something like that myself :/ though I still wonder why it wouldn't compile without SDL? well I guess the answer lies somewhere in the documentation or something..but thanks, now I got it. I guess I'll have to start digging the other projects too that won't compile, for a solution like that.

damn, how can I use that much time for a thing like that? I wouldn't have thought of some SDL-audio for being the troublemaker (or should I say solution)..but I will from now on.

and yes, it's a gaming thing; a Sega emulator...you know, the black old 16-bit thing from the past I had it once, but it broke down, and few days ago I got the feeling again that I wanted to play the games I had back in the days, that no more work with the real Sega system (cards are OK, but the machine itself does nothing but malfunction). the games you need for that are roms, images of the Sega games..

anyway, now I'll go and get some sleep...tomorrow it's the time to see what options might get WineX compile...

thanks a lot for help... (I feel like a total newbie at the moment..heh)

Last edited by b0uncer; 08-29-2004 at 04:38 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 02:13 PM
Kernel compiling: gcc-3.3 is 586, should be gcc-3.3 386 Erik Plaggenmar Linux - Software 0 10-01-2004 11:38 AM
running software built with gcc 3.0.2 on Redhat 8 - gcc 3.2 dst1989 Linux - Software 3 03-08-2004 10:23 PM
a doubt with host gcc and arm-linux-gcc renjithgopal Linux - General 1 09-11-2003 04:02 PM
export CC=/usr/bin/gcc-3.2 - switch gcc version? ferreter Linux - Software 1 08-20-2003 12:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration