Subject: Re: Compiling a X app.
To: =?ISO-2022-JP?B?GyRCRiNKLCEhNXwbKEI=?= <IZY01245@nifty.ne.jp>
From: David Brownlee <abs@anim.dreamworks.com>
List: port-mac68k
Date: 03/23/1999 19:28:22
	Did you add -lX11 to the link line?

		David/absolute

    -=-  "They're only red from all the thoughts unused inside my head"  -=-

On Wed, 24 Mar 1999, [ISO-2022-JP] 藤分 亨 wrote:

> Re: Compiling a X application
> 
>    I can compile a normal C program using cc or gcc on my NetBSD, but cannot a
>  X program.  When I tried to make a program, I got these error messages below.
>   I had installed Xbase.tgz and Xcomp.tgz, checked the contents of /etc/ld.so.
> conf to find the '/usr/X11R6/lib' entry and softlinked /usr/X11R6/include/X11 
> to /usr/include/X11 in advance.   I guess linking didn't succeed, but I don't 
> know why. I appreciate your advice.
> 
> /var/tmp/cc00214a1.o: Undefined symbol '_XOpenDisplay' referenced from text se
> gment
> [... etc ..]