Compile problem with Hobbit client
Mike Eriksen
kme3 at kemi.dtu.dk
Sat Oct 8 18:37:40 CEST 2005
Hi.
First a "thank you" to Henrik for his presentation at the Linux BOF today
in Copenhagen. Very interesting.
Coming home I decided to try to make a Hobbit client for a thin client
project I'm somewhat involved in (thinstation.sf.net). However, I got into
trouble when trying to compile the Hobbit client in the custom Thinstation
build environment. Next I decided to try on my vanilla Debian Sarge, and
I got the exact same error message (running configure seem ok to me):
bash# make
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 -p`echo 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 -o hobbitc
cc: no input files
make: *** [hobbitc] Error 1
Mind you, I'm an amateur programmer, so I might have done something
obviously stupid and not even realizing it. However, usually I do survive
a configure/make/make install sequence :-)
Debian Sarge is running gcc 3.3.5 and Thinstation 3.4.4.
Any hint greatly appreciated.
Mike
--
Thinstation FAQ maintainer
http://thinstation.sourceforge.net
- a light, full featured linux based thin client OS
More information about the Xymon
mailing list