[omniORB] Installing OmniOrb 4.1.6 on FreeBSD 8.2
Bryan Robinson
brobinson.eng at gmail.com
Thu Oct 13 00:41:28 BST 2011
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
On 10/12/11 3:09 AM, Luke Deller wrote:
>
> 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-bounces at omniorb-support.com
> [mailto:omniorb-list-bounces at omniorb-support.com] *On Behalf Of *Bryan
> Robinson
> *Sent:* Wednesday, 12 October 2011 10:44 AM
> *To:* omniorb-list at 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:
> ===============================
> [root at 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 root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
> <mailto:root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC> i386
> ===============================
>
> g++ version 4.2.1:
> ===============================
> [root at 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:
> ===============================
> [root at 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/82596ea5/attachment.htm
More information about the omniORB-list
mailing list