public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* makefile error
@ 2006-05-11 19:01 Parikshat Dubey
  2006-05-11 19:16 ` Daniel Llorens del Río
  0 siblings, 1 reply; 4+ messages in thread
From: Parikshat Dubey @ 2006-05-11 19:01 UTC (permalink / raw)
  To: gcc-help

Hi All,

I am making a makefile as following:
/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*
/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*
CC = /usr/sfw/bin/g++

INCLUDE = -I/usr/local/include/directfb \  #
	  -I/usr/local/include/direct-internal \
	  -I/usr/include \
	  -I../include
LD = $(CC)

LDFLAGS =

CCFLAGS = -D_REENTRANT \
	 -D_GNU_SOURCE \
	 -O2 \
	-g -Wall\


LIBS = -lz \
       -lpthread \
       -ldirectfb \
       -lfusion \
       -ldirect \
       -ldl \
       -lfbclient \
       -lm \
       -g \
       -lpam \
       -llibs

OBJS = NM.o \
	File.o \
	Queue.o

NM.o:NM.c File.h Queue.h header.h
	$(CC) -c NM.c $(CFLAGS) $(INCLUDE) $(LIBS)
File.o:File.c File.h
	$(CC) -c File.c $(CFLAGS) $(INCLUDE) $(LIBS)
Queue.o:Queue.c Queue.h header.h
	$(CC) -c Queue.c $(CFLAGS) $(INCLUDE) $(LIBS)
#all:nodemanager
nodemanager:$(OBJS)
	$(LD) $(LDFLAGS) $(CFLAGS) $(OBJS) $(INCLUDE) $(LIBS)  -o nodemanager
clean:rm *.o nodemanager

/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*
/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*
i am getting the following errors:
/usr/sfw/bin/g++ -c NM.c  -I/usr/local/include/directfb 
-I/usr/local/include/direct-internal -I/usr/include -I../include 
-I/usr/sfw/lib/ -lz -lpthread -ldirectfb -lfusion -ldirect -ldl -lfbclient 
-lm -g -lpam -llibs
g++: -lz: linker input file unused because linking not done
g++: -lpthread: linker input file unused because linking not done
g++: -ldirectfb: linker input file unused because linking not done
g++: -lfusion: linker input file unused because linking not done
g++: -ldirect: linker input file unused because linking not done
g++: -ldl: linker input file unused because linking not done
g++: -lfbclient: linker input file unused because linking not done
g++: -lm: linker input file unused because linking not done
g++: -lpam: linker input file unused because linking not done
g++: -llibs: linker input file unused because linking not done

I went to gcc.gnu.org and got someinputs also e.g. giving --llibs option 
also but after that its giving :
usr/sfw/bin/g++ -c NM.c  -I/usr/local/include/directfb 
-I/usr/local/include/direct-internal -I/usr/include -I../include 
-I/usr/sfw/lib/ -lz -lpthread -ldirectfb -lfusion -ldirect -ldl -lfbclient 
-lm -g -lpam -llibs.

the above mentioned source files are simple sourcr files and having sockets 
and threads used. pLese help me out.I am in great trouble.I think i donot 
have the required libraries.

_________________________________________________________________
Sexy, sultry, sensuous. - see why Bipasha Basu is all that and more. Try MSN 
Search http://server1.msn.co.in/Profile/bipashabasu.asp

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-05-13 11:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-11 19:01 makefile error Parikshat Dubey
2006-05-11 19:16 ` Daniel Llorens del Río
2006-05-13  8:14   ` Makefile Issue Parikshat Dubey
2006-05-13 11:47     ` Perry Smith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).