Date: Tue, 27 Feb 2001 23:53:39 +0800 From: Ng Pheng Siong <ngps@post1.com> To: Duncan Grisby <dgrisby@uk.research.att.com> Cc: Ng Pheng Siong <ngps@post1.com>, omniorb-list@uk.research.att.com, questions@freebsd.org Subject: Re: [omniORB] Python 2, FreeBSD 4, omniORBpy, core dump Message-ID: <20010227235339.C1427@madcap.dyndns.org> In-Reply-To: <200102121558.PAA07580@pineapple.uk.research.att.com>; from dgrisby@uk.research.att.com on Mon, Feb 12, 2001 at 03:58:14PM %2B0000 References: <ngps@post1.com> <200102121558.PAA07580@pineapple.uk.research.att.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 12, 2001 at 03:58:14PM +0000, Duncan Grisby wrote: > > $ python example_echo_nssrv.py > > Segmentation fault (core dumped) > > Does the non-naming service example (example_echo_srv.py and > example_echo_clt.py) work? Hi, Alexander Shakhov suggested linking the C++ library statically. This seems to have fixed it for me. Here's what I changed in src/lib/omniORBpy/modules/dir.mk: --- dir.mk.org Wed Feb 28 00:03:55 2001 +++ dir.mk Sun Feb 25 14:07:28 2001 @@ -298,6 +298,7 @@ ifdef FreeBSD CXXOPTIONS += -fPIC +EXTRAS = /usr/lib/libgcc_r.a libname = _omnipymodule.so soname = $(libname).$(OMNIPY_MAJOR) @@ -310,6 +311,7 @@ -shared -o $@ -Wl,-soname,$(soname) \ $(IMPORT_LIBRARY_FLAGS) \ $(filter-out $(LibSuffixPattern),$^) $(OMNIORB_LIB)\ + $(EXTRAS) \ ) all:: $(lib) A better rendition of "EXTRAS" is appreciated. Cheers. -- Ng Pheng Siong <ngps@post1.com> * http://www.post1.com/home/ngps 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?20010227235339.C1427>