gcc
Alexios Chouchoulas
alexios at vennea.demon.co.uk
Thu Jun 26 04:27:29 EEST 1997
On Wed, 25 Jun 1997, Harris Kosmidhs wrote:
Xarh, to problhma deixnei na einai to oti den yparxei static libX11.a. Den
mporeis na kaneis epilektiko static linking. H tha einai ola ta libraries
dynamically linked, h ola statically linked. Gia na kaneis statically linked
ena X11 programma, prepei na exeis kai static X11 library (libX11*a). An den
kanw lathos (trexw persino distribution kai afta ta pragmata allazoun), to
XFree86 den erxetai me static libraries... Prepei na ta kaneis compile monos
sou.
> Kano:
> gcc -L/usr/X11R6/lib -lX11 -lforms -lm -o XX main.c -Wall
> kai petuxaine.
> An 3anakano gcc me -static epipleon leei:
>
> /usr/i486-linux/bin/ld: cannot open -lX11: No such file or directory
>
> Ti skata einai auto? To /etc/ld.so.conf einai:
> /usr/local/lib
> /usr/X11R6/lib
> /usr/X11/lib
> /usr/i486-linuxaout/lib
> /usr/openwin/lib
> /tmp/StarOffice-3.1/linux-x86/lib
> /usr/i486-sysv4/lib
> /usr/X11R6/include/X11
> /lib
>
> to idio munhma mou bgazei kai an kano compile me:
> gcc -lX11 -lforms -lm -o XX main.c -Wall
>
> Thanks
>
>
> PS: To zhthma dhladh einai na kano to programma compiled os statically
> linked me tis xforms..
Alexios Chouchoulas '88 ,88' ,88' alexios at vennea.demon.co.uk
The Unpronounceable One ,o88oooo88ooooo88oo, axc at dcs.ed.ac.uk
--
====================================================================
Gia na mathete pos na xrisimopoiite ton majordomo, stilte e-mail
sto "majordomo at argeas.argos.hol.gr" me 1 grammi sto keimeno: help
Ta archives tis listas einai sto http://www.argos.hol.gr/lists
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================
More information about the Linux-greek-users
mailing list