LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 07-18-2006, 11:40 AM   #1
jaykrishna
LQ Newbie
 
Registered: Jul 2006
Posts: 5

Rep: Reputation: 0
Question cc1 error


hi ALL

i have SUSE linux 10.0 system , i am trying to install MCTDH package ( scientific software) on it.

initially i had this error message-

g77: installation problem, cannot exec cc1, no such file or directory.

though cc1 is located at -

/usr/lib64/gcc/x86_64-suse-linux/4.0.2/cc1

other dir info-

/usr/bin/gcc
/usr/bin/g77
/usr/bin/f77

therefore i tried symbolic link in /usr/bin using command --
ln -s /usr/lib64/gcc/x86_64-suse-linux/4.0.2/cc1

after this i tried reinstall and compile the MCTDH program
i get this error message:

g77 -O2 -malign-double -ffast-math -funroll-loops -fomit-frame-pointer -msse2 -mfpmath=sse -m32 -I/home/jay/mctdh83.10/CompDir22795 -I/home/jay/mctdh83.10/source/include -c /home/jay/mctdh83.10/source/lib/utilities/platform.F
cc1: error: too many filenames given. Type cc1 --help for usage

opinions greatly appreciated and thanks in advance.
 
Old 07-18-2006, 04:00 PM   #2
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,834

Rep: Reputation: 108Reputation: 108
usually, cc1 is hiding behind gcc or whatever. So, rather than making symbolic link to it, try to streight out broken tree sounds better. In your case, gcc.
 
Old 07-18-2006, 05:19 PM   #3
jaykrishna
LQ Newbie
 
Registered: Jul 2006
Posts: 5

Original Poster
Rep: Reputation: 0
pardon, i did not understand, could you please explain in detail. thanks
 
Old 07-18-2006, 06:37 PM   #4
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,834

Rep: Reputation: 108Reputation: 108
Usually, user does not type "cc1", instead "gcc" or whatever. in other words, cc1 is backend of gcc or whatever.

I think, in your situation, the link from gcc to cc1 is broken. so that, tweaking path can tinker your situation, but not radical remedy.
 
  


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: installation problem, cannot exec `cc1': No such file or directory Error Message 08h Programming 2 07-20-2006 11:44 AM
cc1 error jaykrishna Linux - Software 3 07-19-2006 02:39 PM
gcc: installation problem, cannot exec `cc1': No such file or directory Error Message 08h Linux - Newbie 1 06-01-2004 04:26 AM
cc1: error: code model `kernel' not supported in the 32 bit mode Doleo Linux - Newbie 0 02-26-2004 08:16 AM
gcc: Internal compiler error: program cc1 got fatal signal 11 smj Linux - Software 2 02-20-2003 10:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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