Re: Hello World: Error | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
On Mon, Apr 23, 2012 at 13:55:34 -0700, Jerrold Clint Balansi wrote: > Hello, > > I am trying to make a Hello World program from code from this site: > http://www.paulgriffiths.net/program/c/srcs/helloxsrc.html > > However, when I try to compile and run it I get this error. Can some give > me a hint. Thank you. > > [root@vizwall Desktop]# gcc -o HelloX HelloX.c > > /tmp/ccMGGmGj.o: In function `main': > > HelloX.c:(.text+0x42): undefined reference to `XAllocSizeHints' You need to link with -lX11. Cheers, Julien _______________________________________________ xorg@xxxxxxxxxxx: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: list-xorg@xxxxxxxxxxx
[X Forum] [Nouveau Driver] [Devices] [XFree86] [XFree86 Newbie] [Site Home] [IETF Annouce] [Security] [Fontconfig] [Bugtraq] [Photo] [Yosemite] [MIPS Linux] [ARM Linux] [Linux Security] [Video for Linux] [Linux RAID] [Linux Resources]