<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Luke,<br>
<br>
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!<br>
<br>
- Bryan<br>
<br>
<br>
<br>
On 10/12/11 3:09 AM, Luke Deller wrote:
<blockquote
cite="mid:9DD1531DB22E214BA7D42C594234D62B299059B1F0@sydexchange.devel.iress.com.au"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);">Hi Bryan,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);">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).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);">Luke.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size: 10pt;
font-family: "Tahoma","sans-serif";"
lang="EN-US">From:</span></b><span style="font-size: 10pt;
font-family: "Tahoma","sans-serif";"
lang="EN-US"> <a class="moz-txt-link-abbreviated" href="mailto:omniorb-list-bounces@omniorb-support.com">omniorb-list-bounces@omniorb-support.com</a>
[<a class="moz-txt-link-freetext" href="mailto:omniorb-list-bounces@omniorb-support.com">mailto:omniorb-list-bounces@omniorb-support.com</a>] <b>On
Behalf Of </b>Bryan Robinson<br>
<b>Sent:</b> Wednesday, 12 October 2011 10:44 AM<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:omniorb-list@omniorb-support.com">omniorb-list@omniorb-support.com</a><br>
<b>Subject:</b> [omniORB] Installing OmniOrb 4.1.6 on
FreeBSD 8.2<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">(Note: I have searched the mailing list
archives with Google Advanced search with some of the compiler
error messages listed below)<br>
<br>
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.<br>
<br>
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?<br>
<br>
===============================<br>
../../../../../src/tool/omniidl/cxx/idlast.cc:1861: warning:
'label' may be used uninitialized in this function<br>
../../../../../src/tool/omniidl/cxx/idlast.cc:1863: warning:
'label' may be used uninitialized in this function<br>
../../../../../src/tool/omniidl/cxx/idlast.cc:1865: warning:
'label' may be used uninitialized in this function<br>
../../../../../src/tool/omniidl/cxx/idlast.cc:1867: warning:
'label' may be used uninitialized in this function<br>
../../../../../src/tool/omniidl/cxx/idlast.cc:1869: warning:
'label' may be used uninitialized in this function<br>
../../../../../src/tool/omniidl/cxx/idlast.cc:1871: warning:
'label' may be used uninitialized in this function<br>
../../../../../src/tool/omniidl/cxx/idlast.cc:1874: warning:
'label' may be used uninitialized in this function<br>
../../../../../src/tool/omniidl/cxx/idlast.cc:1878: warning:
'label' may be used uninitialized in this function<br>
../../../../../src/tool/omniidl/cxx/idlast.cc:1883: warning:
'label' may be used uninitialized in this function<br>
../../../../../src/tool/omniidl/cxx/idlast.cc:1888: warning:
'label' may be used uninitialized in this function<br>
.................<br>
.................<br>
../../../../../src/tool/omniidl/cxx/idlpython.cc: In member
function 'virtual void PythonVisitor::visitConst(Const*)':<br>
../../../../../src/tool/omniidl/cxx/idlpython.cc:553: warning:
'pyv' may be used uninitialized in this function<br>
../../../../../src/tool/omniidl/cxx/idlpython.cc: In member
function 'virtual void
PythonVisitor::visitInterface(Interface*)':<br>
../../../../../src/tool/omniidl/cxx/idlpython.cc:485: warning:
'pyobj' may be used uninitialized in this function<br>
../../../../../src/tool/omniidl/cxx/idlpython.cc: In member
function 'virtual void
PythonVisitor::visitCaseLabel(CaseLabel*)':<br>
../../../../../src/tool/omniidl/cxx/idlpython.cc:793: warning:
'pyv' may be used uninitialized in this function<br>
../../../../../src/tool/omniidl/cxx/idlpython.cc: In member
function 'virtual void
PythonVisitor::visitValueAbs(ValueAbs*)':<br>
../../../../../src/tool/omniidl/cxx/idlpython.cc:1169:
warning: 'pyobj' may be used uninitialized in this function<br>
../../../../../src/tool/omniidl/cxx/idlpython.cc: In member
function 'virtual void PythonVisitor::visitValue(Value*)':<br>
../../../../../src/tool/omniidl/cxx/idlpython.cc:1234:
warning: 'pyobj' may be used uninitialized in this function<br>
....................<br>
....................<br>
....................<br>
../../../../include/omnithread.h:188:2: error: #error "No
implementation header file"<br>
../../../../include/omnithread.h:202:2: error: #error
"Implementation header file incomplete"<br>
In file included from
../../../../src/lib/omnithread/posix.cc:80:<br>
../../../../include/omnithread.h:256: error: ISO C++ forbids
declaration of 'OMNI_MUTEX_IMPLEMENTATION' with no type<br>
../../../../include/omnithread.h:257: error: expected ';'
before '}' token<br>
../../../../include/omnithread.h:257: error: expected `;'
before '}' token<br>
../../../../include/omnithread.h: In member function 'void
omni_mutex::lock()':<br>
../../../../include/omnithread.h:237: error:
'OMNI_MUTEX_LOCK_IMPLEMENTATION' was not declared in this
scope<br>
../../../../include/omnithread.h:237: error: expected `;'
before '}' token<br>
../../../../include/omnithread.h: In member function 'void
omni_mutex::unlock()':<br>
../../../../include/omnithread.h:238: error:
'OMNI_MUTEX_UNLOCK_IMPLEMENTATION' was not declared in this
scope<br>
../../../../include/omnithread.h:238: error: expected `;'
before '}' token<br>
../../../../include/omnithread.h: In member function 'int
omni_mutex::trylock()':<br>
../../../../include/omnithread.h:239: error:
'OMNI_MUTEX_TRYLOCK_IMPLEMENTATION' was not declared in this
scope<br>
../../../../include/omnithread.h:239: error: expected `;'
before '}' token<br>
../../../../include/omnithread.h:239: warning: no return
statement in function returning non-void<br>
../../../../include/omnithread.h: At global scope:<br>
===============================<br>
<br>
There are more errors which can be seen in the attached gmake
output. For reference, my configuration is listed below.<br>
<br>
FreeBSD version:<br>
===============================<br>
[root@bsd ~/omniORB-4.1.6/build]# uname -a<br>
FreeBSD bsd 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18
02:24:46 UTC 2011 <a moz-do-not-send="true"
href="mailto:root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC">root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC</a>
i386<br>
===============================<br>
<br>
g++ version 4.2.1:<br>
===============================<br>
[root@bsd ~/omniORB-4.1.6/build]# g++ -v<br>
Using built-in specs.<br>
Target: i386-undermydesk-freebsd<br>
Configured with: FreeBSD/i386 system compiler<br>
Thread model: posix<br>
gcc version 4.2.1 20070719 [FreeBSD]<br>
===============================<br>
<br>
python version 2.6.6:<br>
===============================<br>
[root@bsd ~/omniORB-4.1.6/build]# PY_VER=`python -c 'import
platform; print platform.python_version()'`; echo $PY_VER<br>
2.6.6<br>
===============================<o:p></o:p></p>
</div>
<font face="monospace">**********************************************************************************************<br>
Important Note<br>
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<br>
sender immediately and delete this email. Any views expressed in
this email are not necessarily the views of IRESS Market
Technology Limited.<br>
<br>
It is the duty of the recipient to virus scan and otherwise test
the information provided before loading onto any computer
system.<br>
IRESS Market Technology Limited does not warrant that the
information is free of a virus or any other defect or error.<br>
**********************************************************************************************</font></blockquote>
<br>
</body>
</html>