Date: Tue, 9 Jan 2001 22:09:32 -0800 (PST) From: May Chim <chim2278@yahoo.com> To: freebsd-questions@FreeBSD.ORG Subject: Static linking problem on FreeBSD Message-ID: <20010110060932.22635.qmail@web11005.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
Hi, I am trying to create a static binary for the older version of the FreeBSD machines. But I keep receiving error message of "missing dependency operator" on the mflect part (indicated by <------) no matter where I put the -static option. My Makefile is like this: CFLAGS = -W -Wall -Wbad-function-cast -Wmissing-prototypes -Werror -fsigned-char -DFreeBSD INC = -I/usr/local/include -I../common -I../librtpxr -I../zing CC = gcc CPLUSPLUS = g++ -pipe AR = ar RANLIB = ranlib BINOBJ = mflect_main.o mflect.o ../zing/wire.o SRCS := $(OBJS:%.o=%.c) mflect: <------$(BINOBJ) ../librtpxr/librtpxr.a ../common/libcommon.a $(CPLUSPLUS) $(CFLAGS) $(BINOBJ) -o mflect ../librtpxr/librtpxr.a ../com mon/libcommon.a -lm -lpcap -static .c.o: $(CC) $(CFLAGS) $(INC) -c $< .cc.o: $(CPLUSPLUS) $(CFLAGS) $(INC) -c $< clean: -rm -f $(LIBOBJ) $(BINOBJ) version.h Makefile mflect tags etags: etags *.[ch] ctags: ctags *.[ch] release: cvs tag release-`cat VERSION | sed "s/\./-/g"` depend: $(SRCS) makedepend $(INC) $(SRCS) d: $(SRCS) It will be great if anyone can point me to get more information on this or what exactly the dependency operator means? May __________________________________________________ Do You Yahoo!? Yahoo! Photos - Share your holiday photos online! http://photos.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010110060932.22635.qmail>