From owner-freebsd-questions Wed Oct 31 11:18:21 2001 Delivered-To: freebsd-questions@freebsd.org Received: from pinky.us.net (pinky.us.net [216.181.215.124]) by hub.freebsd.org (Postfix) with ESMTP id D08DF37B405 for ; Wed, 31 Oct 2001 11:18:15 -0800 (PST) Received: (qmail 57513 invoked from network); 31 Oct 2001 19:18:15 -0000 Received: from pinky.us.net ([216.181.215.124]) (envelope-sender ) by pinky.us.net (qmail-ldap-1.03) with SMTP for ; 31 Oct 2001 19:18:15 -0000 Date: Wed, 31 Oct 2001 14:18:15 -0500 (EST) From: Brian Skrab To: "freebsd-questions@freebsd.org" Subject: Re: omniORB-3.0.4 && FreeBSD 4.4-STABLE... Answered In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Someone on the omniORB list was able to provide a pointer in the right direction. I've included an excerpt of the solution below completeness: Modified information from the file follows: * To build applications with the omniORB port on FreeBSD 4.x use CXXFLAGS = -D_REENTRANT -D_THREAD_SAFE CXXFLAGS += -D__x86__ -D__freebsd__ -D__OSVERSION__=4 CXXFLAGS += -I/usr/local/include dynamic linked binaries: LDFLAGS = -L/usr/local/lib LDFLAGS += -lomniORB3 -lomniDynamic3 -ltcpwrapGK -lomnithread LDFLAGS += -Wl,-rpath,/usr/local/lib !!! link with the -pthread flag !!! Thanks, ~brian skrab bgs@pinky.us.net On Wed, 31 Oct 2001, Brian Skrab wrote: > Hello, > > I'm not sure if this is the appropriate list to post this question, > but thought it would be a good place to start. I'm attempting to > implement a CORBA idl in C++ using the omniORB package, but am > running into a weird problem when I attempt to compile the generated > classes. > > Running this command: gcc -c -I/usr/local/include timeSK.cc > produces the following output: > > In file included from /usr/local/include/omniORB3/omniInternal.h:147, > from /usr/local/include/omniORB3/CORBA.h:259, > from time.hh:10, > from timeSK.cc:3: > /usr/local/include/omnithread.h:161: #error "No implementation header file" > /usr/local/include/omnithread.h:172: #error "Implementation header file incomplete" > In file included from /usr/local/include/omniORB3/omniInternal.h:148, > from /usr/local/include/omniORB3/CORBA.h:259, > from time.hh:10, > from timeSK.cc:3: > /usr/local/include/omniORB3/CORBA_sysdep.h:517: #error "The byte order of this platform is unknown" > > I have done several searches for any mention of this error on Google > and come up with nothing. I have also looked into this problem at > the omniORB website to no avail. Has anyone seen this before, > and/or knows how to fix it? Pointers to those who might know will > also be very much appreciated. > > Thanks, > > ~brian skrab > bgs@pinky.us.net > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message