The kernel compile problem remains from kernel-2.2.16-21. With
xforms-devel-0.88-15 from powertools installed the kernel build tries
to use the _no source_ library xforms!! With another version of
xforms (0.88.1-1) installed the unresolved references in libxforms.so
disappear, but not the unresolved references in libX11.so!! 

rpm -qf /usr/X11R6/lib/libX11.so (libX11.so.6.1) results in XFree86-devel-4.0.1-0.43,
but according to the use of kgcc (1.1.2-40) from  compat-egcs-6.2-1.1.2.9, a more
reasonable library to use would be libX11.so (libX11.so.6.1) from
compat-libs-6.2-2!! Is this a spec file confuguration error?

Also, should a kernel compile use something like xforms, even if it is
installed??

kgcc  -MD -O -Wall -Wstrict-prototypes -pipe -I../include 
-I/usr/src/redhat/BUILD/linux/include -I../modules -I/usr/X11R6/include 
-I/usr/X11/include -I/usr/X11R6/include/X11 -c cardinfo.c
In file included from /usr/include/forms.h:78,
                 from cardinfo.c:48:
/usr/X11R6/include/X11/xpm.h:395: warning: function declaration isn't a prototype
/usr/X11R6/include/X11/xpm.h:403: warning: function declaration isn't a prototype
kgcc  cardinfo.o -o cardinfo -L/usr/X11R6/lib -L/usr/X11/lib -lforms -lX11 -lm
/usr/X11R6/lib/libforms.so: undefined reference to `XpmCreatePixmapFromData'
/usr/X11R6/lib/libX11.so: undefined reference to `[EMAIL PROTECTED]'
/usr/X11R6/lib/libX11.so: undefined reference to `[EMAIL PROTECTED]'
/usr/X11R6/lib/libforms.so: undefined reference to `XpmFreeAttributes'
/usr/X11R6/lib/libX11.so: undefined reference to `[EMAIL PROTECTED]'
/usr/X11R6/lib/libforms.so: undefined reference to `XpmAttributesSize'
/usr/X11R6/lib/libforms.so: undefined reference to `XpmReadFileToPixmap'
/usr/X11R6/lib/libforms.so: undefined reference to `XpmLibraryVersion'
collect2: ld returned 1 exit status
make[1]: *** [cardinfo] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/linux/pcmcia-cs-3.1.20/cardmgr'
make: *** [all] Error 2
make: Leaving directory `/usr/src/redhat/BUILD/linux/pcmcia-cs-3.1.20'
Bad exit status from /var/tmp/rpm-tmp.75563 (%build)

real    159m29.898s
user    130m46.900s
sys     9m5.390s



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to