problems with libgtop


      I've got problems compiling libgtop

      First, i do :
      ./configure --prefix=/opt/gnome
      => Ok

      Then :
ppp.c: In function `get_ISDN_stats':
ppp.c:58: `ISDN_MAX_CHANNELS' undeclared (first use in this function)
ppp.c:58: (Each undeclared identifier is reported only once
ppp.c:58: for each function it appears in.)
make[3]: *** [ppp.lo] Erreur 1
make[2]: *** [all-recursive] Erreur 1
make[1]: *** [all-recursive] Erreur 1
make: *** [all-recursive-am] Erreur 2

      Then, i search a little for ISDN_MAX_CHANNELS. I found it in
      Then, i looked in ppp.c and and saw the line
      #include <linux/isdn.h>
      It should be ok but it isnot.
      I added in ppp.c :
        #define ISDN_MAX_CHANNELS 64

      it goes on compiling

      but new error :

gcc -Wall -Wunused -o libgtop_daemon gnuserv.o slave.o main.o io.o version.o
../../lib/.libs/libgtop.a -lm ../../sysdeps/common/.libs/libgtop_common.a -
L/usr/X11R6/lib -lXau -L/opt/gnome/lib -lglib -lm 
../../sysdeps/linux/.libs/libgtop_sysdeps.a -lglib -lm -L/opt/gnome/lib -lglib -
rdynamic -L/opt/gnome/lib -L/opt/apps/lib -L/usr/X11R6/lib -lgnomesupport -
L/usr/X11R6/lib -lXau -lm
/opt/apps/lib/ undefined reference to 'atexit'

       I don't know what to do at this point.

       I've got glibc-2.2.3 and gcc-2.95.3

Best regards,
 Michenaud                          mailto:lmichenaud m6net fr

Unsubscribe: send email to lfs-apps-request linuxfromscratch org
and put unsubscribe in the subject header of the message

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]