![]() |
|
|
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 |
| Makefile help | tantric | High Level Programming | 4 | 04-13-2007 02:35 AM |
| about the makefile | ligerdave | High Level Programming | 2 | 01-31-2006 01:21 AM |
| Using cut within makefile | wvdeijk | UNIX for Dummies Questions & Answers | 2 | 12-14-2005 05:11 PM |
| makefile help | pieter023 | Shell Programming and Scripting | 1 | 06-06-2005 02:20 AM |
| makefile | ECBROWN | UNIX for Dummies Questions & Answers | 4 | 02-17-2005 12:01 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Makefile
the error i got is as follows.
dmake -m serial -f "/root/.sunstudio/11-Linux-i686/sampledir/namrata/STACK/Makefile" mkdir -p Sun-i386-Linux dmake: Warning: Infinite loop: Target `Sun-i386-Linux/cEmptyFile.c' depends on itself cc -g -xCC -c -I/root/.sunstudio/11-Linux-i686/sampledir/namrata/STACK -o Sun-i386-Linux/cEmptyFile.o cEmptyFile.c cc: language CC not recognized cc: language CC not recognized cc: cEmptyFile.c: linker input file unused because linking not done cc -g -xCC -I/root/.sunstudio/11-Linux-i686/sampledir/namrata/STACK -o Sun-i386-Linux/cEmptyFile.c Sun-i386-Linux/cEmptyFile.o cc: Sun-i386-Linux/cEmptyFile.o: No such file or directory cc: warning: '-x CC' after last input file has no effect cc: no input files *** Error code 1 dmake: Fatal error: Command failed for target `Sun-i386-Linux/cEmptyFile.c' Build Failed Total time: 1 second |
|
||||
|
Another Make File Problem
Hi, i have am make file problem too. It is driving me mad! My make file is: Code:
program : main.o a.o b.o
cc -o program main.o a.o b.o
main.o : main.c
cc -c main.c
a.o : a.c
cc -c a.c
b.o : b.c
cc -c b.c
When I run it i just get the following error message: "make: Fatal error in reader: makefile, line 3: Unexpected end of line seen" My contents of the folder is: cs3% ls a.c a.o b.c b.o main.c main.o makefile It all compiles fine outside the make file. Any Ideas Anyone PLEASE! |
![]() |
| Bookmarks |
| Tags |
| linux |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|