Date: Wed, 31 Oct 2001 14:18:15 -0500 (EST) From: Brian Skrab <bgs@pinky.us.net> To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: omniORB-3.0.4 && FreeBSD 4.4-STABLE... Answered Message-ID: <Pine.BSF.4.32.0110311414580.57423-100000@pinky.us.net> In-Reply-To: <Pine.BSF.4.32.0110311135040.56398-100000@pinky.us.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.32.0110311414580.57423-100000>