> Did you edit the provided Makefile for cross compiling? > Yes, I did... I'll check again all steps and try...
> Some time ago I cross compiled ntpclient to run on the FOX board using > the following Makefile: > > ------------------------------------------------------- > AXIS_USABLE_LIBS = UCLIBC GLIBC > include $(AXIS_TOP_DIR)/tools/build/Rules.axis > > INSTDIR = $(prefix)/usr/bin > > CC:=cris-gcc -mlinux > > CFLAGS += -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow \ > -Waggregate-return -Wnested-externs -Winline -Wwrite-strings \ > -Wstrict-prototypes > > CFLAGS += -Os > LDFLAGS= -s > > all: ntpclient > > ntpclient: ntpclient.o phaselock.o > > install: ntpclient > $(INSTALL) -p -o root -g root -m 0777 ntpclient $(INSTDIR) > > clean: > $(RM) ntpclient adjtimex *.o > ----------------------------------------------------------------- Seems to be same I used, but as soon as I can, I try this version > Of course you must first initialize the environent and > say "make cris-axis-linux-gnu" in the ntpclient directory > before you run "make clean", "make". > Yes, of course... I followed all instructions written on Acme web site in regards of compiling C programs... > If you are not successful with this Makefile I could send you the > ntpclient as binary (glibc or uclib version). > Ok, tomorrow morning I'll try all your suggestions and I'll let you know... > BTW, using CrisOS instead of Linux Axis, > ntpclient can be downloaded as a ready to run package > (ipkg install ntpclient). > > Good luck! > > Regards > > Klaus > Thank you very much for your suggestions!!!! Bye, Max
