You are not logged in.

#1 2003-08-16 02:13:50

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,363
Website

xlibs ... can we use a debian-package for arch?

i need to compile a program with Xmu

[...]
cc -static -o mage MAGEANGL.o MAGEBBOX.o MAGECLON.o MAGECOLR.o MAGEDLOG.o MAGEDRAW.o MAGEFILE.o MAGEFOO.o MAGEHELP.o MAGEINIT.o MAGEINPT.o MAGELIST.o MAGEMENU.o MAGEOUT.o MAGEPOST.o MAGEREND.o MAGESETS.o MAGESCOR.o MAGESYNC.o MAGETABL.o MAGEUTIL.o MUXMBAR.o MUXMBBOX.o MUXMCOLR.o MUXMDLOG.o MUXMDRAW.o MUXMFILE.o MUXMINIT.o MUXMMAIN.o MUXMMENU.o MUXMOUT.o MUXMPIPE.o MUXMTABL.o MUXMWIND.o dlstubs.o -L/usr/X11R6/lib -u _XEditResCheckMessages -lXmu -lXm -lXt -lSM -lICE -lXext -lXp -lX11  -lm  -pthread
/usr/bin/ld: cannot find -lXmu
collect2: ld returned 1 exit status
make: *** [mage] Error 1
==> Build Failed. Aborting...

and as i know this Xmu must be in xlibs ... unfortunately there is on the whole internet no such source-package to find (google, altavista ...) ... only the debian-package
-> http://packages.debian.org/stable/libs/xlibs.html

is there a way to use it for archlinux?

any idea where to search for / find the xlibs?


The impossible missions are the only ones which succeed.

Offline

#2 2003-08-16 07:33:53

orelien
Forum Fellow
From: France
Registered: 2002-12-05
Posts: 220
Website

Re: xlibs ... can we use a debian-package for arch?

xlibs are deliverd by xfree86, almost only as shared libraries.
It is most likely that the "-static"  option implies you need something like libXmu.a instead of the existing libXmu.so...
Try to build the program dynamically...

Offline

#3 2003-08-16 09:05:10

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,363
Website

Re: xlibs ... can we use a debian-package for arch?

orelien wrote:

xlibs are deliverd by xfree86, almost only as shared libraries.
It is most likely that the "-static"  option implies you need something like libXmu.a instead of the existing libXmu.so...
Try to build the program dynamically...

dynamically it worked,

thanx a lot


The impossible missions are the only ones which succeed.

Offline

Board footer

Powered by FluxBB