- Looks like hobbitclient is really for netbsd only.
bash-2.05b# gmake
cc -g -O2 -DSYSCONFDIR="\"/usr/local/etc\"" -c -o hobbitc.o hobbitc.c
cc -g -O2 -DSYSCONFDIR="\"/usr/local/etc\"" -c -o conf_load.o conf_load.c
bison -y -pecho conf_parse.c|sed 's/^\([^_]\{1,\}_\).*$/\1/' conf_parse.y
mv y.tab.c conf_parse.c
flex -oconf_token.c conf_token.l
cc -g -O2 -DSYSCONFDIR="\"/usr/local/etc\"" -c -o conf_parse.o
conf_parse.c
cc -g -O2 -DSYSCONFDIR="\"/usr/local/etc\"" -c -o report.o report.c
report.c: In function open_report': report.c:90: warning: initialization makes integer from pointer without a cast cc -g -O2 -DSYSCONFDIR="\"/usr/local/etc\"" -c -o osdep.o osdep.c cc hobbitc.o conf_load.o conf_parse.o report.o osdep.o -o hobbitc report.o(.text+0x1b8): In function cpu_report':
/opt/build/hobbitclient-0.3/report.c:159: undefined reference to osdep_cpu' report.o(.text+0x2fa): In function mem_report':
/opt/build/hobbitclient-0.3/report.c:197: undefined reference to
osdep_memory' report.o(.text+0x50a): In function disk_report':
/opt/build/hobbitclient-0.3/report.c:253: undefined reference to
`osdep_disk'
collect2: ld returned 1 exit status
gm
ake: *** [hobbitc] Error 1
- I need to do following modification to correct the Makefile to get above error message. bash-2.05b# grep CC Makefile $(CC) $(LIBS) $^ -o $@
$(CC) -o $@ $(LIBS) $>
bash-2.05b#
T.J. Yang