Subject: Re: gnome compile errors.... Help!?
To: Charlie Root <root@CS670402-A.gvcl1.bc.wave.home.com>
From: Chris Jones <chris@cjones.org>
List: netbsd-help
Date: 12/20/2000 10:17:40
Charlie Root <root@CS670402-A.gvcl1.bc.wave.home.com> writes:

> cc -O2 -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o grecord main.o gui.o grec.o preferences.o sound.o -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXi -lXext -lX11 -lgnome -lgnomesupport -laudiofile -lm -lglib -lintl -lintl
> 
> grec.o: In function `record_sound':
> grec.o(.text+0xba2): undefined reference to `esd_record_stream_fallback'
> grec.o: In function `play_sound':
> grec.o(.text+0xbfe): undefined reference to `esd_play_file'
[...]

Here's my guess:

You were running 1.4 on i386, which uses a.out for its binaries and
libraries.  You installed some packages (like esound, maybe?) which
included some libraries.  Then you upgraded to 1.5, which uses ELF for
its binaries and libraries -- note that you can't link an ELF binary
against an a.out library, or vice-versa.  Now, when you try to install
a package that depends on one of the ones from 1.4, you're effectively
trying to build an ELF binary and link it against an a.out library.

If this is the case, you'll have to un-install all your old packages
(just to be safe) and re-install them.

Chris

-- 
----------------------------------------------------- chris@cjones.org
Chris Jones                                           Mad scientist at large