Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


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

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


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)


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

Rep: Reputation: 80
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.


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:30 AM.

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