RE: spu_mixer.c:77: conflicting types for `spu_t'
"Gansser, Martin" <[email protected]>
| Newsgroups | gmane.comp.video.ogle.devel |
|---|---|
| Message-ID | <78224A6821F87A4D8023B133E5B1140B40C7CE@srvmxellwangen2.ratc-de.com> |
> Mon Jul 22 2002, Gansser, Martin wrote:
> > Hi,
> >
> > Iam tried to compiling ogle-0.8.4 on hp-ux 11.00, but this
> error occurs:
> >
> >
> -snip-
> > spu_mixer.c:77: conflicting types for `spu_t'
> >
> /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.1/include/sys/t
> ypes.h:354: previous declaration of `spu_t'
> > gmake[1]: *** [spu_mixer.o] Error 1
> -snip-
> >
> > this is the part of
> /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.1/include/sys/types.h:
> > ...
> > typedef int spu_t;
> > ...
> >
> > any help?
> >
> Unfortunat that the OS has also used this name.
>
> Just do a search and replace of spu_t with some other name.
> say spu_handle_t (in this file mpeg2_video/spu_mixer.c).
works by replacing spu_t with spu_handle_t
> Let us know how it goes, would be intresting to hear if you can
> get it to work on HPUX.
but ogle starts with following error message on hpux 11.00 with gnome 1.4:
# /opt/ogle/bin/ogle
Note[ogle_ctrl]: ogle 0.8.4
Debug[ogle_ctrl]: Started /opt/ogle/lib/ogle/ogle_gui with pid 14883
Error during dlopen: Can't find path for shared library: libglade.so.0
Debug[ogle_ctrl]: child: 14883 exited with 1
Debug[ogle_ctrl]: pid: 14883 exited with status: 1
Debug[ogle_ctrl]: all children dead
Debug[ogle_ctrl]: removing shmid: 13
Note[ogle_ctrl]: exiting
shared libraries on hp-ux has .sl extensions, not so like others !
prounix_root:/ # ll /opt/gnome/lib/libglade.*
-rw-r--r-- 1 bin bin 146360 07-17 00:21 /opt/gnome/lib/libglade.a
-r-xr-xr-x 1 bin bin 1000 07-17 00:21 /opt/gnome/lib/libglade.la
lrwxr-xr-x 1 bin bin 13 07-18 09:26 /opt/gnome/lib/libglade.sl -> libglade.sl.0
-r-xr-xr-x 1 bin bin 335872 07-17 00:21 /opt/gnome/lib/libglade.sl.0
the configure scripst only tests the existens of shared libraries with .so suffixes.
prounix_root:/users/mgansser/GNU/ogle_gui-0.8.4 # grep glade.so *
config.h:#define LIBGLADE_LIB "libglade.so.0"
config.log:#define LIBGLADE_LIB "libglade.so.0"
config.status:${ac_dA}LIBGLADE_LIB${ac_dB}LIBGLADE_LIB${ac_dC}"libglade.so.0"${ac_dD}
config.status:${ac_uA}LIBGLADE_LIB${ac_uB}LIBGLADE_LIB${ac_uC}"libglade.so.0"${ac_uD}
configure:#define LIBGLADE_LIB "libglade.so.0"
configure.in:dnl Hack to get the path to the libglade so-file
configure.in:dnl this should be something different for some bsd (libglade.so.4 i
configure.in:AC_DEFINE_UNQUOTED(LIBGLADE_LIB, "libglade.so.0",
any help
thanks Martin