RE: spu_mixer.c:77: conflicting types for `spu_t'
"Gansser, Martin" <[email protected]>
| Newsgroups | gmane.comp.video.ogle.devel |
|---|---|
| Message-ID | <78224A6821F87A4D8023B133E5B1140B1EB003@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 changed the suffix of libglade in configure: #define LIBGLADE_LIB "libglade.so.0" to #define LIBGLADE_LIB "libglade.sl.0" ogle starts now w/o problems thanks Martin