From: Yves <yme...@pe...> - 2005-02-07 13:13:13
|
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLIBDIR=3D\"/opt/nagios/lib\" > -DLOCALSTATEDIR=3D\"/opt/nagios/var\" -DSYSCONFDIR=3D\"/opt/nagios/etc\= " > -DPREFIX=3D\"/opt/nagios\" -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -DLOCALEDIR=3D\"/opt/nagios/share/locale\" > -I.. -g -O2 -Wall -MT libpp_common_la-config_file.lo -MD -MP -MF > .deps/libpp_common_la-config_file.Tpo -c config_file.c -fPIC -DPIC -o > .libs/libpp_common_la-config_file.o > config_file.c: In function `config_definition_init': > config_file.c:105: warning: null argument where non-null required (arg = 1) > config_file.c:105: warning: null argument where non-null required (arg = 1) > config_file.c:105: warning: null argument where non-null required (arg = 2) > config_file.c:105: warning: null argument where non-null required (arg = 2) > config_file.c:105: warning: null argument where non-null required (arg = 1) > config_file.c:105: warning: null argument where non-null required (arg = 1) > config_file.c:105: warning: null argument where non-null required (arg = 2) Ben, could you have a look at that ? > /usr/bin/ld: cannot find -lXpm > collect2: ld returned 1 exit status > > Now, I got past by linking libXpm.so to libXpm.so.4.11 in > /usr/X11R6/lib, but then it halted at libX11, and so on - getting > confused at the versioned so libraries. > > Is this a function of the compiler, loader, Makefile or what? Any ideas= ? Nick : this is probably a problem on FC because you should not have libXp= m.so.4.11 without libXpm.so.4. The library is libXpm.so.4 and should be found under= that name. Having libXpm.so.4.11 is a convenient way to manage versions easily. If you upgraded, maybe you still have libXpm.so.4.11 from an older instal= lation, but you did not install the Xpm packages ? Don't forget to install the libxpm-dev= el package. Same thing for libX11. > > Thanks > Nick > --=20 - Homepage - http://ymettier.free.fr - http://www.logicacmg.com - - GPG key - http://ymettier.free.fr/gpg.txt - - Maitretarot - http://www.nongnu.org/maitretarot/ - - Perfparse - http://www.perfparse.org/ - |