Re: [GnomeMeeting-list] Build error with openh323



On Sun, Apr 21, 2002 at 02:44:46PM +0200, Graham Leggett wrote:
> Hi all,
> 
> I downloaded the Redhat SRPMs needed to run gnomemeeting, and have tried
> to build them on my LinuxPPC YDL (Redhat based) distribution, but cannot
> build the openh323 library. It bombs out like so:
> 
> g++ -Wall -DP_LINUX -D_REENTRANT -DP_HAS_SEMAPHORES -fPIC -DP_SSL
> -I/usr/include/include -I/usr/include/crypto -DP_EXPAT -DP_PTHREADS
> -DPBYTE_ORDER=PBIG_ENDIAN
> -I/usr/src/rpm/BUILD/openh323/pwlibdir/include/ptlib/unix -DPTRACING
> -I/usr/src/rpm/BUILD/openh323/include -DHAS_IXJ -DHAS_OSS -DPTRACING
> -I/usr/src/rpm/BUILD/openh323/pwlibdir/include -O2 -fsigned-char  -c
> /usr/src/rpm/BUILD/openh323/src/h225_1.cxx -o
> /usr/src/rpm/BUILD/openh323/lib/obj_linux_ppc_r/h225_1.o
> In file included from
> /usr/src/rpm/BUILD/openh323/pwlibdir/include/netinet/in.h:250,
>                  from
> /usr/src/rpm/BUILD/openh323/pwlibdir/include/ptlib/unix/ptlib/pmachdep.h:139,
>                  from
> /usr/src/rpm/BUILD/openh323/pwlibdir/include/ptlib/unix/ptlib/contain.h:50,
>                  from
> /usr/src/rpm/BUILD/openh323/pwlibdir/include/ptlib.h:128,
>                  from /usr/src/rpm/BUILD/openh323/src/h225_1.cxx:11:
> /usr/src/rpm/BUILD/openh323/pwlibdir/include/bits/in.h:69: ANSI C++
> forbids data member `ip_opts' with same name as enclosing class
> make[2]: *** [/usr/src/rpm/BUILD/openh323/lib/obj_linux_ppc_r/h225_1.o]
> Error 1
> make[2]: Leaving directory `/usr/src/rpm/BUILD/openh323/src'
> make[1]: *** [opt] Error 2
> make[1]: Leaving directory `/usr/src/rpm/BUILD/openh323'
> make: *** [optshared] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.49061 (%build)
> 
> >From the error it would seem that it is impossible to build this using
> gcc 2.95.4, assuming it builds correctly on Redhat Intel.
> 
> Can anyone suggest a solution to this?

Perhaps you should try to compile from sources directly.
I'm using gcc 2.95.4 on my debian and it compiles fine...
However I have not tested the src.rpms, as I don't run redhat.

> 
> Regards,
> Graham
> -- 
> -----------------------------------------
> minfrin sharp fm		"There's a moon
> 					over Bourbon Street
> 						tonight..."




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