All of lore.kernel.org
 help / color / mirror / Atom feed
* ntpclient compile fail
@ 2011-09-27  3:18 Ni Qingliang
  2011-09-27  3:50 ` Ni Qingliang
  2011-09-27 15:46 ` McClintock Matthew-B29882
  0 siblings, 2 replies; 8+ messages in thread
From: Ni Qingliang @ 2011-09-27  3:18 UTC (permalink / raw)
  To: yocto@yoctoproject.org

Hello:
I'm adding ntpclient into my distro.

but build fail, reason is the CFLAGS/LDFLAGS in it's Makefile didn't
take effect.

What can I do?

the original makefile is:
CFLAGS += -fno-strict-aliasing
CFLAGS += -std=c89
CFLAGS += -W -Wall
CFLAGS += -O2
CFLAGS += -DENABLE_DEBUG
CFLAGS += -DENABLE_REPLAY

LDFLAGS += -lrt

all: ntpclient

test: ntpclient
	./ntpclient -d -r <test.dat

ntpclient: ntpclient.o phaselock.o

ntpclient.o phaselock.o: ntpclient.h

adjtimex: adjtimex.o

clean:
	rm -f ntpclient adjtimex *.o

-- 
Yi Qingliang
niqingliang@insigma.com.cn
http://niqingliang2003.wordpress.com




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

end of thread, other threads:[~2011-09-28  2:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-27  3:18 ntpclient compile fail Ni Qingliang
2011-09-27  3:50 ` Ni Qingliang
2011-09-27 15:46 ` McClintock Matthew-B29882
2011-09-28  1:00   ` Ni Qingliang
2011-09-28  1:50     ` McClintock Matthew-B29882
2011-09-28  2:04       ` Ni Qingliang
2011-09-28  2:12         ` McClintock Matthew-B29882
2011-09-28  2:33           ` Ni Qingliang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.