Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 24150

Summary: commoncpp2 (1.0.3 AND 1.0.9)
Product: Gentoo Linux Reporter: Zachery Hostens <zacheryh>
Component: [OLD] LibraryAssignee: Michael M Nazaroff (RETIRED) <naz>
Status: RESOLVED NEEDINFO    
Severity: normal CC: lanius
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
URL: http://www.gnu.org/software/commonc++/
Whiteboard:
Package list:
Runtime testing required: ---

Description Zachery Hostens 2003-07-09 01:58:59 UTC
the library installs fine but im unable to use it. i found it odd that the includes were put 
in /usr/include/cc++2/cc++/ but i tried to use it anyway.  As soon as i tried building my 
app that used the library i got nothing but error after error.  the app i used only used the 
Sockets support in the library so thats all the error report (below) shows, im sure it 
would probably be the same for the rest though.  i tried doing source /etc/profile to 
maybe see if it updated the include path or anything (yeah long shot) but it didnt.  here 
is the error log i get when i tried to use the library: 
 
g++ -g -DDEBUG -c main.cc 
In file included from main.cc:13: 
/usr/include/cc++2/cc++/socket.h:50:25: cc++/config.h: No such file or directory 
/usr/include/cc++2/cc++/socket.h:54:25: cc++/thread.h: No such file or directory 
In file included from main.cc:13: 
/usr/include/cc++2/cc++/socket.h:85: aggregate `CCXX_CLASS_EXPORT InetAddress' 
   has incomplete type and cannot be defined 
/usr/include/cc++2/cc++/socket.h:86: aggregate `CCXX_CLASS_EXPORT 
   InetHostAddress' has incomplete type and cannot be defined 
/usr/include/cc++2/cc++/socket.h:87: aggregate `CCXX_CLASS_EXPORT 
   InetMaskAddress' has incomplete type and cannot be defined 
/usr/include/cc++2/cc++/socket.h:88: aggregate `CCXX_CLASS_EXPORT 
   BroadcastAddress' has incomplete type and cannot be defined 
/usr/include/cc++2/cc++/socket.h:89: aggregate `CCXX_CLASS_EXPORT Socket' has 
   incomplete type and cannot be defined
Comment 1 Anders Rune Jensen (RETIRED) gentoo-dev 2003-10-28 01:41:15 UTC
Works fine here. Don't see the problem. You can use `ccgnu2-config --flags`
when compiling.
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-07 06:40:29 UTC
still reproduceable?
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-16 12:18:37 UTC
can you still reproduce that?