Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129447 - net-libs/openh323-1.15.6 fails with gcc 4.1
Summary: net-libs/openh323-1.15.6 fails with gcc 4.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stefan Knoblich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-04-10 02:19 UTC by Patrizio Bassi
Modified: 2006-05-16 01:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
gcc4 + amd64 suggested patch (openh323-1.15.6-gcc4.diff,1.19 KB, patch)
2006-04-11 12:42 UTC, Åsmund Grammeltvedt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrizio Bassi 2006-04-10 02:19:23 UTC
g++  -D_REENTRANT -Wall  -fPIC -DPIC -DPASN_NOPRINTON -DPASN_LEANANDMEAN -I/var/tmp/portage/openh323-1.15.6/work/openh323-1.15.6/include -DHAS_OSS   -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math -felide-constructors -c h235auth1.cxx -o /var/tmp/portage/openh323-1.15.6/work/openh323-1.15.6/lib/obj_linux_x86_rn/h235auth1.o
g++  -D_REENTRANT -Wall  -fPIC -DPIC -DPASN_NOPRINTON -DPASN_LEANANDMEAN -I/var/tmp/portage/openh323-1.15.6/work/openh323-1.15.6/include -DHAS_OSS   -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math -felide-constructors -c ixjunix.cxx -o /var/tmp/portage/openh323-1.15.6/work/openh323-1.15.6/lib/obj_linux_x86_rn/ixjunix.o
/var/tmp/portage/openh323-1.15.6/work/openh323-1.15.6/include/ixjlid.h:839: error: extra qualification ‘OpalIxJDevice::’ on member ‘GetException’
make[1]: *** [/var/tmp/portage/openh323-1.15.6/work/openh323-1.15.6/lib/obj_linux_x86_rn/ixjunix.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/openh323-1.15.6/work/openh323-1.15.6/src'
make: *** [opt] Error 2

!!! ERROR: net-libs/openh323-1.15.6 failed.
Call stack:
  ebuild.sh, line 1526:   Called dyn_compile
  ebuild.sh, line 923:   Called src_compile
  openh323-1.15.6.ebuild, line 66:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Åsmund Grammeltvedt 2006-04-11 12:42:28 UTC
Created attachment 84465 [details, diff]
gcc4 + amd64 suggested patch

The suggested patch removes the extra qualifier causing the error.

In addition, there are a few void* -> int casts which cause errors on amd64. The patch also changes these casts to longs for good measure.
Comment 2 Patrizio Bassi 2006-04-12 01:56:30 UTC
works perfectly, please apply and close this bug
Comment 3 Mark Loeser (RETIRED) gentoo-dev 2006-05-01 11:06:14 UTC
Thanks, added the patch.
Comment 4 Patrizio Bassi 2006-05-16 01:06:06 UTC
what's up?

yesterday sync:

h323pluginmgr.cxx: In member function ‘virtual void H323PluginCodecManager::OnLoadPlugin(PDynaLink&, INT)’:
h323pluginmgr.cxx:1270: warning: dereferencing type-punned pointer will break strict-aliasing rules
g++  -D_REENTRANT -Wall  -fPIC -DPIC -DPASN_NOPRINTON -DPASN_LEANANDMEAN -I/mnt/Dati/Gentoo/tmp/portage/openh323-1.15.6/work/openh323-1.15.6/include -DHAS_OSS   -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -felide-constructors -c ixjunix.cxx -o /mnt/Dati/Gentoo/tmp/portage/openh323-1.15.6/work/openh323-1.15.6/lib/obj_linux_x86_rn/ixjunix.o
/mnt/Dati/Gentoo/tmp/portage/openh323-1.15.6/work/openh323-1.15.6/include/ixjlid.h:839: error: extra qualification ‘OpalIxJDevice::’ on member ‘GetException’
make[1]: *** [/mnt/Dati/Gentoo/tmp/portage/openh323-1.15.6/work/openh323-1.15.6/lib/obj_linux_x86_rn/ixjunix.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/openh323-1.15.6/work/openh323-1.15.6/src'
make: *** [opt] Error 2