LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-15-2004, 03:09 AM   #1
Yoda Sabre
LQ Newbie
 
Registered: Aug 2004
Posts: 22

Rep: Reputation: 15
Gcc compiler error


I looked in the log and it says that Gcc could not make an executable for Wine how do i fix it?
 
Old 08-15-2004, 03:20 AM   #2
Ikana
LQ Newbie
 
Registered: Aug 2004
Distribution: FreeBSD 4.10, Fedora Core 2
Posts: 11

Rep: Reputation: 0
I think that you will need to provide more details. What was the error specifically? Are you sure that your version of gcc is up to date?
 
Old 08-15-2004, 03:49 AM   #3
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 51
was the error "error:compiler cannot create an executable" or something similar?
if so you need to install the development packages for your distribution.
 
Old 08-15-2004, 04:44 AM   #4
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,684

Rep: Reputation: 54
I have seen this error - as far as I can remember, it was coming from:
the device, where you try to compile (where the source-code is stored) is mounted with permissions, that are too restrictive - such as: no write access or no execute-permission (-noexec)

try issuing:

mount

and it will tell you what is mounted where and with what permissions

or your compiler is not set up correctly...

also: a little more info about the error could help - a few lines before the error occured and a few after that...
 
Old 08-15-2004, 02:52 PM   #5
Yoda Sabre
LQ Newbie
 
Registered: Aug 2004
Posts: 22

Original Poster
Rep: Reputation: 15
Do i have to reinstall the OS since i can't edit the permissons and im the admin
 
Old 08-15-2004, 03:26 PM   #6
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,684

Rep: Reputation: 54
No need to reinstall a whole OS for this kind of error!

One of many reasons is: then you would not know what went wrong and will be running into it again next time...

So - your problem is actually caused by insufficient permissions, is it ?

I'm asking, because you tried to edit them...

The mount-permissions are usually specified in the file /etc/fstab

there you will have to edit them - _IF_ they are not right.

you will then have to manually remount the partition, for which you changed anything (unmount and mount again - or reboot)

What does your /etc/fstab look like ?

cat /etc/fstab

and where is the directory you are trying to compile (on which drive/partition)
 
Old 08-15-2004, 04:37 PM   #7
Yoda Sabre
LQ Newbie
 
Registered: Aug 2004
Posts: 22

Original Poster
Rep: Reputation: 15
the file is on the desktop
as for the permissions i'll check
 
Old 08-16-2004, 07:48 AM   #8
mhearn
Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
You probably need to install the developer tools
 
Old 08-16-2004, 01:43 PM   #9
Yoda Sabre
LQ Newbie
 
Registered: Aug 2004
Posts: 22

Original Poster
Rep: Reputation: 15
I have now can anyone Direct me to an rpm of flex i need it to get wine compiled
 
Old 08-16-2004, 03:53 PM   #10
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 51
http://freshmeat.net/projects/flex/

the source.
 
  


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
in gcc compiler error: parse error before string constsnt cynthia_thomas Linux - Networking 1 10-20-2005 01:29 AM
gcc compiler error maheshbmane Programming 3 09-02-2005 09:23 PM
How do I fix this assignment problem C++ compiler error in GCC? Erik_the_Red Programming 4 07-12-2005 09:36 AM
Problem with gcc: configure: error: C compiler cannot create executable abefroman Suse/Novell 4 05-11-2005 06:12 PM
gcc compiler error / linux headers install help SciYro Linux - Software 2 12-07-2003 01:44 PM


All times are GMT -5. The time now is 09:55 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration