Re: Can't compile gnome-media-2.8.0 on Solaris



Hi,

This has been fixed in the CVS head. 

If you want to compile 2.8.0 sources please change 

AUDIO_INITINFO(&audio_info, sizeof (audio_info));  

to

AUDIO_INITINFO(&audio_info);

This line will be in gnome-cd/solaris-cdrom.c (between line numbers 121
to 130)

Thanks,
Bala


On Wed, 2005-04-27 at 22:19, Dan Nicholson wrote:
> I'm having trouble building gnome-media on Solaris.  Specifically, the
> build fails on gnome-cd.  This isn't the first time I've had trouble
> with cd applications in Solaris.  Anyway, here's the error:
> 
> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..  -I.. -I../cddb-slave2
> -DORBIT2=1 -threads -DXTHREADS
> -I/s0/dbnichol/opt/gtk2/include/glib-2.0
> -I/s0/dbnichol/opt/gtk2/lib/glib-2.0/include
> -I/s0/dbnichol/opt/gtk2/include/libgnomeui-2.0
> -I/s0/dbnichol/opt/gtk2/include/libgnome-2.0
> -I/s0/dbnichol/opt/gtk2/include/libgnomecanvas-2.0
> -I/s0/dbnichol/opt/gtk2/include/gtk-2.0
> -I/s0/dbnichol/opt/gtk2/include/gconf/2
> -I/s0/dbnichol/opt/gtk2/include/libbonoboui-2.0
> -I/s0/dbnichol/opt/gtk2/include/orbit-2.0
> -I/s0/dbnichol/opt/gtk2/include/libbonobo-2.0
> -I/s0/dbnichol/opt/gtk2/include/gnome-vfs-2.0
> -I/s0/dbnichol/opt/gtk2/lib/gnome-vfs-2.0/include
> -I/s0/dbnichol/opt/gtk2/include/bonobo-activation-2.0
> -I/s0/dbnichol/opt/gtk2/include/pango-1.0
> -I/s0/dbnichol/opt/gtk2/include
> -I/s0/dbnichol/opt/gtk2/include/freetype2
> -I/s0/dbnichol/opt/gtk2/lib/gtk-2.0/include
> -I/s0/dbnichol/Xorg/include -I/usr/openwin/include
> -I/s0/dbnichol/opt/gtk2/include/atk-1.0
> -I/s0/dbnichol/include/libart-2.0 -I/s0/dbnichol/include/libxml2
> -I/s0/dbnichol/include   -DXTHREADS
> -I/s0/dbnichol/opt/gtk2/include/gail-1.0
> -I/s0/dbnichol/opt/gtk2/include/atk-1.0
> -I/s0/dbnichol/opt/gtk2/include/gtk-2.0
> -I/s0/dbnichol/opt/gtk2/include/libgnomecanvas-2.0
> -I/s0/dbnichol/opt/gtk2/include/glib-2.0
> -I/s0/dbnichol/opt/gtk2/lib/glib-2.0/include
> -I/s0/dbnichol/opt/gtk2/lib/gtk-2.0/include
> -I/s0/dbnichol/Xorg/include -I/usr/openwin/include
> -I/s0/dbnichol/opt/gtk2/include/pango-1.0
> -I/s0/dbnichol/opt/gtk2/include
> -I/s0/dbnichol/opt/gtk2/include/freetype2
> -I/s0/dbnichol/include/libart-2.0  
> -DGNOMELOCALEDIR=\""/s0/dbnichol/opt/gtk2/share/locale"\"
> -DDATADIR=\""/s0/dbnichol/opt/gtk2/share"\"
> -DGNOME_ICONDIR=\""/s0/dbnichol/opt/gtk2/share/pixmaps"\"
> -DTHEME_DIR=\""/s0/dbnichol/opt/gtk2/share/pixmaps/gnome-cd/themes"\" 
> -I/s0/dbnichol/opt/gtk2/include -I/s0/dbnichol/include  -mcpu=v9 -O2
> -MT solaris-cdrom.o -MD -MP -MF ".deps/solaris-cdrom.Tpo" \
>   -c -o solaris-cdrom.o `test -f 'solaris-cdrom.c' || echo
> './'`solaris-cdrom.c; \
> then mv -f ".deps/solaris-cdrom.Tpo" ".deps/solaris-cdrom.Po"; \
> else rm -f ".deps/solaris-cdrom.Tpo"; exit 1; \
> fi
> solaris-cdrom.c:124:64: macro "AUDIO_INITINFO" passed 2 arguments, but
> takes just 1
> solaris-cdrom.c: In function `set_audio_port':
> solaris-cdrom.c:124: error: `AUDIO_INITINFO' undeclared (first use in
> this function)
> solaris-cdrom.c:124: error: (Each undeclared identifier is reported only once
> solaris-cdrom.c:124: error: for each function it appears in.)
> make[3]: *** [solaris-cdrom.o] Error 1
> make[3]: Leaving directory
> `/s0/dbnichol/opt/src/gnome/gnome-media-2.8.0/gnome-cd'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/s0/dbnichol/opt/src/gnome/gnome-media-2.8.0/gnome-cd'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/s0/dbnichol/opt/src/gnome/gnome-media-2.8.0'
> make: *** [all] Error 2
> 
> Does anyone know how to handle this issue?  Are there any special
> configure parameters I can pass to get around this?
> 
> Thanks,
> Dan Nicholson
> _______________________________________________
> gnome-multimedia mailing list
> gnome-multimedia gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-multimedia




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