public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Iain Buchanan <iaindb@netspace.net.au>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] emerge swt failed: cannot find -lGL
Date: Wed, 18 Oct 2006 10:55:07 +0930	[thread overview]
Message-ID: <1161134707.9922.15.camel@orpheus> (raw)

Hi all,

I was just performing a routing update recently, and swt failed with
this error:

 * Building OpenGL component
cc -O -Wall -DSWT_VERSION=3232  -DLINUX -DGTK
-I/opt/blackdown-jdk-1.4.2.03/include
-I/opt/blackdown-jdk-1.4.2.03/include/linux -fPIC   -c glx.c
cc -O -Wall -DSWT_VERSION=3232  -DLINUX -DGTK
-I/opt/blackdown-jdk-1.4.2.03/include
-I/opt/blackdown-jdk-1.4.2.03/include/linux -fPIC   -c glx_structs.c
cc -O -Wall -DSWT_VERSION=3232  -DLINUX -DGTK
-I/opt/blackdown-jdk-1.4.2.03/include
-I/opt/blackdown-jdk-1.4.2.03/include/linux -fPIC   -c glx_stats.c
cc -shared -fPIC  -shared -fPIC -L/usr/X11R6/lib -lGL -lGLU -lm -o
libswt-glx-gtk-3232.so swt.o glx.o glx_structs.o glx_stats.o
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make: *** [libswt-glx-gtk-3232.so] Error 1

!!! ERROR: dev-java/swt-3.2-r2 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  swt-3.2-r2.ebuild, line 141:   Called die

!!! Unable to build OpenGL component
!!! If you need support, post the topmost build error, and the call
stack if relevant.

now, I've had "cannot find -l<blah> before, and a revdep-rebuild or
something usually fixes it.  In this case however, I couldn't get around
it.

I have been swapping between xorg's x11-drm radeon driver, and ATI's
fglrx driver recently - but I've used eselect correctly - I'm now using
the x11-drm driver.

I don't know what to look at next - any hints?
thanks,
-- 
Iain Buchanan <iaindb at netspace dot net dot au>

Familiarity breeds contempt -- and children.
		-- Mark Twain

-- 
gentoo-user@gentoo.org mailing list



             reply	other threads:[~2006-10-18  1:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-18  1:25 Iain Buchanan [this message]
2006-10-18  1:53 ` [gentoo-user] emerge swt failed: cannot find -lGL Iain Buchanan
2006-10-18  8:04   ` Bo Ørsted Andresen
2006-10-18 11:54     ` Iain Buchanan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1161134707.9922.15.camel@orpheus \
    --to=iaindb@netspace.net.au \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox