Svante Signell wrote:
> 
> 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??

This is not for the kernel itself. It's for the X11 app cardinfo
for pcmcia card management. It's not part of the RedHat pcmcia package.
 
> 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

This is in the X pixmap header. the declaration has () instead of (void)
and the compiler is complaining. Should be harmless.

> kgcc  cardinfo.o -o cardinfo -L/usr/X11R6/lib -L/usr/X11/lib -lforms -lX11 -lm

adding -lXpm to the Makefile in /usr/src/linux/pcmcia-cs-3.1.19/cardmgr
fixes the Xpm* functions for libxforms.

> /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]'

I'm not sure why libX11.so is mot finding the libc functions.

Perhaps that's why Red Hat left out the cardinfo utility?

You could try a newer version of pcmcia from pcmcia-cs.sourceforge.net
The newest version there is pcmcia-cs-3.1.21 dated Oct 2, 2000.

        -Thomas



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

Reply via email to