spu_mixer.c:77: conflicting types for `spu_t'

"Gansser, Martin" <[email protected]>
Newsgroups gmane.comp.video.ogle.devel
Message-ID <78224A6821F87A4D8023B133E5B1140B1EAFFF@srvmxellwangen2.ratc-de.com>
Hi,

Iam tried to compiling ogle-0.8.4 on hp-ux 11.00, but this error occurs:


gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAG
E_BUGREPORT=\"\" -DPACKAGE=\"ogle\" -DVERSION=\"0.8.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE
_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYP
ES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DWORDS_BIGENDIAN=1 -Dinline=__attribute__\ \(\(__always_i
nline__\)\) -DHAVE_STROPTS_H=1 -DHAVE_XSHM=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_MADVISE=1 -DHAVE_XML=1 -D
CONFIG_FILE=\"/opt/ogle/share/ogle/oglerc\"  -I. -I. -I. -I.. -I../include   -I/opt/ogle/include -I/
usr/local/include/libxml2    -g -O2 -Wall -c `test -f 'spu_mixer.c' || echo './'`spu_mixer.c
spu_mixer.c:77: conflicting types for `spu_t'
/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.1/include/sys/types.h:354: previous declaration of `spu_t'
gmake[1]: *** [spu_mixer.o] Error 1
gmake[1]: Leaving directory `/users/mgansser/GNU/ogle-0.8.4/mpeg2_video'
gmake: *** [all-recursive] Error 1
mzfem_root:/users/mgansser/GNU/ogle-0.8.4 #



this is the part of /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.1/include/sys/types.h:
...
   /* For physical memory and virtual addresses and/or offsets */
#ifdef _KERNEL_BUILD
#include "../machine/vmtypes.h"
#else
#include <machine/vmtypes.h>
#endif

#  ifndef _ULONG_T
#  define _ULONG_T
   typedef unsigned long ulong_t;
#  endif

   typedef int16_t              cnt_t;
   typedef uint32_t             cdno_t;
   typedef uint16_t             use_t;

   typedef struct _physadr { intptr_t r[1]; } *physadr;
   typedef struct _quad { long val[2]; } quad;

   typedef int spu_t;
...


any help?

Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.