![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| C Compiler | Roam | SUN Solaris | 25 | 05-15-2009 11:03 AM |
| xl C/C++ compiler to GCC compiler | pbattu1 | UNIX for Dummies Questions & Answers | 0 | 02-27-2007 08:59 AM |
| CC compiler | vtran4270 | UNIX for Advanced & Expert Users | 3 | 08-21-2002 12:58 PM |
| Pro*C Compiler HELP!!!!! | pegasus | High Level Programming | 3 | 08-20-2002 10:44 AM |
| cc compiler / gcc | florian.turck | UNIX for Dummies Questions & Answers | 2 | 05-21-2002 03:53 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
C compiler
I have just installed C compiler, the installation
was successful but when I try to excute a gcc file I received the error message "types.c: In function `main': > types.c:4: warning: return type of `main' is not `int' > ld: fatal: file values-Xa.o: open failed: No such file or directory > ld: fatal: File processing errors. No output written to a.out > collect2: ld returned 1 exit status" what does this means? How can I solve the problem? Thanks in Advance |
|
||||
|
Post your code...
u may have given void main() and tried to return a value.. and thats why is the warning i think... If you are trying to open a file from types.c file, then check for the access permissions.. may be thats why u r unable to open it.. or it may not be in the proper path... Hope it helps... -Nisha |
|
||||
How is the status? Previously, I wrote some programs using C languge in HP UNIX, I found that it is very sensitive to spacebar even in declaration part # include <stdio.h> |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|