-lX11

Harris Kosmidhs hkosmidi at alexandros.csd.auth.gr
Mon May 5 03:14:54 EEST 1997


Mia aporia. Pao na kano compile ena aplo programmataki gia X (xlib)
Den 3ero gia poio logo alla to gcc de mou dexetai -lX11 . To eixa kai
palia auto to problhma kai ekana -L/usr/X11R6/lib. Tora oute auto
douleuei.

Grafei kati tou stul :
/tmp/cca010431.o: In function `main':
/tmp/cca010431.o(.text+0x12): undefined reference to `XOpenDisplay'
/tmp/cca010431.o(.text+0x9b): undefined reference to `XCreateSimpleWindow'
/tmp/cca010431.o(.text+0xb5): undefined reference to `XCreateGC'

k.o.k

Ti shmainoun auta? Exo thn entuposh pos de briskei libraries.
Pos mporo na kano to gcc na dexetai -lX11 -lXm ktl.
(to gcc to perase to slackware 3.1 mono tou opos kai oles tis biblio8hkes)

#############################
# Kosmidhs Harris           #
# hkosmidi at aix.meng.auth.gr #
#############################

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