Hi
I'm new to stools. I'm trying to build (stools-current.tar.gz) on Solaris 5.7 with gcc. After doing the configure, I get the following error:
gmake gmake all-recursive gmake[1]: Entering directory `/export/home/hal/stools/stools-0.1.17' Making all in snmp gmake[2]: Entering directory `/export/home/hal/stools/stools-0.1.17/snmp' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../app -DHAVE_INET -g -O2 -c g_asn1.c In file included from g_asn1.c:65: g_snmp.h:31: glib.h: No such file or directory In file included from g_security.h:27, from g_snmp.h:177, from g_asn1.c:65: g_sha.h:34: glib.h: No such file or directory gmake[2]: *** [g_asn1.o] Error 1 gmake[2]: Leaving directory `/export/home/hal/stools/stools-0.1.17/snmp' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/export/home/hal/stools/stools-0.1.17' gmake: *** [all-recursive-am] Error 2
I couldn't find the glib.h file. Where should this file come from ?
Thanks.
- -- Hal Rosenstock
-- !! This message is brought to you via the `stools' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to stools-request@ibr.cs.tu-bs.de. !! See http://www.ibr.cs.tu-bs.de/projects/stools/ for more information.
Hi!
Hal> I'm new to stools. I'm trying to build (stools-current.tar.gz) on Hal> Solaris 5.7 with gcc. After doing the configure, I get the Hal> following error: [...] Hal> I couldn't find the glib.h file. Where should this file come from ?
The Compiling section of the README file gives the answer:
To compile stools, you need the following packages:
- GNU readline version 4.X - glib version 1.2.X - ncurses version 5.X (or a native working curses implementation)
-frank -- !! This message is brought to you via the `stools' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to stools-request@ibr.cs.tu-bs.de. !! See http://www.ibr.cs.tu-bs.de/projects/stools/ for more information.
Hi again,
Where do I find readline and glib ? I found ncurses.
Thanks.
-- Hal
-----Original Message----- From: strauss@ibr.cs.tu-bs.de [mailto:strauss@ibr.cs.tu-bs.de] Sent: Tuesday, April 24, 2001 2:18 PM To: Hal Rosenstock Cc: stools@ibr.cs.tu-bs.de Subject: Re: [stools] stools building on Solaris 5.7
Hi!
Hal> I'm new to stools. I'm trying to build (stools-current.tar.gz) on Hal> Solaris 5.7 with gcc. After doing the configure, I get the Hal> following error: [...] Hal> I couldn't find the glib.h file. Where should this file come from ?
The Compiling section of the README file gives the answer:
To compile stools, you need the following packages:
- GNU readline version 4.X - glib version 1.2.X - ncurses version 5.X (or a native working curses implementation)
-frank
-- !! This message is brought to you via the `stools' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to stools-request@ibr.cs.tu-bs.de. !! See http://www.ibr.cs.tu-bs.de/projects/stools/ for more information.
Hi!
Hal> Where do I find readline and glib ? I found ncurses.
readline: ftp://ftp.gnu.org/pub/gnu/readline/readline-4.2.tar.gz glib: ftp://ftp://ftp.gtk.org/pub/gtk/v1.2/glib-1.2.10.tar.gz ncurses: ftp://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.2.tar.gz
(I don't know whether glib-1.3.x works as well.)
-frank -- !! This message is brought to you via the `stools' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to stools-request@ibr.cs.tu-bs.de. !! See http://www.ibr.cs.tu-bs.de/projects/stools/ for more information.
Hi,
I am now having a problem linking stop:
gcc -g -O2 -o stop stop.o getopt.o getopt1.o fmt.o interface.o process.o disman.o tcp.o ether.o -L../stub -lstub -L../snmp -lsnmp -L/usr/local/bin -lglib -lsocket -lnsl -lreadline -lcurses Undefined first referenced symbol in file wattr_off stop.o wattr_on stop.o
Where are these supposed to come from ?
Thanks again.
-- Hal
-----Original Message----- From: strauss@ibr.cs.tu-bs.de [mailto:strauss@ibr.cs.tu-bs.de] Sent: Wednesday, April 25, 2001 10:55 AM To: Hal Rosenstock Cc: stools@ibr.cs.tu-bs.de Subject: Re: [stools] stools building on Solaris 5.7
Hi!
Hal> Where do I find readline and glib ? I found ncurses.
readline: ftp://ftp.gnu.org/pub/gnu/readline/readline-4.2.tar.gz glib: ftp://ftp://ftp.gtk.org/pub/gtk/v1.2/glib-1.2.10.tar.gz ncurses: ftp://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.2.tar.gz
(I don't know whether glib-1.3.x works as well.)
-frank
-- !! This message is brought to you via the `stools' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to stools-request@ibr.cs.tu-bs.de. !! See http://www.ibr.cs.tu-bs.de/projects/stools/ for more information.
Hi!
Hal> I am now having a problem linking stop:
Hal> gcc -g -O2 -o stop stop.o getopt.o getopt1.o fmt.o interface.o process.o Hal> disman.o tcp.o Hal> ether.o -L../stub -lstub -L../snmp -lsnmp -L/usr/local/bin -lglib -lsocket Hal> -lnsl -lreadline -lcurses Hal> Undefined first referenced Hal> symbol in file Hal> wattr_off stop.o Hal> wattr_on stop.o
Hal> Where are these supposed to come from ?
Are you sure, you are using ncurses 5.x?
-frank -- !! This message is brought to you via the `stools' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to stools-request@ibr.cs.tu-bs.de. !! See http://www.ibr.cs.tu-bs.de/projects/stools/ for more information.
Hal Rosenstock writes:
Hal> I am now having a problem linking stop:
Hal> gcc -g -O2 -o stop stop.o getopt.o getopt1.o fmt.o interface.o Hal> process.o disman.o tcp.o ether.o -L../stub -lstub -L../snmp Hal> -lsnmp -L/usr/local/bin -lglib -lsocket -lnsl -lreadline -lcurses Hal> Undefined first referenced symbol in file wattr_off stop.o Hal> wattr_on stop.o
Hal> Where are these supposed to come from ?
wattr_on and wattr_off are standard curses functions. On Solaris 2.8, you will find these symbols in /usr/lib/libcurses.a. If for some reason you system lacks. On Solaris 2.5, you will find these symbols in /usr/ccs/lib/libcurses.a.
If in doubt, just install ncurses and rerun the configure script after a make distclean. This will ensure that stools uses ncurses which works just fine on other platforms.
/js
participants (3)
-
Frank Strauss
-
Hal Rosenstock
-
Juergen Schoenwaelder