LinuxQuestions.org
Visit Jeremy's Blog.
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 02-07-2004, 09:14 PM   #1
fedivh
Member
 
Registered: Sep 2003
Location: Uruguay/Southamerica
Distribution: Gentoo
Posts: 144

Rep: Reputation: 15
Wich GCC?


Hi,
I have problems with MLDonkey, all right until it says:
Starting MLdonkey G2gui (java)...
Warning: -jar not understood. Ignoring.
gij: lib/libgcc_s.so.1: version `GCC_3.3' not found (required by /usr/lib/./libgcj.so.4)
G2gui terminated.

So I installed GCC_3.3.2
But it still says the same
Where can I check my GCC Version to see if its really installed?
Or does someone know how to fix this problem?
 
Old 02-07-2004, 09:16 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
gcc -v
It should print out something like this:
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/specs
Configured with: /var/tmp/portage/gcc-3.3.2-r6/work/gcc-3.3.2/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info --enable-shared --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib --enable-languages=c,c++,f77,objc,java --enable-threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/g++-v3 --with-local-prefix=/usr/local --enable-shared --enable-nls --without-included-gettext --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --enable-interpreter --enable-java-awt=xlib --with-x --disable-multilib
Thread model: posix
gcc version 3.3.2 20040108 (Gentoo Linux 3.3.2-r6, propolice-3.3-7)

So you can see I am running gcc 3.3.2 20040108
 
Old 02-07-2004, 09:26 PM   #3
fedivh
Member
 
Registered: Sep 2003
Location: Uruguay/Southamerica
Distribution: Gentoo
Posts: 144

Original Poster
Rep: Reputation: 15
gcc version 3.3.1 (Mandrake Linux 9.2 3.3.1-2mdk)
So why doesn't it work??!!
 
Old 02-09-2004, 11:17 AM   #4
Unseen
Member
 
Registered: Feb 2003
Distribution: debian
Posts: 56

Rep: Reputation: 15
do you have different versions of GCC installed? If so, this is fine.

Try again after exporting the CC variable to the version of GCC you want to use:

#export CC=/usr/bin/gcc-3.3.1
 
Old 02-09-2004, 02:37 PM   #5
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
I'm inclined to think this is a Java problem, not gcc. G2gui requires Java and you seem to have gcj/gij installed (the GCC Java compiler and interpreter), which relies on gcc itself.

Try running it using Sun's JRE/SDK instead.


Håkan
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Wich slack? millusionist Slackware 6 02-10-2005 02:53 AM
Wich dist??? jocast Linux - Software 3 05-24-2004 10:26 PM
wich is the best gcc for compiling the linux kernel??? Claus Linux - Software 1 09-01-2003 10:15 AM
Wich one????? SERGIOMZB Linux - Newbie 4 07-14-2003 10:00 PM
Wich is better??? wickedhavok Linux - Software 2 02-13-2002 08:11 AM

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

All times are GMT -5. The time now is 06:09 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