On Sun, 1 Apr 2001, Joseph Carter wrote:
> On Sun, Apr 01, 2001 at 05:52:22PM +0300, Pasi K?rkk?inen wrote:
> > Is anyone else getting this:
> >
> > /usr/lib/libGL.so: undefined reference to `va_start'
> > /usr/lib/libGL.so: undefined reference to `va_end'
> > collect2: ld returned 1 exit status
> >
> > While trying to link your own (SDL/OpenGL) app to libGL.so..
> >
> >
> > I'm using debian unstable and todays .deb's of dri.
>
> The problem is a gcc bug recently uncovered by recent glibc. What version
> of gcc-2.95 do you have installed? It was supposed to be fixed by now.
> At any rate, a workaround is to make sure you explicitly link everything
> whether you use them explicitly or not. For example GTK apps needed to
> actually be linked against xlib and the like. Something related to -fPIC
> I think.
>
Package: gcc
Status: install ok installed
Priority: standard
Section: devel
Installed-Size: 52
Maintainer: Debian GCC maintainers <[EMAIL PROTECTED]>
Source: gcc-defaults (0.7)
Version: 1:2.95.3-7
Provides: c-compiler
Depends: cpp, gcc-2.95, cpp-2.95
Recommends: libc-dev
Suggests: task-devel
Description: The GNU C compiler.
The default GNU C compiler for Debian GNU/Linux systems.
.
This is currently version 2.95.3 for this architecture (i386).
.
NOTE: This is not a final release, but taken from the CVS gcc-2_95-branch
(dated 20001229).
This is the version that is in unstable currently..
Ok, I'll try adding the libs to the commandline of linker..
> 2.95.3.ds5-10 is what I have and it claims to fix the problem.
>
Hmm.. is it somewhere as a .deb ?
- Pasi Kärkkäinen
^
. .
Linux
/ - \
Choice.of.the
.Next.Generation.
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dri-devel