Subject: Problems with two patches to gnome-libs-1.2.8
To: None <tech-pkg@NetBSD.ORG>
From: Greg Earle <earle@isolar.DynDNS.ORG>
List: tech-pkg
Date: 11/28/2000 18:49:14
I'm running NetBSD/SPARC 1.4.2 on a SPARCstation 20/71 and I just last
night downloaded an entire new pkgsrc tarball and installed it.
I'm trying to build gnapster and one of the sub-dependancies tried to
build the GNOME 1.2.8 libraries in /usr/pkgsrc/x11/gnome-libs/.
Two of the patches that come with that version of the package cause the
compilation heartburn:
/usr/pkgsrc/x11/gnome-libs/patches/patch-ap
/usr/pkgsrc/x11/gnome-libs/patches/patch-aq
These 2 patches are recent - dated November 10th.
They both contain references to "CMSG_SPACE" and "CMSG_LEN", which come up
as undefined when I try to build it:
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./.. -DNEED_GNOMESUPPORT_H -I../support
-I../support -I../intl -I../intl
-I/usr/X11R6/include -I/usr/X11R6/include -I/usr/pkg/lib/glib/include
-I/usr/pkg/include/glib -I/usr/X11R6/include
-I/usr/X11R6/include -I/usr/pkg/lib/glib/include -I/usr/pkg/include/glib
-I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include
-DGNOMESBINDIR=\""/usr/X11R6/sbin"\" -I/usr/pkg/include -I/usr/X11R6/include
-I/usr/pkg/lib/glib/include -I/usr/pkg/include/glib -I/usr/X11R6/include -O2
-Wall -Wunused -c gnome-pty-helper.c
gnome-pty-helper.c: In function `init_msg_pass':
gnome-pty-helper.c:125: warning: implicit declaration of function `CMSG_SPACE'
gnome-pty-helper.c: In function `pass_fd':
gnome-pty-helper.c:150: warning: implicit declaration of function `CMSG_LEN'
cc -o gnome-pty-helper gnome-pty-helper.o gnome-login-support.o gnome-utmp.o -lutil
gnome-pty-helper.o: Undefined symbol `_CMSG_SPACE' referenced from text segment
gnome-pty-helper.o: Undefined symbol `_CMSG_LEN' referenced from text segment
gnome-pty-helper.o: Undefined symbol `_CMSG_SPACE' referenced from text segment
gnome-pty-helper.o: Undefined symbol `_CMSG_LEN' referenced from text segment
collect2: ld returned 1 exit status
gmake[2]: *** [gnome-pty-helper] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/x11/gnome-libs/work/gnome-libs-1.2.8/zvt'
Where are "CMSG_SPACE" and "CMSG_LEN" supposed to be #define'd? I suppose
I could try backing out the patches (put the .orig's back) and see if it
would compile, but I'd rather have it fixed the "right" way.
(Please be sure and cc: me on any replies 'cos I'm not on tech-pkg. Thanks.)
- Greg