Re: devel/libgtop2 cannot build

From: Conrad J. Sabatier (conrads_at_cox.net)
Date: 11/16/04

  • Next message: Fernando Durango: "trouble sending bytes to uhid (Griffin PowerMate on 5.3-STABLE/i386)"
    Date: Tue, 16 Nov 2004 13:14:51 -0600
    To: Norikatsu Shigemura <nork@freebsd.org>
    
    
    

    On Fri, 12 Nov 2004 13:33:05 +0900, Norikatsu Shigemura
    <nork@freebsd.org> wrote:

    > Hi gnome maintainers!
    >
    > I compiled devel/libtop2 on 6-current. But it couldn't.
    >
    > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    > -
    > cc -DHAVE_CONFIG_H -I. -I. -I../.. -D_IN_LIBGTOP -D_GNU_SOURCE
    > -DGLIBTOP_NAMES -I../.. -I../.. -I../../sysdeps/freebsd
    > -I../../include -I/usr/local/include/glib-2.0
    > -I/usr/local/lib/glib-2.0/include -Winline -Wall -std=gnu89
    > -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes
    > -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare
    > -fno-strict-aliasing -O2 -fno-ident -pipe -march=pentium3
    > -I/usr/X11R6/include -DGTOPLOCALEDIR=\"/usr/X11R6/share/locale\"
    > -DLIBGTOP_VERSION=\"2.8.1\" -DLIBGTOP_SERVER_VERSION=\"5\"
    > -DLIBGTOP_VERSION_CODE=2008001
    > -DLIBGTOP_SERVER=\"/usr/X11R6/bin/libgtop_server2\"
    > -I/usr/local/include -Winline -Wall -std=gnu89 -Wchar-subscripts
    > -Wmissing-declarations -Wmissing-prototypes -Wnested-externs
    > -Wpointer-arith -Wcast-align -Wsign-compare -fno-strict-aliasing -O2
    > -fno-ident -pipe -march=pentium3 -c procmap.c -fPIC -DPIC -o
    > .libs/procmap.o
    > procmap.c: In function `glibtop_get_proc_map_p':
    > procmap.c:276: error: structure has no member named `v_cachedfs'
    > gmake[3]: *** [procmap.lo] Error 1
    > gmake[3]: Leaving directory
    > `/usr/ports/devel/libgtop2/work/libgtop-2.8.1/sysdeps/freebsd'- - - -
    > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    >
    > According to src/sys/sys/vnode.h 1.254, v_cachedfs member was
    > removed. Anyone, do you have any idea?
    > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    > - revision 1.254
    > date: 2004/11/09 22:51:03; author: phk; state: Exp; lines: +0 -1
    > Remove vnode->v_cachedfs.
    >
    > It was only used for the highly dangerous "export all vnodes with a
    > sysctl" function.
    > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    > -_______________________________________________
    > freebsd-hackers@freebsd.org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    > To unsubscribe, send any mail to
    > "freebsd-hackers-unsubscribe@freebsd.org"
    >

    The attached patch, applied under
    /usr/ports/devel/libgtop2/work/libgtop-2.8.1/sysdeps/freebsd,
    works for me under CURRENT.

    -- 
    Conrad J. Sabatier <conrads@cox.net> -- "In Unix veritas"
    
    
    

    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"



  • Next message: Fernando Durango: "trouble sending bytes to uhid (Griffin PowerMate on 5.3-STABLE/i386)"

    Relevant Pages

    • Re: SYN Attacks - how i cant stop it
      ... "sysctl: unknown oid...." ... Then use stateful inspection and dynamic rules for the ... > rest of the wall. ... To unsubscribe, ...
      (FreeBSD-Security)
    • Re: SYN Attacks - how i cant stop it
      ... "sysctl: unknown oid...." ... Then use stateful inspection and dynamic rules for the ... > rest of the wall. ... To unsubscribe, ...
      (freebsd-questions)
    • RE: kswapd issue
      ... What I was missing earlier was "did not run sysctl -p" after changing ... damage you may sustain as a result of any virus in this e-mail. ... Infosys reserves the right to monitor and review the content ... unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe ...
      (RedHat)
    • Re: Problem Tuning Maxsockets
      ... > I am trying to alter the number of maxsockets allocated from the default ... > operation via sysctl I'm informed the oid is read ... To unsubscribe, ...
      (freebsd-questions)
    • Re: Routing RH 8
      ... General Red Hat Linux discussion list ... to 1 and then run sysctl manually to set it for the active session ... unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe ...
      (RedHat)