Discussion:
[omniORB] Installing OmniOrb 4.1.6 on FreeBSD 8.2
Bryan Robinson
2011-10-12 12:43:49 UTC
Permalink
Skipped content of type multipart/alternative-------------- next part --------------
making export in ./src...
gmake[1]: Entering directory `/root/omniORB-4.1.6/build/src'
making export in src/tool...
gmake[2]: Entering directory `/root/omniORB-4.1.6/build/src/tool'
making export in src/tool/omkdepend...
gmake[3]: Entering directory `/root/omniORB-4.1.6/build/src/tool/omkdepend'
gcc -c -O -DDEBUG -I. -I../../../../src/tool/omkdepend -I../../../include -I../../../../include -D__OSVERSION__=0 -D__x86__ -o include.o ../../../../src/tool/omkdepend/include.c
gcc -c -O -DDEBUG -I. -I../../../../src/tool/omkdepend -I../../../include -I../../../../include -D__OSVERSION__=0 -D__x86__ -o main.o ../../../../src/tool/omkdepend/main.c
gcc -c -O -DDEBUG -I. -I../../../../src/tool/omkdepend -I../../../include -I../../../../include -D__OSVERSION__=0 -D__x86__ -o parse.o ../../../../src/tool/omkdepend/parse.c
gcc -c -O -DDEBUG -I. -I../../../../src/tool/omkdepend -I../../../include -I../../../../include -D__OSVERSION__=0 -D__x86__ -o pr.o ../../../../src/tool/omkdepend/pr.c
gcc -c -O -DDEBUG -I. -I../../../../src/tool/omkdepend -I../../../include -I../../../../include -D__OSVERSION__=0 -D__x86__ -o cppsetup.o ../../../../src/tool/omkdepend/cppsetup.c
gcc -c -O -DDEBUG -I. -I../../../../src/tool/omkdepend -I../../../include -I../../../../include -D__OSVERSION__=0 -D__x86__ -o ifparser.o ../../../../src/tool/omkdepend/ifparser.c
+ rm -f omkdepend
+ gcc -o omkdepend -O -L../../../lib -L../../../../lib include.o main.o parse.o pr.o cppsetup.o ifparser.o
File omkdepend hasn't changed.
gmake[3]: Leaving directory `/root/omniORB-4.1.6/build/src/tool/omkdepend'
making export in src/tool/omniidl...
gmake[3]: Entering directory `/root/omniORB-4.1.6/build/src/tool/omniidl'
making export in src/tool/omniidl/cxx...
gmake[4]: Entering directory `/root/omniORB-4.1.6/build/src/tool/omniidl/cxx'
../../../../bin/omkdepend -D__cplusplus -D__GNUG__ -D__GNUC__ -DIDLMODULE_VERSION="0x2630" -I/usr/local/include -DPYTHON_INCLUDE=<python2.6/Python.h> -fPIC -I. -I../../../../../src/tool/omniidl/cxx -I../../../../include -I../../../../../include -D__OSVERSION__=0 -D__x86__ ../../../../../src/tool/omniidl/cxx/idlc.cc ../../../../../src/tool/omniidl/cxx/idlpython.cc ../../../../../src/tool/omniidl/cxx/idlfixed.cc ../../../../../src/tool/omniidl/cxx/idlconfig.cc ../../../../../src/tool/omniidl/cxx/idldump.cc ../../../../../src/tool/omniidl/cxx/idlvalidate.cc ../../../../../src/tool/omniidl/cxx/idlast.cc ../../../../../src/tool/omniidl/cxx/idlexpr.cc ../../../../../src/tool/omniidl/cxx/idlscope.cc ../../../../../src/tool/omniidl/cxx/idlrepoId.cc ../../../../../src/tool/omniidl/cxx/idltype.cc ../../../../../src/tool/omniidl/cxx/idlutil.cc ../../../../../src/tool/omniidl/cxx/idlerr.cc ../../../../../src/tool/omniidl/cxx/lex.yy.cc ../../../../../src/tool/omniidl/cxx/y.tab.cc
../../../../bin/omkdepend: warning: ignoring option -fPIC
making export in src/tool/omniidl/cxx/cccp...
gmake[5]: Entering directory `/root/omniORB-4.1.6/build/src/tool/omniidl/cxx/cccp'
gcc -c -O -DHAVE_CONFIG_H -I. -I. -I../../../../../../src/tool/omniidl/cxx/cccp -I../../../../../include -I../../../../../../include -D__OSVERSION__=0 -D__x86__ -o cexp.o ../../../../../../src/tool/omniidl/cxx/cccp/cexp.c
gcc -c -O -DHAVE_CONFIG_H -I. -I. -I../../../../../../src/tool/omniidl/cxx/cccp -I../../../../../include -I../../../../../../include -D__OSVERSION__=0 -D__x86__ -o cccp.o ../../../../../../src/tool/omniidl/cxx/cccp/cccp.c
gcc -c -O -DHAVE_CONFIG_H -I. -I. -I../../../../../../src/tool/omniidl/cxx/cccp -I../../../../../include -I../../../../../../include -D__OSVERSION__=0 -D__x86__ -o config.o ../../../../../../src/tool/omniidl/cxx/cccp/config.c
gcc -c -O -DHAVE_CONFIG_H -I. -I. -I../../../../../../src/tool/omniidl/cxx/cccp -I../../../../../include -I../../../../../../include -D__OSVERSION__=0 -D__x86__ -o alloca.o ../../../../../../src/tool/omniidl/cxx/cccp/alloca.c
+ rm -f omnicpp
+ gcc -o omnicpp -O -L../../../../../lib -L../../../../../../lib cexp.o cccp.o config.o alloca.o
File omnicpp hasn't changed.
gmake[5]: Leaving directory `/root/omniORB-4.1.6/build/src/tool/omniidl/cxx/cccp'
g++ -c -O2 -Wall -Wno-unused -fexceptions -DIDLMODULE_VERSION="\"0x2630\"" -I/usr/local/include -DPYTHON_INCLUDE="<python2.6/Python.h>" -fPIC -I. -I../../../../../src/tool/omniidl/cxx -I../../../../include -I../../../../../include -D__OSVERSION__=0 -D__x86__ -o y.tab.o ../../../../../src/tool/omniidl/cxx/y.tab.cc
/usr/share/bison/bison.simple: In function 'int yyparse()':
/usr/share/bison/bison.simple:799: warning: deprecated conversion from string constant to 'char*'
/usr/share/bison/bison.simple:924: warning: deprecated conversion from string constant to 'char*'
g++ -c -O2 -Wall -Wno-unused -fexceptions -DIDLMODULE_VERSION="\"0x2630\"" -I/usr/local/include -DPYTHON_INCLUDE="<python2.6/Python.h>" -fPIC -I. -I../../../../../src/tool/omniidl/cxx -I../../../../include -I../../../../../include -D__OSVERSION__=0 -D__x86__ -o lex.yy.o ../../../../../src/tool/omniidl/cxx/lex.yy.cc
g++ -c -O2 -Wall -Wno-unused -fexceptions -DIDLMODULE_VERSION="\"0x2630\"" -I/usr/local/include -DPYTHON_INCLUDE="<python2.6/Python.h>" -fPIC -I. -I../../../../../src/tool/omniidl/cxx -I../../../../include -I../../../../../include -D__OSVERSION__=0 -D__x86__ -o idlerr.o ../../../../../src/tool/omniidl/cxx/idlerr.cc
g++ -c -O2 -Wall -Wno-unused -fexceptions -DIDLMODULE_VERSION="\"0x2630\"" -I/usr/local/include -DPYTHON_INCLUDE="<python2.6/Python.h>" -fPIC -I. -I../../../../../src/tool/omniidl/cxx -I../../../../include -I../../../../../include -D__OSVERSION__=0 -D__x86__ -o idlutil.o ../../../../../src/tool/omniidl/cxx/idlutil.cc
g++ -c -O2 -Wall -Wno-unused -fexceptions -DIDLMODULE_VERSION="\"0x2630\"" -I/usr/local/include -DPYTHON_INCLUDE="<python2.6/Python.h>" -fPIC -I. -I../../../../../src/tool/omniidl/cxx -I../../../../include -I../../../../../include -D__OSVERSION__=0 -D__x86__ -o idltype.o ../../../../../src/tool/omniidl/cxx/idltype.cc
g++ -c -O2 -Wall -Wno-unused -fexceptions -DIDLMODULE_VERSION="\"0x2630\"" -I/usr/local/include -DPYTHON_INCLUDE="<python2.6/Python.h>" -fPIC -I. -I../../../../../src/tool/omniidl/cxx -I../../../../include -I../../../../../include -D__OSVERSION__=0 -D__x86__ -o idlrepoId.o ../../../../../src/tool/omniidl/cxx/idlrepoId.cc
g++ -c -O2 -Wall -Wno-unused -fexceptions -DIDLMODULE_VERSION="\"0x2630\"" -I/usr/local/include -DPYTHON_INCLUDE="<python2.6/Python.h>" -fPIC -I. -I../../../../../src/tool/omniidl/cxx -I../../../../include -I../../../../../include -D__OSVERSION__=0 -D__x86__ -o idlscope.o ../../../../../src/tool/omniidl/cxx/idlscope.cc
g++ -c -O2 -Wall -Wno-unused -fexceptions -DIDLMODULE_VERSION="\"0x2630\"" -I/usr/local/include -DPYTHON_INCLUDE="<python2.6/Python.h>" -fPIC -I. -I../../../../../src/tool/omniidl/cxx -I../../../../include -I../../../../../include -D__OSVERSION__=0 -D__x86__ -o idlexpr.o ../../../../../src/tool/omniidl/cxx/idlexpr.cc
g++ -c -O2 -Wall -Wno-unused -fexceptions -DIDLMODULE_VERSION="\"0x2630\"" -I/usr/local/include -DPYTHON_INCLUDE="<python2.6/Python.h>" -fPIC -I. -I../../../../../src/tool/omniidl/cxx -I../../../../include -I../../../../../include -D__OSVERSION__=0 -D__x86__ -o idlast.o ../../../../../src/tool/omniidl/cxx/idlast.cc
../../../../../src/tool/omniidl/cxx/idlast.cc: In member function 'void Union::finishConstruction(IdlType*, IDL_Boolean, UnionCase*)':
../../../../../src/tool/omniidl/cxx/idlast.cc:1861: warning: 'label' may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlast.cc:1863: warning: 'label' may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlast.cc:1865: warning: 'label' may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlast.cc:1867: warning: 'label' may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlast.cc:1869: warning: 'label' may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlast.cc:1871: warning: 'label' may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlast.cc:1874: warning: 'label' may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlast.cc:1878: warning: 'label' may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlast.cc:1883: warning: 'label' may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlast.cc:1888: warning: 'label' may be used uninitialized in this function
g++ -c -O2 -Wall -Wno-unused -fexceptions -DIDLMODULE_VERSION="\"0x2630\"" -I/usr/local/include -DPYTHON_INCLUDE="<python2.6/Python.h>" -fPIC -I. -I../../../../../src/tool/omniidl/cxx -I../../../../include -I../../../../../include -D__OSVERSION__=0 -D__x86__ -o idlvalidate.o ../../../../../src/tool/omniidl/cxx/idlvalidate.cc
g++ -c -O2 -Wall -Wno-unused -fexceptions -DIDLMODULE_VERSION="\"0x2630\"" -I/usr/local/include -DPYTHON_INCLUDE="<python2.6/Python.h>" -fPIC -I. -I../../../../../src/tool/omniidl/cxx -I../../../../include -I../../../../../include -D__OSVERSION__=0 -D__x86__ -o idldump.o ../../../../../src/tool/omniidl/cxx/idldump.cc
g++ -c -O2 -Wall -Wno-unused -fexceptions -DIDLMODULE_VERSION="\"0x2630\"" -I/usr/local/include -DPYTHON_INCLUDE="<python2.6/Python.h>" -fPIC -I. -I../../../../../src/tool/omniidl/cxx -I../../../../include -I../../../../../include -D__OSVERSION__=0 -D__x86__ -o idlconfig.o ../../../../../src/tool/omniidl/cxx/idlconfig.cc
g++ -c -O2 -Wall -Wno-unused -fexceptions -DIDLMODULE_VERSION="\"0x2630\"" -I/usr/local/include -DPYTHON_INCLUDE="<python2.6/Python.h>" -fPIC -I. -I../../../../../src/tool/omniidl/cxx -I../../../../include -I../../../../../include -D__OSVERSION__=0 -D__x86__ -o idlfixed.o ../../../../../src/tool/omniidl/cxx/idlfixed.cc
g++ -c -O2 -Wall -Wno-unused -fexceptions -DIDLMODULE_VERSION="\"0x2630\"" -I/usr/local/include -DPYTHON_INCLUDE="<python2.6/Python.h>" -fPIC -I. -I../../../../../src/tool/omniidl/cxx -I../../../../include -I../../../../../include -D__OSVERSION__=0 -D__x86__ -o idlpython.o ../../../../../src/tool/omniidl/cxx/idlpython.cc
../../../../../src/tool/omniidl/cxx/idlpython.cc: In member function 'virtual void PythonVisitor::visitConst(Const*)':
../../../../../src/tool/omniidl/cxx/idlpython.cc:553: warning: 'pyv' may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlpython.cc: In member function 'virtual void PythonVisitor::visitInterface(Interface*)':
../../../../../src/tool/omniidl/cxx/idlpython.cc:485: warning: 'pyobj' may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlpython.cc: In member function 'virtual void PythonVisitor::visitCaseLabel(CaseLabel*)':
../../../../../src/tool/omniidl/cxx/idlpython.cc:793: warning: 'pyv' may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlpython.cc: In member function 'virtual void PythonVisitor::visitValueAbs(ValueAbs*)':
../../../../../src/tool/omniidl/cxx/idlpython.cc:1169: warning: 'pyobj' may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlpython.cc: In member function 'virtual void PythonVisitor::visitValue(Value*)':
../../../../../src/tool/omniidl/cxx/idlpython.cc:1234: warning: 'pyobj' may be used uninitialized in this function
+ rm -f _omniidlmodule.so.4.1
+ g++ -shared -Wl,-soname,_omniidlmodule.so.4 -o _omniidlmodule.so.4.1 -L../../../../lib -L../../../../../lib y.tab.o lex.yy.o idlerr.o idlutil.o idltype.o idlrepoId.o idlscope.o idlexpr.o idlast.o idlvalidate.o idldump.o idlconfig.o idlfixed.o idlpython.o
File _omniidlmodule.so.4.1 hasn't changed.
+ cd ../../../../lib
+ rm -f _omniidlmodule.so.4
+ ln -s _omniidlmodule.so.4.1 _omniidlmodule.so.4
+ rm -f _omniidlmodule.so
+ ln -s _omniidlmodule.so.4 _omniidlmodule.so
gmake[4]: Leaving directory `/root/omniORB-4.1.6/build/src/tool/omniidl/cxx'
making export in src/tool/omniidl/python...
gmake[4]: Entering directory `/root/omniORB-4.1.6/build/src/tool/omniidl/python'
making export in src/tool/omniidl/python/omniidl...
gmake[5]: Entering directory `/root/omniORB-4.1.6/build/src/tool/omniidl/python/omniidl'
File __init__.py hasn't changed.
File main.py hasn't changed.
File idlast.py hasn't changed.
File idltype.py hasn't changed.
File idlutil.py hasn't changed.
File idlvisitor.py hasn't changed.
File idlstring.py hasn't changed.
File output.py hasn't changed.
Listing . ...
gmake[5]: Leaving directory `/root/omniORB-4.1.6/build/src/tool/omniidl/python/omniidl'
making export in src/tool/omniidl/python/omniidl_be...
gmake[5]: Entering directory `/root/omniORB-4.1.6/build/src/tool/omniidl/python/omniidl_be'
File __init__.py hasn't changed.
File dump.py hasn't changed.
File example.py hasn't changed.
File interactive.py hasn't changed.
Listing . ...
gmake[5]: Leaving directory `/root/omniORB-4.1.6/build/src/tool/omniidl/python/omniidl_be'
making export in src/tool/omniidl/python/scripts...
gmake[5]: Entering directory `/root/omniORB-4.1.6/build/src/tool/omniidl/python/scripts'
File omniidl hasn't changed.
File omniidlrun.py hasn't changed.
gmake[5]: Leaving directory `/root/omniORB-4.1.6/build/src/tool/omniidl/python/scripts'
gmake[4]: Leaving directory `/root/omniORB-4.1.6/build/src/tool/omniidl/python'
gmake[3]: Leaving directory `/root/omniORB-4.1.6/build/src/tool/omniidl'
gmake[2]: Leaving directory `/root/omniORB-4.1.6/build/src/tool'
making export in src/lib...
gmake[2]: Entering directory `/root/omniORB-4.1.6/build/src/lib'
making export in src/lib/omnithread...
gmake[3]: Entering directory `/root/omniORB-4.1.6/build/src/lib/omnithread'
g++ -c -O2 -Wall -Wno-unused -fexceptions -I. -I../../../../src/lib/omnithread -I../../../include -I../../../../include -D__OSVERSION__=0 -D__x86__ -o static/posix.o ../../../../src/lib/omnithread/posix.cc
In file included from ../../../../src/lib/omnithread/posix.cc:80:
../../../../include/omnithread.h:188:2: error: #error "No implementation header file"
../../../../include/omnithread.h:202:2: error: #error "Implementation header file incomplete"
In file included from ../../../../src/lib/omnithread/posix.cc:80:
../../../../include/omnithread.h:256: error: ISO C++ forbids declaration of 'OMNI_MUTEX_IMPLEMENTATION' with no type
../../../../include/omnithread.h:257: error: expected ';' before '}' token
../../../../include/omnithread.h:257: error: expected `;' before '}' token
../../../../include/omnithread.h: In member function 'void omni_mutex::lock()':
../../../../include/omnithread.h:237: error: 'OMNI_MUTEX_LOCK_IMPLEMENTATION' was not declared in this scope
../../../../include/omnithread.h:237: error: expected `;' before '}' token
../../../../include/omnithread.h: In member function 'void omni_mutex::unlock()':
../../../../include/omnithread.h:238: error: 'OMNI_MUTEX_UNLOCK_IMPLEMENTATION' was not declared in this scope
../../../../include/omnithread.h:238: error: expected `;' before '}' token
../../../../include/omnithread.h: In member function 'int omni_mutex::trylock()':
../../../../include/omnithread.h:239: error: 'OMNI_MUTEX_TRYLOCK_IMPLEMENTATION' was not declared in this scope
../../../../include/omnithread.h:239: error: expected `;' before '}' token
../../../../include/omnithread.h:239: warning: no return statement in function returning non-void
../../../../include/omnithread.h: At global scope:
../../../../include/omnithread.h:350: error: ISO C++ forbids declaration of 'OMNI_CONDITION_IMPLEMENTATION' with no type
../../../../include/omnithread.h:351: error: expected ';' before '}' token
../../../../include/omnithread.h:351: error: expected `;' before '}' token
../../../../include/omnithread.h:384: error: ISO C++ forbids declaration of 'OMNI_SEMAPHORE_IMPLEMENTATION' with no type
../../../../include/omnithread.h:385: error: expected ';' before '}' token
../../../../include/omnithread.h:385: error: expected `;' before '}' token
../../../../include/omnithread.h:670: error: ISO C++ forbids declaration of 'OMNI_THREAD_IMPLEMENTATION' with no type
../../../../include/omnithread.h:671: error: expected ';' before '}' token
../../../../include/omnithread.h:671: error: expected `;' before '}' token
../../../../src/lib/omnithread/posix.cc: In constructor 'omni_mutex::omni_mutex()':
../../../../src/lib/omnithread/posix.cc:130: error: 'posix_mutex' was not declared in this scope
../../../../src/lib/omnithread/posix.cc:130: error: 'pthread_mutex_init' was not declared in this scope
../../../../src/lib/omnithread/posix.cc: In destructor 'omni_mutex::~omni_mutex()':
../../../../src/lib/omnithread/posix.cc:136: error: 'posix_mutex' was not declared in this scope
../../../../src/lib/omnithread/posix.cc:136: error: 'pthread_mutex_destroy' was not declared in this scope
../../../../src/lib/omnithread/posix.cc: In constructor 'omni_condition::omni_condition(omni_mutex*)':
../../../../src/lib/omnithread/posix.cc:152: error: 'posix_cond' was not declared in this scope
../../../../src/lib/omnithread/posix.cc:152: error: 'pthread_cond_init' was not declared in this scope
../../../../src/lib/omnithread/posix.cc: In destructor 'omni_condition::~omni_condition()':
../../../../src/lib/omnithread/posix.cc:158: error: 'posix_cond' was not declared in this scope
../../../../src/lib/omnithread/posix.cc:158: error: 'pthread_cond_destroy' was not declared in this scope
../../../../src/lib/omnithread/posix.cc: In member function 'void omni_condition::wait()':
../../../../src/lib/omnithread/posix.cc:164: error: 'posix_cond' was not declared in this scope
../../../../src/lib/omnithread/posix.cc:164: error: 'class omni_mutex' has no member named 'posix_mutex'
../../../../src/lib/omnithread/posix.cc:164: error: 'pthread_cond_wait' was not declared in this scope
../../../../src/lib/omnithread/posix.cc: In member function 'int omni_condition::timedwait(long unsigned int, long unsigned int)':
../../../../src/lib/omnithread/posix.cc:173: error: 'posix_cond' was not declared in this scope
../../../../src/lib/omnithread/posix.cc:173: error: 'class omni_mutex' has no member named 'posix_mutex'
../../../../src/lib/omnithread/posix.cc:173: error: 'pthread_cond_timedwait' was not declared in this scope
../../../../src/lib/omnithread/posix.cc: In member function 'void omni_condition::signal()':
../../../../src/lib/omnithread/posix.cc:203: error: 'posix_cond' was not declared in this scope
../../../../src/lib/omnithread/posix.cc:203: error: 'pthread_cond_signal' was not declared in this scope
../../../../src/lib/omnithread/posix.cc: In member function 'void omni_condition::broadcast()':
../../../../src/lib/omnithread/posix.cc:209: error: 'posix_cond' was not declared in this scope
../../../../src/lib/omnithread/posix.cc:209: error: 'pthread_cond_broadcast' was not declared in this scope
../../../../src/lib/omnithread/posix.cc: In constructor 'omni_semaphore::omni_semaphore(unsigned int)':
../../../../src/lib/omnithread/posix.cc:221: error: class 'omni_semaphore' does not have any field named 'c'
../../../../src/lib/omnithread/posix.cc:221: error: 'm' was not declared in this scope
../../../../src/lib/omnithread/posix.cc:223: error: 'value' was not declared in this scope
../../../../src/lib/omnithread/posix.cc: In member function 'void omni_semaphore::wait()':
../../../../src/lib/omnithread/posix.cc:233: error: 'm' was not declared in this scope
../../../../src/lib/omnithread/posix.cc:235: error: 'value' was not declared in this scope
../../../../src/lib/omnithread/posix.cc:236: error: 'c' was not declared in this scope
../../../../src/lib/omnithread/posix.cc:238: error: 'value' was not declared in this scope
../../../../src/lib/omnithread/posix.cc: In member function 'int omni_semaphore::trywait()':
../../../../src/lib/omnithread/posix.cc:244: error: 'm' was not declared in this scope
../../../../src/lib/omnithread/posix.cc:246: error: 'value' was not declared in this scope
../../../../src/lib/omnithread/posix.cc:249: error: 'value' was not declared in this scope
../../../../src/lib/omnithread/posix.cc: In member function 'void omni_semaphore::post()':
../../../../src/lib/omnithread/posix.cc:256: error: 'm' was not declared in this scope
../../../../src/lib/omnithread/posix.cc:257: error: 'value' was not declared in this scope
../../../../src/lib/omnithread/posix.cc:258: error: 'c' was not declared in this scope
../../../../src/lib/omnithread/posix.cc: At global scope:
../../../../src/lib/omnithread/posix.cc:277: error: 'pthread_key_t' does not name a type
../../../../src/lib/omnithread/posix.cc: In constructor 'omni_thread::init_t::init_t()':
../../../../src/lib/omnithread/posix.cc:327: error: 'self_key' was not declared in this scope
../../../../src/lib/omnithread/posix.cc:327: error: 'pthread_key_create' was not declared in this scope
../../../../src/lib/omnithread/posix.cc:380: error: 'class omni_thread' has no member named 'posix_thread'
../../../../src/lib/omnithread/posix.cc:380: error: 'pthread_self' was not declared in this scope
../../../../src/lib/omnithread/posix.cc:384: error: 'self_key' was not declared in this scope
../../../../src/lib/omnithread/posix.cc:384: error: 'pthread_setspecific' was not declared in this scope
../../../../src/lib/omnithread/posix.cc: In destructor 'omni_thread::init_t::~init_t()':
../../../../src/lib/omnithread/posix.cc:422: error: 'self_key' was not declared in this scope
../../../../src/lib/omnithread/posix.cc:422: error: 'pthread_setspecific' was not declared in this scope
../../../../src/lib/omnithread/posix.cc: In function 'void* omni_thread_wrapper(void*)':
../../../../src/lib/omnithread/posix.cc:440: error: 'self_key' was not declared in this scope
../../../../src/lib/omnithread/posix.cc:440: error: 'pthread_setspecific' was not declared in this scope
../../../../include/omnithread.h:623: error: 'void (* omni_thread::fn_void)(void*)' is private
../../../../src/lib/omnithread/posix.cc:446: error: within this context
../../../../include/omnithread.h:623: error: 'void (* omni_thread::fn_void)(void*)' is private
../../../../src/lib/omnithread/posix.cc:447: error: within this context
../../../../include/omnithread.h:625: error: 'void* omni_thread::thread_arg' is private
../../../../src/lib/omnithread/posix.cc:447: error: within this context
../../../../include/omnithread.h:624: error: 'void* (* omni_thread::fn_ret)(void*)' is private
../../../../src/lib/omnithread/posix.cc:451: error: within this context
../../../../include/omnithread.h:624: error: 'void* (* omni_thread::fn_ret)(void*)' is private
../../../../src/lib/omnithread/posix.cc:452: error: within this context
../../../../include/omnithread.h:625: error: 'void* omni_thread::thread_arg' is private
../../../../src/lib/omnithread/posix.cc:452: error: within this context
../../../../include/omnithread.h:626: error: 'int omni_thread::detached' is private
../../../../src/lib/omnithread/posix.cc:456: error: within this context
../../../../include/omnithread.h:625: error: 'void* omni_thread::thread_arg' is private
../../../../src/lib/omnithread/posix.cc:457: error: within this context
../../../../include/omnithread.h:603: error: 'virtual void omni_thread::run(void*)' is private
../../../../src/lib/omnithread/posix.cc:457: error: within this context
../../../../include/omnithread.h:625: error: 'void* omni_thread::thread_arg' is private
../../../../src/lib/omnithread/posix.cc:460: error: within this context
../../../../include/omnithread.h:604: error: 'virtual void* omni_thread::run_undetached(void*)' is private
../../../../src/lib/omnithread/posix.cc:460: error: within this context
../../../../src/lib/omnithread/posix.cc: In member function 'void omni_thread::start()':
../../../../src/lib/omnithread/posix.cc:554: error: 'pthread_attr_t' was not declared in this scope
../../../../src/lib/omnithread/posix.cc:554: error: expected `;' before 'attr'
../../../../src/lib/omnithread/posix.cc:559: error: 'attr' was not declared in this scope
../../../../src/lib/omnithread/posix.cc:559: error: 'pthread_attr_init' was not declared in this scope
../../../../src/lib/omnithread/posix.cc:585: error: 'pthread_attr_setstacksize' was not declared in this scope
../../../../src/lib/omnithread/posix.cc:593: error: 'posix_thread' was not declared in this scope
../../../../src/lib/omnithread/posix.cc:593: error: 'pthread_create' was not declared in this scope
../../../../src/lib/omnithread/posix.cc:595: error: 'pthread_attr_destroy' was not declared in this scope
../../../../src/lib/omnithread/posix.cc:603: error: 'posix_thread' was not declared in this scope
../../../../src/lib/omnithread/posix.cc:603: error: 'pthread_detach' was not declared in this scope
../../../../src/lib/omnithread/posix.cc: In member function 'void omni_thread::join(void**)':
../../../../src/lib/omnithread/posix.cc:657: error: 'posix_thread' was not declared in this scope
../../../../src/lib/omnithread/posix.cc:657: error: 'pthread_join' was not declared in this scope
../../../../src/lib/omnithread/posix.cc: In static member function 'static void omni_thread::exit(void*)':
../../../../src/lib/omnithread/posix.cc:789: error: 'pthread_exit' was not declared in this scope
../../../../src/lib/omnithread/posix.cc: In static member function 'static omni_thread* omni_thread::self()':
../../../../src/lib/omnithread/posix.cc:800: error: 'self_key' was not declared in this scope
../../../../src/lib/omnithread/posix.cc:800: warning: dereferencing type-punned pointer will break strict-aliasing rules
../../../../src/lib/omnithread/posix.cc:800: error: 'pthread_getspecific' was not declared in this scope
../../../../src/lib/omnithread/posix.cc: In static member function 'static void omni_thread::yield()':
../../../../src/lib/omnithread/posix.cc:827: error: 'pthread_yield' was not declared in this scope
../../../../src/lib/omnithread/posix.cc: At global scope:
../../../../src/lib/omnithread/posix.cc:927: error: no 'int omni_thread::posix_priority(omni_thread::priority_t)' member function declared in class 'omni_thread'
../../../../src/lib/omnithread/posix.cc: In constructor 'omni_thread_dummy::omni_thread_dummy()':
../../../../src/lib/omnithread/posix.cc:972: error: 'posix_thread' was not declared in this scope
../../../../src/lib/omnithread/posix.cc:972: error: 'pthread_self' was not declared in this scope
../../../../src/lib/omnithread/posix.cc:973: error: 'self_key' was not declared in this scope
../../../../src/lib/omnithread/posix.cc:973: error: 'pthread_setspecific' was not declared in this scope
../../../../src/lib/omnithread/posix.cc: In destructor 'virtual omni_thread_dummy::~omni_thread_dummy()':
../../../../src/lib/omnithread/posix.cc:977: error: 'self_key' was not declared in this scope
../../../../src/lib/omnithread/posix.cc:977: error: 'pthread_setspecific' was not declared in this scope
gmake[3]: *** [static/posix.o] Error 1
gmake[3]: Leaving directory `/root/omniORB-4.1.6/build/src/lib/omnithread'
gmake[2]: *** [export] Error 2
gmake[2]: Leaving directory `/root/omniORB-4.1.6/build/src/lib'
gmake[1]: *** [export] Error 2
gmake[1]: Leaving directory `/root/omniORB-4.1.6/build/src'
gmake: *** [all] Error 2
-------------- next part --------------
checking build system type... i386-unknown-freebsd8.2
checking host system type... i386-unknown-freebsd8.2
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking for python... /usr/local/bin/python
checking for python version... 2.6
checking for python platform... freebsd8
checking for python script directory... ${prefix}/lib/python2.6/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.6/site-packages
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for OpenSSL root... no
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for unistd.h... (cached) yes
checking nan.h usability... no
checking nan.h presence... no
checking for nan.h... no
checking sys/if.h usability... no
checking sys/if.h presence... no
checking for sys/if.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking ifaddrs.h usability... yes
checking ifaddrs.h presence... yes
checking for ifaddrs.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether byte ordering is bigendian... no
checking size of char... 1
checking size of unsigned char... 1
checking size of bool... 1
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking size of float... 4
checking size of double... 8
checking size of long double... 12
checking size of wchar_t... 4
checking size of void*... 4
checking for struct sockaddr_in6... yes
checking for struct sockaddr_storage... yes
checking for struct lifconf... no
checking for struct sockaddr_in.sin_len... yes
checking for struct sockaddr_in.sin_zero... yes
checking whether the compiler recognizes bool as a built-in type... yes
checking whether the compiler supports const_cast<>... yes
checking whether the compiler supports dynamic_cast<>... yes
checking whether the compiler supports reinterpret_cast<>... yes
checking whether the compiler implements namespaces... yes
checking whether the compiler supports ISO C++ standard library... yes
checking whether the compiler supports member constants... yes
checking whether the compiler supports exceptions... yes
checking whether exceptions can be caught by base class... yes
checking whether base constructors have to be fully-qualified... no
checking whether the compiler supports covariant return types... yes
checking whether long is the same type as int... no
checking for library containing getaddrinfo... none required
checking for getaddrinfo... yes
checking for gethostname... yes
checking for getopt... yes
checking for getpid... yes
checking for gettimeofday... yes
checking for getnameinfo... yes
checking for inet_ntop... yes
checking for isinf... yes
checking for insinff... no
checking for isinfl... no
checking for localtime... yes
checking for nanosleep... yes
checking for poll... yes
checking for sigaction... yes
checking for sigvec... yes
checking for snprintf... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strerror... yes
checking for strftime... yes
checking for stricmp... no
checking for strncasecmp... yes
checking for strtoul... yes
checking for strtoull... yes
checking for strtouq... yes
checking for uname... yes
checking for vprintf... yes
checking for vsnprintf... yes
checking for working alloca.h... no
checking for alloca... yes
checking for IsNANorINF... no
checking whether SIG_IGN is available... yes
checking whether gettimeofday() takes a timezone argument... yes
checking third argument of getsockname... socklen_t
checking omniORB config file location... /etc/omniORB.cfg
checking omniNames log directory... /var/omninames
checking whether to build static libraries... yes
checking whether to trace threads and locking... no
checking whether to support IPv6... yes
checking whether alloca should be used in omnicpp... yes
checking whether to support long double... yes
configure: creating ./config.status
config.status: creating mk/beforeauto.mk
config.status: creating mk/afterauto.mk
config.status: creating GNUmakefile
config.status: creating src/tool/omniidl/python/scripts/omniidl
config.status: creating src/appl/GNUmakefile
config.status: creating src/appl/omniMapper/GNUmakefile
config.status: creating src/appl/omniNames/GNUmakefile
config.status: creating src/appl/utils/catior/GNUmakefile
config.status: creating src/appl/utils/convertior/GNUmakefile
config.status: creating src/appl/utils/GNUmakefile
config.status: creating src/appl/utils/genior/GNUmakefile
config.status: creating src/appl/utils/nameclt/GNUmakefile
config.status: creating src/GNUmakefile
config.status: creating src/examples/anyExample/GNUmakefile
config.status: creating src/examples/bidir/GNUmakefile
config.status: creating src/examples/boa/GNUmakefile
config.status: creating src/examples/call_back/GNUmakefile
config.status: creating src/examples/dii/GNUmakefile
config.status: creating src/examples/GNUmakefile
config.status: creating src/examples/dsi/GNUmakefile
config.status: creating src/examples/echo/GNUmakefile
config.status: creating src/examples/poa/GNUmakefile
config.status: creating src/examples/poa/implicit_activation/GNUmakefile
config.status: creating src/examples/poa/persistent_objref/GNUmakefile
config.status: creating src/examples/poa/servant_manager/GNUmakefile
config.status: creating src/examples/poa/threading/GNUmakefile
config.status: creating src/examples/ssl_echo/GNUmakefile
config.status: creating src/examples/thread/GNUmakefile
config.status: creating src/examples/valuetype/GNUmakefile
config.status: creating src/examples/valuetype/simple/GNUmakefile
config.status: creating src/lib/GNUmakefile
config.status: creating src/lib/omniORB/codesets/GNUmakefile
config.status: creating src/lib/omniORB/GNUmakefile
config.status: creating src/lib/omniORB/dynamic/GNUmakefile
config.status: creating src/lib/omniORB/omniidl_be/cxx/GNUmakefile
config.status: creating src/lib/omniORB/omniidl_be/cxx/dynskel/GNUmakefile
config.status: creating src/lib/omniORB/omniidl_be/cxx/header/GNUmakefile
config.status: creating src/lib/omniORB/omniidl_be/cxx/impl/GNUmakefile
config.status: creating src/lib/omniORB/omniidl_be/cxx/skel/GNUmakefile
config.status: creating src/lib/omniORB/omniidl_be/GNUmakefile
config.status: creating src/lib/omniORB/orbcore/GNUmakefile
config.status: creating src/lib/omniORB/orbcore/ssl/GNUmakefile
config.status: creating src/lib/omniORB/connections/GNUmakefile
config.status: creating src/lib/omnithread/GNUmakefile
config.status: creating src/services/GNUmakefile
config.status: creating src/services/mklib/GNUmakefile
config.status: creating src/services/mklib/stublib/GNUmakefile
config.status: creating src/services/mklib/dynstublib/GNUmakefile
config.status: creating src/services/mklib/mkBOAlib/GNUmakefile
config.status: creating src/tool/GNUmakefile
config.status: creating src/tool/omkdepend/GNUmakefile
config.status: creating src/tool/omniidl/cxx/cccp/GNUmakefile
config.status: creating src/tool/omniidl/cxx/GNUmakefile
config.status: creating src/tool/omniidl/GNUmakefile
config.status: creating src/tool/omniidl/python/GNUmakefile
config.status: creating src/tool/omniidl/python/omniidl_be/GNUmakefile
config.status: creating src/tool/omniidl/python/omniidl/GNUmakefile
config.status: creating src/tool/omniidl/python/scripts/GNUmakefile
config.status: creating include/GNUmakefile
config.status: creating include/omniconfig.h
config.status: creating include/omnithread/GNUmakefile
config.status: creating include/omniORB4/GNUmakefile
config.status: creating include/omniORB4/internal/GNUmakefile
config.status: creating idl/GNUmakefile
config.status: creating idl/COS/GNUmakefile
config.status: creating etc/init.d/omniNames
config.status: creating contrib/GNUmakefile
config.status: creating contrib/pkgconfig/GNUmakefile
config.status: creating contrib/pkgconfig/omnithread3.pc
config.status: creating contrib/pkgconfig/omniORB4.pc
config.status: creating contrib/pkgconfig/omniDynamic4.pc
config.status: creating contrib/pkgconfig/omniCOS4.pc
config.status: creating contrib/pkgconfig/omniCOSDynamic4.pc
config.status: creating contrib/pkgconfig/omniConnectionMgmt4.pc
config.status: creating include/omniORB4/acconfig.h
config.status: include/omniORB4/acconfig.h is unchanged
Luke Deller
2011-10-12 13:09:39 UTC
Permalink
Hi Bryan,

