Public bug reported:

Gutsy Tribe-5 32-bit.

Attempting to build Gutsy source package gnome-libs-1.4.2 with gcc 4.1.3
(installed with build-essentials):

./.libs/libgtkxmhtml.so: undefined reference to `XpmCreateXpmImageFromBuffer'
./.libs/libgtkxmhtml.so: undefined reference to `XpmFreeXpmInfo'
./.libs/libgtkxmhtml.so: undefined reference to `XpmGetErrorString'
./.libs/libgtkxmhtml.so: undefined reference to `XpmCreateXpmImageFromData'
./.libs/libgtkxmhtml.so: undefined reference to `XpmFreeXpmImage'

>From a very old bug #28084: "This presumably happened because the
dependency on gdx-imlib11-dev (and perhaps other things) no longer
brings in the old xlibs-dev."

The fix is to clear the config.cache and then build with explicit
library settings:

gnome-libs-1.4.2$ rm config.cache
gnome-libs-1.4.2$ ./configure --prefix=/usr --x-includes=/usr/include/X11/xpm.h 
 --x-libraries=/usr/lib/libXpm.so
gnome-libs-1.4.2$ make

...

make[2]: Leaving directory `/home/all/SourceCode/gnome-libs-1.4.2'
make[1]: Leaving directory `/home/all/SourceCode/gnome-libs-1.4.2'

** Affects: gnome-libs (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  Gutsy Tribe-5 32-bit.
  
  Attempting to build Gutsy source package gnome-libs-1.4.2 with gcc 4.1.3
  (installed with build-essentials):
  
  ./.libs/libgtkxmhtml.so: undefined reference to `XpmCreateXpmImageFromBuffer'
  ./.libs/libgtkxmhtml.so: undefined reference to `XpmFreeXpmInfo'
  ./.libs/libgtkxmhtml.so: undefined reference to `XpmGetErrorString'
  ./.libs/libgtkxmhtml.so: undefined reference to `XpmCreateXpmImageFromData'
  ./.libs/libgtkxmhtml.so: undefined reference to `XpmFreeXpmImage'
  
  From a very old bug #28084: "This presumably happened because the
  dependency on gdx-imlib11-dev (and perhaps other things) no longer
  brings in the old xlibs-dev."
  
- The fix is to clear the config.cache and the build with explicit library
- settings:
+ The fix is to clear the config.cache and then build with explicit
+ library settings:
  
  gnome-libs-1.4.2$ rm config.cache
  gnome-libs-1.4.2$ ./configure --prefix=/usr 
--x-includes=/usr/include/X11/xpm.h  --x-libraries=/usr/lib/libXpm.so
  gnome-libs-1.4.2$ make
  
  ...
  
  make[2]: Leaving directory `/home/all/SourceCode/gnome-libs-1.4.2'
  make[1]: Leaving directory `/home/all/SourceCode/gnome-libs-1.4.2'

-- 
[gutsy] undefined reference to `XpmCreateXpmImageFromBuffer' (and others)
https://bugs.launchpad.net/bugs/134812
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to