X-Spam-Check-By: sourceware.org Message-ID: X-Sender: rbody99 AT hotmail DOT com In-Reply-To: <4382DB2D.E1CD10F9@dessent.net> From: "Robert Body" To: cygwin AT cygwin DOT com Subject: Re: XInternAtom XRectInRegion ... not found ... where to get these XLIB components Date: Tue, 22 Nov 2005 02:14:55 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Thanks Brian, that makes sense. I don't see anything wrong with the makefile specs, maybe someone in Xfree mailing list does, i put it there. And yes i should have posted to Xfree mailing list, my mistake -Robert >From: Brian Dessent >Reply-To: cygwin AT cygwin DOT com >To: cygwin AT cygwin DOT com >Subject: Re: XInternAtom XRectInRegion ... not found ... where to get these >XLIB components >Date: Tue, 22 Nov 2005 00:47:41 -0800 > >Robert Body wrote: > > > Hi, I am getting errors about xlib components missing. Running find >gives > > me this: > >This is the wrong mailing list. X11 related topics go to cygwin-xfree >(at) cygwin.com. > > > /home/Owner/games/simp> make > > gcc -Wall -L/usr/X11R6/lib -L/usr/local/lib -lX11 -lXpm -lXext > > xsimpsons.o toon.o -o xsimpsons > > toon.o:toon.c:(.text+0x47): undefined reference to `_XInternAtom' > >The import libraries for these X11 functions are in the x11-devel >package which you presumably have installed, but since you didn't >include cygcheck output as requested at > we can only speculate. However you >would have gotten errors about not being able to find -lX11 if this were >not the case, so you most likely have everything you need already. > >The problem is not that you're missing any libraries, it's that your >link command line order is wrong. You cannot specify -lfoo before a >dependent object which uses functions from libfoo. > >Brian > >-- >Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >Problem reports: http://cygwin.com/problems.html >Documentation: http://cygwin.com/docs.html >FAQ: http://cygwin.com/faq/ > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/