Re: compile error on desktop/control-center



Looks like the patch got whacked when Rodd attached it to his post.

Here is the fix:
http://mail.gnome.org/archives/garnome-list/2004-February/msg00170.html

Bob

On Tue, 2004-03-09 at 22:25, Jesse Wagner wrote:
> ok got it to try to apply but the patch fails.
> 
>  ==> Applying patch download/alsa-fix.diff
> patching file gnome-settings-daemon/Makefile.in
> Hunk #1 FAILED at 191.
> Hunk #2 FAILED at 270.
> Hunk #3 FAILED at 340.
> Hunk #4 FAILED at 363.
> Hunk #5 FAILED at 395.
> Hunk #6 FAILED at 417.
> Hunk #7 FAILED at 515.
> Hunk #8 FAILED at 531.
> Hunk #9 FAILED at 556.
> Hunk #10 FAILED at 630.
> Hunk #11 FAILED at 667.
> 11 out of 11 hunks FAILED -- saving rejects to file
> gnome-settings-daemon/Makefile.in.rej
> make: *** [normal-patch-alsa-fix.diff] Error 1
> gabriel control-center> 
> 
> On Wed, 10 Mar 2004 17:02:57 +1100, "Rodd Clarkson"
> <r-list clarkson id au> said:
> > YOu've got alsa installed, but that version of control-center wouldn't
> > compile with also support.
> > 
> > There's a patch file (attached) that you need to put in your GARCHIVEDIR
> > and then add the the PATHCFILES line after DISTFILE in the
> > desktop/control-center/Makefile
> > 
> > DISTFILES = $(GARNAME)-$(GARVERSION).tar.bz2
> > PATCHFILES = alsa-fix.diff
> > 
> > Once you've done this then run 'make clean && make makesum && make
> > install' in desktop/control-center.
> > 
> > 
> > Rodd
> > 
> > 
> > On Tue, 2004-03-09 at 21:51 -0800, Jesse Wagner wrote:
> > 
> > > I'm getting this compile error:
> > > 
> > > ...
> > > -center/work/main.d/control-center-2.5.3/gnome-settings-daemon/actions/acme-volume-alsa.c:177:
> > > undefined reference to `snd_mixer_attach'
> > > ../gnome-settings-daemon/actions/.libs/libacme.a(acme-volume-alsa.o)(.text+0x3b1):/home/gabriel/tmp/compile/garnome-0.30.1/desktop/control-center/work/main.d/control-center-2.5.3/gnome-settings-daemon/actions/acme-volume-alsa.c:183:
> > > undefined reference to `snd_mixer_selem_register'
> > > ../gnome-settings-daemon/actions/.libs/libacme.a(acme-volume-alsa.o)(.text+0x3c4):/home/gabriel/tmp/compile/garnome-0.30.1/desktop/control-center/work/main.d/control-center-2.5.3/gnome-settings-daemon/actions/acme-volume-alsa.c:188:
> > > undefined reference to `snd_mixer_load'
> > > ../gnome-settings-daemon/actions/.libs/libacme.a(acme-volume-alsa.o)(.text+0x3d0):/home/gabriel/tmp/compile/garnome-0.30.1/desktop/control-center/work/main.d/control-center-2.5.3/gnome-settings-daemon/actions/acme-volume-alsa.c:194:
> > > undefined reference to `snd_mixer_selem_id_sizeof'
> > > ../gnome-settings-daemon/actions/.libs/libacme.a(acme-volume-alsa.o)(.text+0x3dd):/home/gabriel/tmp/compile/garnome-0.30.1/desktop/control-center/work/main.d/control-center-2.5.3/gnome-settings-daemon/actions/acme-volume-alsa.c:194:
> > > undefined reference to `snd_mixer_selem_id_sizeof'
> > > ../gnome-settings-daemon/actions/.libs/libacme.a(acme-volume-alsa.o)(.text+0x3f8):/home/gabriel/tmp/compile/garnome-0.30.1/desktop/control-center/work/main.d/control-center-2.5.3/gnome-settings-daemon/actions/acme-volume-alsa.c:195:
> > > undefined reference to `snd_mixer_selem_id_set_name'
> > > ../gnome-settings-daemon/actions/.libs/libacme.a(acme-volume-alsa.o)(.text+0x404):/home/gabriel/tmp/compile/garnome-0.30.1/desktop/control-center/work/main.d/control-center-2.5.3/gnome-settings-daemon/actions/acme-volume-alsa.c:196:
> > > undefined reference to `snd_mixer_find_selem'
> > > ../gnome-settings-daemon/actions/.libs/libacme.a(acme-volume-alsa.o)(.text+0x416):/home/gabriel/tmp/compile/garnome-0.30.1/desktop/control-center/work/main.d/control-center-2.5.3/gnome-settings-daemon/actions/acme-volume-alsa.c:203:
> > > undefined reference to `snd_mixer_selem_has_playback_volume'
> > > ../gnome-settings-daemon/actions/.libs/libacme.a(acme-volume-alsa.o)(.text+0x44e):/home/gabriel/tmp/compile/garnome-0.30.1/desktop/control-center/work/main.d/control-center-2.5.3/gnome-settings-daemon/actions/acme-volume-alsa.c:209:
> > > undefined reference to `snd_mixer_selem_get_playback_volume_range'
> > > collect2: ld returned 1 exit status
> > > make[4]: *** [gnome-settings-daemon] Error 1
> > > make[4]: Leaving directory
> > > `/home/gabriel/tmp/compile/garnome-0.30.1/desktop/control-center/work/main.d/control-center-2.5.3/gnome-settings-daemon'
> > > make[3]: *** [all-recursive] Error 1
> > > make[3]: Leaving directory
> > > `/home/gabriel/tmp/compile/garnome-0.30.1/desktop/control-center/work/main.d/control-center-2.5.3/gnome-settings-daemon'
> > > make[2]: *** [all-recursive] Error 1
> > > make[2]: Leaving directory
> > > `/home/gabriel/tmp/compile/garnome-0.30.1/desktop/control-center/work/main.d/control-center-2.5.3'
> > > make[1]: *** [all-recursive-am] Error 2
> > > make[1]: Leaving directory
> > > `/home/gabriel/tmp/compile/garnome-0.30.1/desktop/control-center/work/main.d/control-center-2.5.3'
> > > make: *** [build-work/main.d/control-center-2.5.3/Makefile] Error 2
> > > 
> > > -- 
> > > http://www.fastmail.fm - And now for something completely differentâ&#8364;¦
> > > -- 
> > > garnome-list mailing list
> > > garnome-list gnome org
> > > http://mail.gnome.org/mailman/listinfo/garnome-list
> 
> -- 
> http://www.fastmail.fm - Same, same, but different
-- 
Bob Kashani
http://www.ocf.berkeley.edu/~bobk/garnome/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]