I see that ./configure has tests for freebsd3 through to 7, but not 8. Try adding a matching test for freebsd8 in there (in the case statement beginning at line 13228).

Regards,
Luke.

From: omniorb-list-***@omniorb-support.com [mailto:omniorb-list-***@omniorb-support.com] On Behalf Of Bryan Robinson
Sent: Wednesday, 12 October 2011 10:44 AM
To: omniorb-***@omniorb-support.com
Subject: [omniORB] Installing OmniOrb 4.1.6 on FreeBSD 8.2

(Note: I have searched the mailing list archives with Google Advanced search with some of the compiler error messages listed below)

I am having trouble building OmniORB 4.1.6 on my FreeBSD 8.2 machine. I checked the FAQ and I see that OmniORB has been built with g++ 4.2 as well as on FreeBSD before. However, the errors I am seeing would seem to indicate that my system's compiler is not up to spec, or that I am missing some libraries. Pthreads seems to stand out, but I see that I have pthread.h in /usr/include, as well as libpthread.so in /usr/lib. Python also seems to be an issue.

I have attached the output of the ./configure script as well as gmake, but the first few error messages are also included inline in this message. From the below output or attached output, is it apparent what the problem might be?

===============================
../../../../../src/tool/omniidl/cxx/idlast.cc:1861: warning: 'label' may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlast.cc:1863: warning: 'label' may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlast.cc:1865: warning: 'label' may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlast.cc:1867: warning: 'label' may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlast.cc:1869: warning: 'label' may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlast.cc:1871: warning: 'label' may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlast.cc:1874: warning: 'label' may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlast.cc:1878: warning: 'label' may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlast.cc:1883: warning: 'label' may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlast.cc:1888: warning: 'label' may be used uninitialized in this function
.................
.................
../../../../../src/tool/omniidl/cxx/idlpython.cc: In member function 'virtual void PythonVisitor::visitConst(Const*)':
../../../../../src/tool/omniidl/cxx/idlpython.cc:553: warning: 'pyv' may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlpython.cc: In member function 'virtual void PythonVisitor::visitInterface(Interface*)':
../../../../../src/tool/omniidl/cxx/idlpython.cc:485: warning: 'pyobj' may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlpython.cc: In member function 'virtual void PythonVisitor::visitCaseLabel(CaseLabel*)':
../../../../../src/tool/omniidl/cxx/idlpython.cc:793: warning: 'pyv' may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlpython.cc: In member function 'virtual void PythonVisitor::visitValueAbs(ValueAbs*)':
../../../../../src/tool/omniidl/cxx/idlpython.cc:1169: warning: 'pyobj' may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlpython.cc: In member function 'virtual void PythonVisitor::visitValue(Value*)':
../../../../../src/tool/omniidl/cxx/idlpython.cc:1234: warning: 'pyobj' may be used uninitialized in this function
....................
....................
....................
../../../../include/omnithread.h:188:2: error: #error "No implementation header file"
../../../../include/omnithread.h:202:2: error: #error "Implementation header file incomplete"
In file included from ../../../../src/lib/omnithread/posix.cc:80:
../../../../include/omnithread.h:256: error: ISO C++ forbids declaration of 'OMNI_MUTEX_IMPLEMENTATION' with no type
../../../../include/omnithread.h:257: error: expected ';' before '}' token
../../../../include/omnithread.h:257: error: expected `;' before '}' token
../../../../include/omnithread.h: In member function 'void omni_mutex::lock()':
../../../../include/omnithread.h:237: error: 'OMNI_MUTEX_LOCK_IMPLEMENTATION' was not declared in this scope
../../../../include/omnithread.h:237: error: expected `;' before '}' token
../../../../include/omnithread.h: In member function 'void omni_mutex::unlock()':
../../../../include/omnithread.h:238: error: 'OMNI_MUTEX_UNLOCK_IMPLEMENTATION' was not declared in this scope
../../../../include/omnithread.h:238: error: expected `;' before '}' token
../../../../include/omnithread.h: In member function 'int omni_mutex::trylock()':
../../../../include/omnithread.h:239: error: 'OMNI_MUTEX_TRYLOCK_IMPLEMENTATION' was not declared in this scope
../../../../include/omnithread.h:239: error: expected `;' before '}' token
../../../../include/omnithread.h:239: warning: no return statement in function returning non-void
../../../../include/omnithread.h: At global scope:
===============================

