Re: spu_mixer.c:77: conflicting types for `spu_t'
H}kan Hjort <[email protected]>
| Newsgroups | gmane.comp.video.ogle.devel |
|---|---|
| Message-ID | <[email protected]> |
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/types.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). Let us know how it goes, would be intresting to hear if you can get it to work on HPUX. -- Håkan Hjort