Hi,

After a few modifications to the Open Xforms Makefiles, it seems
that Open Xforms is now working on my system:

/opt/lib/libforms.so.0
/opt/lib/libforms.so -> libforms.so.0
/opt/lib/libforms.a
/opt/include/X11/forms.h

In my lyx-devel directory I do:

$ gmake maintainer-clean
$ cvs update
$ setenv CFLAGS "-I/opt/include"
$ setenv CPPFLAGS "-I/opt/include"
$ setenv LDFLAGS "-L/usr/local/lib -L/opt/lib -pthread"
$ ./autogen.sh
$ ./configure --prefix=/opt
$ gmake
# gmake install-strip

Well, at least it compiles, so far; but the lyx-executable dumps
core now, without doing anything else. The gdb backtrace says:

Program received signal SIGSEGV, Segmentation fault.
0x285b40ee in xdr_u_int () from /usr/lib/libc.so.4
(gdb) bt
#0  0x285b40ee in xdr_u_int () from /usr/lib/libc.so.4
#1  0x285b4852 in xdr_bytes () from /usr/lib/libc.so.4
#2  0x285b4924 in xdr_netobj () from /usr/lib/libc.so.4
#3  0x285ca12a in .cerror () from /usr/lib/libc.so.4
#4  0x2849ba9c in _X11TransSocketINETConnect () from /usr/X11R6/lib/libX11.so.6
#5  0x2849ccad in _X11TransConnect () from /usr/X11R6/lib/libX11.so.6
#6  0x2846798e in _X11TransConnectDisplay () from /usr/X11R6/lib/libX11.so.6
#7  0x28475b21 in XOpenDisplay () from /usr/X11R6/lib/libX11.so.6
#8  0x28370347 in fl_initialize (na=0xbfbffa00, arg=0xbfbffa4c,
appclass=0x82e30ef "LyX", appopt=0x832b4e0, 
    nappopt=1) at flresource.c:824
#9  0x80c8901 in LyXGUI::LyXGUI (this=0x8388200, owner=0xbfbff9dc,
argc=0xbfbffa00, argv=0xbfbffa4c, GUI=true)
    at lyx_gui.C:110
#10 0x80c9959 in LyX::LyX (this=0xbfbff9dc, argc=0xbfbffa00, argv=0xbfbffa4c) at
../src/lyx_main.C:94
#11 0x80fe8c1 in main (argc=2, argv=0xbfbffa4c) at ../src/main.C:38
#12 0x8050855 in _start ()


Is there a conflict between libc.so.4 and Xforms?
Any ideas?

Regards,
Rob.

Reply via email to