Re: [GnomeMeeting-list] Build error with openh323



El dom, 21-04-2002 a las 14:44, Graham Leggett escribió:
> 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?
> 
> Regards,
> Graham
> -- 
> -----------------------------------------
> minfrin sharp fm		"There's a moon
> 					over Bourbon Street
> 						tonight..."
Maybe you're using gcc-3.0. openh323 sources don't compile (yet?) with
it. Maybe you should try debian diffs, which contain patches to make it
compile file...

-- Miguel (http://dorna.det.uvigo.es/~miguel)




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