Menu

problems building

Help
2000-04-28
2000-05-03
  • Jesse Vitrone

    Jesse Vitrone - 2000-04-28

    Sorry if people have posted these problems before, but I'm tring CommonC++ for the first time, and I'm running into these problems when I try to do the 'make' after I do the 'configure'.  These are the errors I get:

    Making all in posix
    gmake[1]: Entering directory `/afs/eda/u/jessev/lib/CommonC++/posix'
    /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I../posix     -g -O2 -D_REENTRANT -D_THREAD_SAFE -c inaddr.cpp
    g++ -DHAVE_CONFIG_H -I../posix -g -O2 -D_REENTRANT -D_THREAD_SAFE -c  -DPIC inaddr.cpp -o inaddr.lo
    In file included from inaddr.cpp:43:
    thread.h:83: conflicting types for `typedef void * tid_t'
    /afs/eda/tools/gnu/lib/gcc-lib/rs6000-ibm-aix4.1.5.0/2.95.2/include/sys/types.h:129: previous declaration as `typedef int tid_t'
    thread.h:379: syntax error before `;'
    thread.h: In method `cc_Semaphore::~cc_Semaphore()':
    thread.h:400: `_semaphore' undeclared (first use this function)
    thread.h:400: (Each undeclared identifier is reported only once
    thread.h:400: for each function it appears in.)
    thread.h:400: implicit declaration of function `int sem_destroy(...)'
    thread.h: In method `void cc_Semaphore::Wait()':
    thread.h:419: implicit declaration of function `int sem_wait(...)'
    thread.h: In method `bool cc_Semaphore::TryWait()':
    thread.h:436: implicit declaration of function `int sem_trywait(...)'
    thread.h: In method `void cc_Semaphore::Post()':
    thread.h:453: implicit declaration of function `int sem_post(...)'
    gmake[1]: *** [inaddr.lo] Error 1
    gmake[1]: Leaving directory `/afs/eda/u/jessev/lib/CommonC++/posix'
    gmake: *** [all-recursive] Error 1

    Any idea what I'm doing wrong?  I'm on AIX 4.1

    Thanks in advance,
        Jesse

     
    • Jesse Vitrone

      Jesse Vitrone - 2000-04-28

      I was reloading the page, and it kept posting every time I did - doh!

       
    • David Sugar

      David Sugar - 2000-05-03

      Unfortunately I have no experiance with or access to a AIX system at this time.  However there maybe someone else reading this that might...

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.