Ethereal-dev: [Ethereal-dev] Ethereal plugins not loading on Linux ppc
Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.
Hi,
I am trying to add a plugin to ethereal (version 0.10.2). I have been successfully able to make the plugin work for Linux on the i686 architecture. However, when I cross-compile the code for the ppc architecture and run on a ppc platform, none of the plugins seem to load. Can any one shed some light as to why this might be hapenning.
Below is the initial output of the strace for the ppc platform. In the trace, before it tries to open ethereal.conf file, I would have expected it to load the plugins directory (as is the case with strace output on the i686 platform).
Thanks.
Sandeep
***********************************************************************
939 execve("./tethereal", ["./tethereal", "-V", "-r", "../../handcoded-pkts"], [/* 21 vars */]) = 0
939 brk(0) = 0x108bb154
939 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
939 open("/mnt/nfs/lab/lib/libgmodule-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
939 stat64("/mnt/nfs/lab/lib", 0x7fffee20) = -1 ENOENT (No such file or directory)
939 open("/opt/msp/lib/libgmodule-2.0.so.0", O_RDONLY) = 3
939 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0 ,"..., 1024) = 1024
939 fstat64(3, {st_dev=makedev(0, 8), st_ino=43777, st_mode=S_IFREG|0755, st_nlink=1, st_uid=0, st_gid=0, st_blksize=8192, st_blocks=32, st_size=16024, st_atime=2003/12/31-19:01:45, st_mtime=2004/09/26-14:10:11, st_ctime=2004/09/27-13:21:25}) = 0
939 mmap(0xffdc000, 80880, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xffdc000
939 mprotect(0xffe0000, 64496, PROT_NONE) = 0
939 mmap(0xffec000, 16384, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xffec000
939 close(3) = 0
939 open("/opt/msp/lib/libdl.so.2", O_RDONLY) = 3
939 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0\34"..., 1024) = 1024
939 fstat64(3, {st_dev=makedev(0, 8), st_ino=43057, st_mode=S_IFREG|0755, st_nlink=1, st_uid=0, st_gid=0, st_blksize=8192, st_blocks=24, st_size=10276, st_atime=2003/12/31-19:01:28, st_mtime=2004/09/26-14:09:07, st_ctime=2004/09/27-13:20:39}) = 0
939 mmap(0xffb9000, 74828, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xffb9000
939 mprotect(0xffbc000, 62540, PROT_NONE) = 0
939 mmap(0xffc9000, 12288, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xffc9000
939 close(3) = 0
939 open("/opt/msp/lib/libglib-2.0.so.0", O_RDONLY) = 3
939 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\1\35"..., 1024) = 1024
939 fstat64(3, {st_dev=makedev(0, 8), st_ino=43765, st_mode=S_IFREG|0755, st_nlink=1, st_uid=0, st_gid=0, st_blksize=8192, st_blocks=1104, st_size=563220, st_atime=2003/12/31-19:10:12, st_mtime=2004/09/26-14:10:11, st_ctime=2004/09/27-13:21:25}) = 0
939 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x30017000
939 mmap(0xff0e000, 634216, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xff0e000
939 mprotect(0xff96000, 77160, PROT_NONE) = 0
939 mmap(0xff9e000, 40960, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0x80000) = 0xff9e000
939 mmap(0xffa8000, 3432, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xffa8000
939 close(3) = 0
939 open("/opt/msp/lib/libm.so.6", O_RDONLY) = 3
939 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0\242"..., 1024) = 1024
939 fstat64(3, {st_dev=makedev(0, 8), st_ino=51755, st_mode=S_IFREG|0755, st_nlink=1, st_uid=0, st_gid=0, st_blksize=8192, st_blocks=936, st_size=478260, st_atime=2003/12/31-19:01:28, st_mtime=2004/09/26-14:09:07, st_ctime=2004/09/27-13:20:39}) = 0
939 mmap(0xfe79000, 542972, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xfe79000
939 mprotect(0xfeec000, 71932, PROT_NONE) = 0
939 mmap(0xfef9000, 20480, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0x70000) = 0xfef9000
939 close(3) = 0
939 open("/opt/msp/lib/libpcap.so.0", O_RDONLY) = 3
939 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0E\310"..., 1024) = 1024
939 fstat64(3, {st_dev=makedev(0, 8), st_ino=43817, st_mode=S_IFREG|0755, st_nlink=1, st_uid=0, st_gid=0, st_blksize=8192, st_blocks=240, st_size=119976, st_atime=2003/12/31-19:10:20, st_mtime=2004/09/26-14:10:10, st_ctime=2004/09/27-13:21:27}) = 0
939 mmap(0xfe3b000, 187848, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xfe3b000
939 mprotect(0xfe58000, 69064, PROT_NONE) = 0
939 mmap(0xfe5b000, 53248, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0x10000) = 0xfe5b000
939 mmap(0xfe68000, 3528, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xfe68000
939 close(3) = 0
939 open("/opt/msp/lib/libz.so.1", O_RDONLY) = 3
939 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0,\34"..., 1024) = 1024
939 fstat64(3, {st_dev=makedev(0, 8), st_ino=43873, st_mode=S_IFREG|0755, st_nlink=1, st_uid=0, st_gid=0, st_blksize=8192, st_blocks=128, st_size=63032, st_atime=2003/12/31-19:01:30, st_mtime=2004/09/26-14:10:10, st_ctime=2004/09/27-13:21:31}) = 0
939 mmap(0xfe0b000, 128148, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xfe0b000
939 mprotect(0xfe19000, 70804, PROT_NONE) = 0
939 mmap(0xfe1b000, 65536, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xfe1b000
939 close(3) = 0
939 open("/opt/msp/lib/libc.so.6", O_RDONLY) = 3
939 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\1\317"..., 1024) = 1024
939 fstat64(3, {st_dev=makedev(0, 8), st_ino=43053, st_mode=S_IFREG|0755, st_nlink=1, st_uid=0, st_gid=0, st_blksize=8192, st_blocks=2504, st_size=1278936, st_atime=2003/12/31-19:01:28, st_mtime=2004/09/26-14:09:07, st_ctime=2004/09/27-13:20:38}) = 0
939 mmap(0xfcb1000, 1349696, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xfcb1000
939 mprotect(0xfde3000, 96320, PROT_NONE) = 0
939 mmap(0xfdf1000, 28672, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0x130000) = 0xfdf1000
939 mmap(0xfdf8000, 10304, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xfdf8000
939 close(3) = 0
939 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x30018000
939 mprotect(0xfe0b000, 57344, PROT_READ|PROT_WRITE) = 0
939 mprotect(0xfe0b000, 57344, PROT_READ|PROT_EXEC) = 0
939 brk(0) = 0x108bb154
939 brk(0x108bc154) = 0x108bc154
939 brk(0x108bd000) = 0x108bd000
939 brk(0x108be000) = 0x108be000
939 brk(0x108c0000) = 0x108c0000
939 brk(0x108c1000) = 0x108c1000
939 brk(0x108c2000) = 0x108c2000
939 brk(0x108c3000) = 0x108c3000
939 brk(0x108c4000) = 0x108c4000
939 brk(0x108c5000) = 0x108c5000
939 brk(0x108c6000) = 0x108c6000
939 brk(0x108c7000) = 0x108c7000
939 brk(0x108c8000) = 0x108c8000
939 brk(0x108c9000) = 0x108c9000
939 brk(0x108cb000) = 0x108cb000
939 brk(0x108cc000) = 0x108cc000
939 brk(0x108cd000) = 0x108cd000
939 brk(0x108ce000) = 0x108ce000
939 brk(0x108cf000) = 0x108cf000
939 brk(0x108d0000) = 0x108d0000
939 brk(0x108d1000) = 0x108d1000
939 brk(0x108d2000) = 0x108d2000
939 brk(0x108d3000) = 0x108d3000
939 brk(0x108d6000) = 0x108d6000
939 brk(0x108d7000) = 0x108d7000
939 brk(0x108d8000) = 0x108d8000
939 brk(0x108d9000) = 0x108d9000
939 brk(0x108da000) = 0x108da000
939 brk(0x108db000) = 0x108db000
939 brk(0x108dc000) = 0x108dc000
939 brk(0x108dd000) = 0x108dd000
939 brk(0x108e1000) = 0x108e1000
939 brk(0x108e2000) = 0x108e2000
939 brk(0x108e3000) = 0x108e3000
939 brk(0x108e4000) = 0x108e4000
939 brk(0x108e5000) = 0x108e5000
939 brk(0x108e6000) = 0x108e6000
939 brk(0x108eb000) = 0x108eb000
939 brk(0x108ec000) = 0x108ec000
939 brk(0x108ed000) = 0x108ed000
939 brk(0x108ee000) = 0x108ee000
939 brk(0x108ef000) = 0x108ef000
939 brk(0x108f0000) = 0x108f0000
939 brk(0x108f6000) = 0x108f6000
939 brk(0x108f7000) = 0x108f7000
939 brk(0x108f8000) = 0x108f8000
939 brk(0x108f9000) = 0x108f9000
939 brk(0x10900000) = 0x10900000
939 brk(0x10901000) = 0x10901000
939 brk(0x10902000) = 0x10902000
939 brk(0x10903000) = 0x10903000
939 brk(0x10904000) = 0x10904000
939 brk(0x10905000) = 0x10905000
939 brk(0x1090d000) = 0x1090d000
939 brk(0x1090e000) = 0x1090e000
939 brk(0x1090f000) = 0x1090f000
939 brk(0x10918000) = 0x10918000
939 brk(0x10922000) = 0x10922000
939 brk(0x1092d000) = 0x1092d000
939 brk(0x10936000) = 0x10936000
939 brk(0x10943000) = 0x10943000
939 brk(0x1094f000) = 0x1094f000
939 brk(0x1095d000) = 0x1095d000
939 brk(0x10963000) = 0x10963000
939 brk(0x10974000) = 0x10974000
939 brk(0x10977000) = 0x10977000
939 brk(0x10978000) = 0x10978000
939 brk(0x10979000) = 0x10979000
939 brk(0x1097a000) = 0x1097a000
939 brk(0x1097b000) = 0x1097b000
939 brk(0x1097c000) = 0x1097c000
939 brk(0x1097d000) = 0x1097d000
939 brk(0x1097e000) = 0x1097e000
939 brk(0x1097f000) = 0x1097f000
939 brk(0x10980000) = 0x10980000
939 brk(0x10981000) = 0x10981000
939 brk(0x10982000) = 0x10982000
939 brk(0x10983000) = 0x10983000
939 brk(0x10984000) = 0x10984000
939 brk(0x10985000) = 0x10985000
939 brk(0x10986000) = 0x10986000
939 brk(0x10987000) = 0x10987000
939 brk(0x10988000) = 0x10988000
939 brk(0x10989000) = 0x10989000
939 brk(0x1098a000) = 0x1098a000
939 brk(0x1098b000) = 0x1098b000
939 open("/usr/share/ethereal/ethereal.conf", O_RDONLY) = -1 ENOENT (No such file or directory)
939 open("/root/.ethereal/preferences", O_RDONLY) = -1 ENOENT (No such file or directory)
939 open("/usr/share/ethereal/disabled_protos", O_RDONLY) = -1 ENOENT (No such file or directory)
939 open("/root/.ethereal/disabled_protos", O_RDONLY) = -1 ENOENT (No such file or directory)
- Follow-Ups:
- Re: [Ethereal-dev] Ethereal plugins not loading on Linux ppc
- From: Guy Harris
- Re: [Ethereal-dev] Ethereal plugins not loading on Linux ppc
- Prev by Date: [Ethereal-dev] Patch to packet-h248-template.c checked in this morning.
- Next by Date: Re: [Ethereal-dev] Automating/scripting tethereal .au output frommultiple RTP streams
- Previous by thread: Re: [Ethereal-dev] Patch to packet-h248-template.c checked in this morning.
- Next by thread: Re: [Ethereal-dev] Ethereal plugins not loading on Linux ppc
- Index(es):