|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Two question about XneeFirst one: When I compile gnee on Solaris10, I got this info: ======================================================================== Making all in gnee Making all in src gcc -g -O2 -o gnee gnee-main.o gnee-support.o gnee-interface.o gnee-callbac ks.o gnee-recordables.o gnee-gnee_xnee.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lmlib -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2. 0 -lgmodule-2.0 -lglib-2.0 -L".././libxnee"/ -L"../../libxnee"/.. -L"../.. /libxnee"/src -lxnee -L/usr/openwin/lib -R/usr/openwin/lib -L/usr/openwin/lib - R/usr/openwin/lib -lX11 -lXtst -L/usr/openwin/lib -R/usr/openwin/lib Undefined first referenced symbol in file gtk_about_dialog_set_website gnee-interface.o gtk_about_dialog_set_copyright gnee-interface.o GTK_ABOUT_DIALOG gnee-interface.o gtk_about_dialog_set_version gnee-interface.o gtk_about_dialog_set_translator_credits gnee-interface.o gtk_about_dialog_set_documenters gnee-interface.o gtk_about_dialog_set_artists gnee-interface.o gtk_about_dialog_set_authors gnee-interface.o gtk_about_dialog_new gnee-interfaceo gtk_about_dialog_set_name gnee-interface.o gtk_about_dialog_set_license gnee-interface.o gtk_about_dialog_set_comments gnee-interface.o ld: fatal: Symbol referencing errors. No output written to gnee collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `gnee' ======================================================================== Second One: I can run cnee from CLI, but I got a segment fault, here is the GDB info: ======================================================================== (gdb) r --record --events-to-record 5 --mouse --keyboard -o /tmp/xnee.xns -e /tmp/xnee.log -v Starting program: /export/home/brant/tools/testing/Xnee-3.01/cnee/src/cnee --record --events-to-record 5 --mouse --keyboard -o /tmp/xnee.xns -e /tmp/xnee.log -v warning: Temporarily disabling breakpoints for unloaded shared library "/usr/lib/ld.so.1" --> xnee_prepare ---> xnee_open_files --- xnee_open_files: handling err --- xnee_open_files: opening err: /tmp/xnee.log Program received signal SIGSEGV, Segmentation fault. 0xff0b20d0 in strlen () from /lib/libc.so.1 (gdb) bt #0 0xff0b20d0 in strlen () from /lib/libc.so.1 #1 0xff11bacc in _ndoprnt () from /lib/libc.so.1 #2 0xff11dadc in fprintf () from /lib/libc.so.1 #3 0x0001bca0 in xnee_print_xnee_settings (xd=0x50908, out=0x50400) at print.c:1109 #4 0x00019b08 in xnee_start (xd=0x50908) at xnee.c:138 #5 0x00018e38 in main (argc=11, argv=0xffbff29c) at main.c:102 ======================================================================== It seems my libc.so.1 isnot compatible, which libc.so.1 version shall I install? And how to update my libc.so.1? Thank you guys. 《大话西游外传》贺岁新作,送豪宅、送你5000元压岁钱 _______________________________________________ Bug-xnee mailing list Bug-xnee@... http://lists.gnu.org/mailman/listinfo/bug-xnee |
|
|
Re: Two question about Xneehi
and thanks for your report. See below xkdcc wrote: > First one: > When I compile gnee on Solaris10, I got this info: > ======================================================================== > Making all in gnee > Making all in src > gcc -g -O2 -o gnee gnee-main.o gnee-support.o gnee-interface.o gnee-callbac > ks.o gnee-recordables.o gnee-gnee_xnee.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 > -lgdk_pixbuf-2.0 -lm -lmlib -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2. > 0 -lgmodule-2.0 -lglib-2.0 -L"../../libxnee"/ -L"../../libxnee"/.. -L"../.. > /libxnee"/src -lxnee -L/usr/openwin/lib -R/usr/openwin/lib -L/usr/openwin/lib - > R/usr/openwin/lib -lX11 -lXtst -L/usr/openwin/lib -R/usr/openwin/lib > Undefined first referenced > symbol in file > gtk_about_dialog_set_website gnee-interface.o > gtk_about_dialog_set_copyright gnee-interface.o > GTK_ABOUT_DIALOG gnee-interface.o > gtk_about_dialog_set_version gnee-interface.o > gtk_about_dialog_set_translator_credits gnee-interface.o > gtk_about_dialog_set_documenters gnee-interface.o > gtk_about_dialog_set_artists gnee-interface.o > gtk_about_dialog_set_authors gnee-interface.o > gtk_about_dialog_new gnee-interface.o > gtk_about_dialog_set_name gnee-interface.o > gtk_about_dialog_set_license gnee-interface.o > gtk_about_dialog_set_comments gnee-interface.o > ld: fatal: Symbol referencing errors. No output written to gnee > collect2: ld returned 1 exit status > *** Error code 1 > make: Fatal error: Command failed for target `gnee' > ======================================================================== What version of Xnee are you compiling? What versions of gtk do you have installed on your computer? > Second One: > I can run cnee from CLI, but I got a segment fault, here is the GDB info: > ======================================================================== > (gdb) r --record --events-to-record 5 --mouse --keyboard -o /tmp/xnee.xns -e /tmp/xnee.log -v > > Starting program: /export/home/brant/tools/testing/Xnee-3.01/cnee/src/cnee --record --events-to-record 5 --mouse --keyboard -o /tmp/xnee.xns -e /tmp/xnee.log -v > warning: Temporarily disabling breakpoints for unloaded shared library "/usr/lib/ld.so.1" > --> xnee_prepare > ---> xnee_open_files > --- xnee_open_files: handling err > --- xnee_open_files: opening err: /tmp/xnee.log > > Program received signal SIGSEGV, Segmentation fault. > 0xff0b20d0 in strlen () from /lib/libc.so.1 > (gdb) bt > #0 0xff0b20d0 in strlen () from /lib/libc.so.1 > #1 0xff11bacc in _ndoprnt () from /lib/libc.so.1 > #2 0xff11dadc in fprintf () from /lib/libc.so.1 > #3 0x0001bca0 in xnee_print_xnee_settings (xd=0x50908, out=0x50400) > at print.c:1109 > #4 0x00019b08 in xnee_start (xd=0x50908) at xnee.c:138 > #5 0x00018e38 in main (argc=11, argv=0xffbff29c) at main.c:102 > ======================================================================== > It seems my libc.so.1 isnot compatible, which libc.so.1 version shall I install? And how to update my libc.so.1? To upgrade libc on Solaris you have to ask SUN. But I am quite sure that that's not the problem. I would go for glic being nicer when "following" NULL pointers in printf calls. Solaris' libc crashes when printing a NULL pointer. I will look into this. > Thank you guys. > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Bug-xnee mailing list > Bug-xnee@... > http://lists.gnu.org/mailman/listinfo/bug-xnee _______________________________________________ Bug-xnee mailing list Bug-xnee@... http://lists.gnu.org/mailman/listinfo/bug-xnee |
|
|
Re: Two question about Xnee>
|
|
|
Re: Two question about Xneethanks, made a similar fix (now in CVS).
.. and to the one's who really want to discuss if it's good if glibc is more forgiving than Solaris. I am not sure. But I am sure that that I made a woops. firebush wrote: > >> hi >> >> and thanks for your report. >> >> ... >> >> I would go for glic being nicer when "following" NULL pointers in printf >> calls. Solaris' libc crashes when printing a NULL pointer. > > The segfault can be worked around by changing the fprintf for the > xd->plugin_name to (in case it's NULL, as you pointed out Henrik): > > 1593 fprintf (out, "%s %s\n", > 1594 xnee_xns_key2string(XNEE_PLUGIN_KEY), > 1595 xd->plugin_name ? xd->plugin_name : "<NULL>" ); > > That in the xnee_print_xnee_settings function in the xnee-3.03/libxnee/src > directory. > > When I make that change, do a 'gmake clean; gmake; gmake install' from > xnee-3.03, I don't get the segfault. > _______________________________________________ Bug-xnee mailing list Bug-xnee@... http://lists.gnu.org/mailman/listinfo/bug-xnee |
| Free embeddable forum powered by Nabble | Forum Help |