[yocto] ntpclient compile fail
Ni Qingliang
niqingliang at insigma.com.cn
Mon Sep 26 20:18:42 PDT 2011
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 at insigma.com.cn
http://niqingliang2003.wordpress.com
More information about the yocto
mailing list