LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-18-2006, 07:37 AM   #1
c19h28O2
LQ Newbie
 
Registered: Apr 2006
Location: London
Posts: 29

Rep: Reputation: 15
Help installing bash 3.1 with cc compiler


Hi,

I'm using an svr4 unix system with a cc compiler, i run sh ./configure and that runs fine without any problems however when i run make i get this error.

w "shell.c",L326/C1(#72): main: Function has no return statement.
w "shell.c",L727/C37(#257): '=' encountered where '==' may have been intended.
w "shell.c",L783/C35(#257): '=' encountered where '==' may have been intended.
w "shell.c",L799/C14(#257): '=' encountered where '==' may have been intended.
w (#657): (info) How referenced files were included:
| File /usr/include/strings.h from bashansi.h from shell.c.
| File /usr/include/unistd.h from shell.c.
| File externs.h from shell.h from shell.c.
2 user errors 5 warnings
*** Error code 2 (bu21)

Thanks

C19
 
Old 04-18-2006, 08:05 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
Better use gcc to compile (but not mandatory).
cc is most probably a link to another compiler.
What does "ls -l $(which cc)" return?
Moreover, you only included the warnings in your post. Please post more of the output (at least the lines showing the 2 errors mentioned).

Last edited by Agrouf; 04-18-2006 at 08:25 AM.
 
  


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
installing JAVA compiler fng_#1 Red Hat 6 11-10-2005 04:39 PM
C compiler not installing xstealthrtx Linux - Newbie 12 11-23-2004 11:12 AM
Feasibility of a compiler for shell scripts (BASH) mac48bit Linux - Newbie 2 08-16-2004 08:07 PM
Installing C and C++ compiler in SuSE mikedeatworld Linux - Software 0 08-15-2004 12:28 PM
installing the c++ compiler jmg1894 Linux - Software 1 06-17-2004 04:59 PM


All times are GMT -5. The time now is 08:17 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration