Anyone tried to compile ORBit?



Dear all,

    I finally figured out how I can avoid the segmentation fault.
In my case, all of the required libraries and comipler:

	+ glib 1.1.12
	+ gtk+ 1.1.12
	+ gcc 2.8.1

are newly compiled and being put in /usr/local/. I turned on the
--enable-mem-check option on compiling glib 1.1.12. While I turned
off this checking, ORBit 0.3.91 can be compiled successfully without
complaining segm. fault.

Should I enable/disable some other options when I enable mem-check?

Thank you!

-Terence

> 
> 
> Dear all,
> 
>     Anyone out there tried to comiple ORBit 0.3.91 ? orbit-idl can be compiled
> succesfully, while failed on using ot to parse interface_repository.idl.
> It got stuck on calling free() from libIDL.
> 
> Platform:
> 
>     + RedHat 5.2
>     + glib 1.1.12
>     + gtk+ 1.1.12
>     + gcc 2.8.1
> 
> Gdb output:
> ========================================================================
> Program received signal SIGSEGV, Segmentation fault.
> __libc_free (mem=0x8) at malloc.c:2854
> malloc.c:2854: No such file or directory.
> (gdb) back
> #0  __libc_free (mem=0x8) at malloc.c:2854
> #1  0x80617aa in IDL_ns_prefix (ns=0x808b810, s=0x808bf56 "\"omg.org\"") at ns.c:108
> #2  0x806d7d4 in __IDL_do_pragma (s=0x808bf4f "prefix \"omg.org\"") at parser.y:1485
> #3  0x806ea01 in __IDL_lex () at lexer.l:141
> #4  0x8069db3 in __IDL_parse () at /usr/lib/bison.simple:387
> #5  0x8063652 in IDL_parse_filename (
>     filename=0xbffffe3b "src/daemons/interface_repository/interface_repository.idl",
>     cpp_args=0x808b808 "", msg_cb=0, tree=0xbffffd0c, ns=0xbffffd10, 
>     parse_flags=65536, max_msg_level=2) at util.c:324
> #6  0x8049460 in orbit_idl_to_backend (
>     filename=0xbffffe3b "src/daemons/interface_repository/interface_repository.idl",
>     cpp_args=0x808b808 "") at main.c:155
> #7  0x80493f2 in main (argc=2, argv=0xbffffd4c) at main.c:104
> (gdb) 
> ========================================================================
> 
> 
> -Terence
> 
> 
> -- 
>         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>          To unsubscribe: mail gnome-list-request@gnome.org with 
>                        "unsubscribe" as the Subject.
> 
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]