gcc

Harris Kosmidhs hkosmidi at alexandros.csd.auth.gr
Thu Jun 26 08:07:27 EEST 1997


hello,

exo to e3hs problhma.

8elo na kano compile ena programma pou xrhsimopoiei xforms.

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..


###########################################################
# Kosmidhs Harris           				  #
# hkosmidi at aix.meng.auth.gr 				  # 
#			    				  #
# What are we going to do tonight Bill?		    	  #
# Everything we do every night..try to make a better OS.  #
###########################################################

--
====================================================================
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