I have a project that I've compiled under RH6.2 with gcc/g++ 2.95.2. The strace program has the following output: execve("../../PinnacleStatic/bin/linux/pinnacle", ["../../PinnacleStatic/bin/linux/pinnacle"], [/* 59 vars */]) = 0 brk(0) = 0x873d724 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/openwin/lib/i686/mmx/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/usr/openwin/lib/i686/mmx", 0xbfffecd8) = -1 ENOENT (No such file or directory) open("/usr/openwin/lib/i686/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/usr/openwin/lib/i686", 0xbfffecd8) = -1 ENOENT (No such file or directory) open("/usr/openwin/lib/mmx/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/usr/openwin/lib/mmx", 0xbfffecd8) = -1 ENOENT (No such file or directory) open("/usr/openwin/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/usr/openwin/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 open("/usr/local/lib/i686/mmx/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/usr/local/lib/i686/mmx", 0xbfffecd8) = -1 ENOENT (No such file or directory) open("/usr/local/lib/i686/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/usr/local/lib/i686", 0xbfffecd8) = -1 ENOENT (No such file or directory) open("/usr/local/lib/mmx/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/usr/local/lib/mmx", 0xbfffecd8) = -1 ENOENT (No such file or directory) open("/usr/local/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/usr/local/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 open("/home/brown/Pinnacle/PinnacleStatic/bin/linux/i686/mmx/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/home/brown/Pinnacle/PinnacleStatic/bin/linux/i686/mmx", 0xbfffecd8) = -1 ENOENT (No such file or directory) open("/home/brown/Pinnacle/PinnacleStatic/bin/linux/i686/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/home/brown/Pinnacle/PinnacleStatic/bin/linux/i686", 0xbfffecd8) = -1 ENOENT (No such file or directory) open("/home/brown/Pinnacle/PinnacleStatic/bin/linux/mmx/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/home/brown/Pinnacle/PinnacleStatic/bin/linux/mmx", 0xbfffecd8) = -1 ENOENT (No such file or directory) open("/home/brown/Pinnacle/PinnacleStatic/bin/linux/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/home/brown/Pinnacle/PinnacleStatic/bin/linux", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 open("/etc/ld.so.cache", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=20494, ...}) = 0 old_mmap(NULL, 20494, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40015000 close(4) = 0 open("/lib/libc.so.6", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0755, st_size=4101324, ...}) = 0 read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\210\212"..., 4096) = 4096 old_mmap(NULL, 1001564, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x4001b000 mprotect(0x40108000, 30812, PROT_NONE) = 0 old_mmap(0x40108000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0xec000) = 0x40108000 old_mmap(0x4010c000, 14428, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4010c000 close(4) = 0 mprotect(0x4001b000, 970752, PROT_READ|PROT_WRITE) = 0 mprotect(0x4001b000, 970752, PROT_READ|PROT_EXEC) = 0 --- SIGSEGV (Segmentation fault) --- +++ killed by SIGSEGV +++ Running gdb results in the following: gdb ../../PinnacleStatic/bin/linux/pinnacle GNU gdb 19991004 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux"... (gdb) break main Breakpoint 1 at 0x804f9dc: file main.c, line 9. (gdb) run Starting program: /usr/home/brown/Pinnacle/pinnacle/build/../../PinnacleStatic/bin/linux/pinnacle Program received signal SIGSEGV, Segmentation fault. 0x400037b6 in ?? () The main function is the first function in the program. Obviously it isn't even getting that far before it dies. Any pointers as to what I need to do to try and figure out where the program is croaking will be appreciated. If there is a better mail list to join in which to get help on this, please let me know and I'll move the question to that mail list. Thanks. MB -- e-mail: [EMAIL PROTECTED] Bart: Hey, why is it destroying other toys? Lisa: They must have programmed it to eliminate the competition. Bart: You mean like Microsoft? Lisa: Exactly. [The Simpsons - 12/18/99] Visit - URL:http://www.vidiot.com/ (Your link to Star Trek and UPN) _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list