Xymon Mailing List Archive search

Compile problem with Hobbit client

3 messages in this thread

list Mike Eriksen · Sat, 8 Oct 2005 18:37:40 +0200 (CEST) ·
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
list Henrik Størner · Sat, 8 Oct 2005 20:29:23 +0200 ·
Hi Mike,
▸ quoted from Mike Eriksen


On Sat, Oct 08, 2005 at 06:37:40PM +0200, Mike Eriksen wrote:
First a "thank you" to Henrik for his presentation at the Linux BOF today in Copenhagen. Very interesting.
Thanks :-)
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):
I think you downloaded the standalone client package from sourceforge.
This was a very early attempt at a Hobbit client which was only really
developed for NetBSD - I'll be removing this from Sourceforge, because
it is bound to confuse unsuspecting users like You.

Just grab the full Hobbit release (4.1.2rc1), and run "configure --client" for a client-only build.


Regards,
henrik
list Mike Eriksen · Sat, 8 Oct 2005 21:17:24 +0200 (CEST) ·
▸ quoted from Henrik Størner
On Sat, 8 Oct 2005, Henrik Stoerner wrote:
Hi Mike,


On Sat, Oct 08, 2005 at 06:37:40PM +0200, Mike Eriksen wrote:
First a "thank you" to Henrik for his presentation at the Linux BOF today
in Copenhagen. Very interesting.
Thanks :-)
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):
I think you downloaded the standalone client package from sourceforge.
This was a very early attempt at a Hobbit client which was only really
developed for NetBSD - I'll be removing this from Sourceforge, because
it is bound to confuse unsuspecting users like You.
Ah. Yes, exactly. This was my mistake.
▸ quoted from Henrik Størner
Just grab the full Hobbit release (4.1.2rc1), and run
"configure --client" for a client-only build.
It compiles nicely now. Thanks.

Next - to read the docs... :-)

Mike

Regards,
henrik
▸ quoted from Mike Eriksen

-- 
Thinstation FAQ maintainer
http://thinstation.sourceforge.net
- a light, full featured linux based thin client OS