Error when compiling dock apps in WMaker

Error when compiling dock apps in WMaker

Post by Thomas Guldstrand Larse » Sun, 31 Dec 1899 09:00:00



Hi,

I been trying to compile various dock apps in Windowmaker in a Mandrake 7.2
environment. When I compile e.g wmCalClock and others I get the following
error message:


gcc -O2 -Wall -DLinux -c wmCalClock.c -o wmCalClock.o
-I/usr/X11R6/include/X11 -I/usr/X11R6/include
gcc -O2 -Wall -DLinux -c xutils.c -o xutils.o -I/usr/X11R6/include/X11
-I/usr/X11R6/include
gcc   -o wmCalClock wmCalClock.o xutils.o -I/usr/X11R6/include/X11
-I/usr/X11R6/include -L/usr/X11R6/lib -lXpm -lX11 -lXext
/usr/bin/ld: cannot find -lXpm
collect2: ld returned 1 exit status
make: *** [wmCalClock] Error 1

I seems that it can't find the -lXpm, lX11 and lXext libs. I can't find the
files either in /usr/X11R6/lib, where they are supposed to reside.

I though find the files libXpm.so.4 , libX11.so6 and libXext.so.6 instead. I
have tried changing the "Makefile" according to that, but I receive a
similar error message.

I have tried looking for a lXpm package but I haven't been succesfull in
finding that!

Any hints??

TIA

/Thomas

 
 
 

Error when compiling dock apps in WMaker

Post by Juergen Hein » Sun, 31 Dec 1899 09:00:00



>Hi,

>I been trying to compile various dock apps in Windowmaker in a Mandrake 7.2
>environment. When I compile e.g wmCalClock and others I get the following
>error message:


>gcc -O2 -Wall -DLinux -c wmCalClock.c -o wmCalClock.o
>-I/usr/X11R6/include/X11 -I/usr/X11R6/include
>gcc -O2 -Wall -DLinux -c xutils.c -o xutils.o -I/usr/X11R6/include/X11
>-I/usr/X11R6/include
>gcc   -o wmCalClock wmCalClock.o xutils.o -I/usr/X11R6/include/X11
>-I/usr/X11R6/include -L/usr/X11R6/lib -lXpm -lX11 -lXext
>/usr/bin/ld: cannot find -lXpm
>collect2: ld returned 1 exit status
>make: *** [wmCalClock] Error 1

>I seems that it can't find the -lXpm, lX11 and lXext libs. I can't find the
>files either in /usr/X11R6/lib, where they are supposed to reside.

[-]
It said so, yes.

Quote:>I though find the files libXpm.so.4 , libX11.so6 and libXext.so.6 instead. I
>have tried changing the "Makefile" according to that, but I receive a
>similar error message.

[-]
-lx means libx.a or libx.so. You do have symbolic links like ..
libXpm.so   -> libXpm.so.4
libXpm.so.4 -> libXpm.so.4.11
.. these though ? If not *and* there aren't non-shared libs (.a), then
yes, it's not going to work. It used to but ages ago the binutils ld
behaviour got changed.

Hope it helps,
Juergen

--
\ Real name     : Jrgen Heinzl         \       no flames      /


 
 
 

1. WMaker dock apps in GNOME panel

Does anyone know how to add WindowMaker dock applets to the GNOME panel as
swallowed apps? I tried setting the size of the swallowed app in the "Add
swallowed app" menu item of the Gnome panel to 64x64, 65x65, 66x66.. the
app always starts outside of the panel, although (empty) space is
allocated for the app in the panel. Would like to use apps like wmppp,
asmon, etc..

Anand Bedekar

2. FTP PROBLEM

3. Wmaker dockApps that don't dock

4. Mounting IDE Zip drives

5. Errors compiling Wingz 1.4 Add-ins (Linux 1.3.99, GCC 2.6)

6. 10/100 Mbps PCMCIA Ethernet Cards and Linux

7. Docking apps in WindowMaker

8. Is process still alive from C pgm ?

9. windowmaker docked apps...

10. Dock apps in enlightenment+gnome?

11. App core dumps when launched from WM dock

12. Gnome & Dock Apps

13. Dock apps in Enlightenment 15.5