There are more errors which can be seen in the attached gmake output. For reference, my configuration is listed below.

FreeBSD version:
===============================
[***@bsd ~/omniORB-4.1.6/build]# uname -a
FreeBSD bsd 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 ***@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC<mailto:***@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC> i386
===============================

g++ version 4.2.1:
===============================
[***@bsd ~/omniORB-4.1.6/build]# g++ -v
Using built-in specs.
Target: i386-undermydesk-freebsd
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 4.2.1 20070719 [FreeBSD]
===============================

python version 2.6.6:
===============================
[***@bsd ~/omniORB-4.1.6/build]# PY_VER=`python -c 'import platform; print platform.python_version()'`; echo $PY_VER
2.6.6
===============================
**********************************************************************************************
Important Note
This email (including any attachments) contains information which is confidential and may be subject to legal privilege. If you are not the intended recipient you must not use, distribute or copy this email. If you have received this email in error please notify the
sender immediately and delete this email. Any views expressed in this email are not necessarily the views of IRESS Market Technology Limited.

It is the duty of the recipient to virus scan and otherwise test the information provided before loading onto any computer system.
IRESS Market Technology Limited does not warrant that the information is free of a virus or any other defect or error.
**********************************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20111012/9b2e0e60/attachment.htm
Bryan Robinson
2011-10-13 09:42:06 UTC
Permalink
Hi Luke,

Thanks for the suggestion. After making this change, when I run 'gmake'
everything seems to be built with no errors. I really appreciate your
help here!

- Bryan
Post by Luke Deller
Hi Bryan,
I see that ./configure has tests for freebsd3 through to 7, but not
8. Try adding a matching test for freebsd8 in there (in the case
statement beginning at line 13228).
Regards,
Luke.
Robinson
*Sent:* Wednesday, 12 October 2011 10:44 AM
*Subject:* [omniORB] Installing OmniOrb 4.1.6 on FreeBSD 8.2
(Note: I have searched the mailing list archives with Google Advanced
search with some of the compiler error messages listed below)
I am having trouble building OmniORB 4.1.6 on my FreeBSD 8.2 machine.
I checked the FAQ and I see that OmniORB has been built with g++ 4.2
as well as on FreeBSD before. However, the errors I am seeing would
seem to indicate that my system's compiler is not up to spec, or that
I am missing some libraries. Pthreads seems to stand out, but I see
that I have pthread.h in /usr/include, as well as libpthread.so in
/usr/lib. Python also seems to be an issue.
I have attached the output of the ./configure script as well as gmake,
but the first few error messages are also included inline in this
message. From the below output or attached output, is it apparent
what the problem might be?
===============================
../../../../../src/tool/omniidl/cxx/idlast.cc:1861: warning: 'label'
may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlast.cc:1863: warning: 'label'
may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlast.cc:1865: warning: 'label'
may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlast.cc:1867: warning: 'label'
may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlast.cc:1869: warning: 'label'
may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlast.cc:1871: warning: 'label'
may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlast.cc:1874: warning: 'label'
may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlast.cc:1878: warning: 'label'
may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlast.cc:1883: warning: 'label'
may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlast.cc:1888: warning: 'label'
may be used uninitialized in this function
.................
.................
../../../../../src/tool/omniidl/cxx/idlpython.cc: In member function
../../../../../src/tool/omniidl/cxx/idlpython.cc:553: warning: 'pyv'
may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlpython.cc: In member function
../../../../../src/tool/omniidl/cxx/idlpython.cc:485: warning: 'pyobj'
may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlpython.cc: In member function
../../../../../src/tool/omniidl/cxx/idlpython.cc:793: warning: 'pyv'
may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlpython.cc: In member function
'pyobj' may be used uninitialized in this function
../../../../../src/tool/omniidl/cxx/idlpython.cc: In member function
'pyobj' may be used uninitialized in this function
....................
....................
....................
../../../../include/omnithread.h:188:2: error: #error "No
implementation header file"
../../../../include/omnithread.h:202:2: error: #error "Implementation
header file incomplete"
../../../../include/omnithread.h:256: error: ISO C++ forbids
declaration of 'OMNI_MUTEX_IMPLEMENTATION' with no type
../../../../include/omnithread.h:257: error: expected ';' before '}' token
../../../../include/omnithread.h:257: error: expected `;' before '}' token
../../../../include/omnithread.h: In member function 'void
'OMNI_MUTEX_LOCK_IMPLEMENTATION' was not declared in this scope
../../../../include/omnithread.h:237: error: expected `;' before '}' token
../../../../include/omnithread.h: In member function 'void
'OMNI_MUTEX_UNLOCK_IMPLEMENTATION' was not declared in this scope
../../../../include/omnithread.h:238: error: expected `;' before '}' token
../../../../include/omnithread.h: In member function 'int
'OMNI_MUTEX_TRYLOCK_IMPLEMENTATION' was not declared in this scope
../../../../include/omnithread.h:239: error: expected `;' before '}' token
../../../../include/omnithread.h:239: warning: no return statement in
function returning non-void
===============================
There are more errors which can be seen in the attached gmake output.
For reference, my configuration is listed below.
===============================
FreeBSD bsd 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46
===============================
===============================
Using built-in specs.
Target: i386-undermydesk-freebsd
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 4.2.1 20070719 [FreeBSD]
===============================
===============================
print platform.python_version()'`; echo $PY_VER
2.6.6
===============================
**********************************************************************************************
Important Note
This email (including any attachments) contains information which is
confidential and may be subject to legal privilege. If you are not
the intended recipient you must not use, distribute or copy this
email. If you have received this email in error please notify the
sender immediately and delete this email. Any views expressed in this
email are not necessarily the views of IRESS Market Technology Limited.
It is the duty of the recipient to virus scan and otherwise test the
information provided before loading onto any computer system.
IRESS Market Technology Limited does not warrant that the information
is free of a virus or any other defect or error.
**********************************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20111012/82596ea5/attachment.htm
Andrea Venturoli
2011-10-12 15:44:46 UTC
Permalink
Post by Luke Deller
(Note: I have searched the mailing list archives with Google Advanced
search with some of the compiler error messages listed below)
I am having trouble building OmniORB 4.1.6 on my FreeBSD 8.2 machine.
Did you use the patches from the port tree?
Have you tried asking the port maintainer?

bye
av.
Bryan Robinson
2011-10-13 09:39:59 UTC
Permalink
That is a good idea. I'm new to FreeBSD and did not even know about the
ports collection. On Linux I have just always built OmniORB from the
source (with no issues). The ports collection has nearly the latest
version, which is good enough for me.

The port seems to have built on this machine with no issues. I'll see
how it goes.

- Bryan
Post by Andrea Venturoli
Did you use the patches from the port tree?
Have you tried asking the port maintainer?
bye
av.
_______________________________________________
omniORB-list mailing list
http://www.omniorb-support.com/mailman/listinfo/omniorb-list
Loading...