Problem while Crosscompiling Ksymoops

jairam nair (jairamnair@rediffmail.com)
10 Jun 2003 10:32:40 -0000


Hi,
I am trying to cross compile ksymoops-2.4.9 for Strong ARM.
But i
am getting a segmentation Fault. The error messages is as below.
Can anybody tell me what should be given for DEF_MAP, since in
the
target machine there is no System.map file.

Can anybody give some idea on this.

Thanks and regards
Jairam

arm-linux-gcc -Dlinux -Wall -Wno-conversion -Waggregate-return
-Wstrict-prototypes -Wmissing-prototypes
-DINSTALL_PREFIX="\"/skiff/local\"" -DCROSS="\"arm-linux-\""
-DDEF_KSYMS=\"/proc/ksyms\" -DDEF_LSMOD=\"/proc/modules\"
-DDEF_OBJECTS=\"/lib/modules/*r/\"
-DDEF_MAP=\"/usr/src/linux/System.map\" -DDEF_ARCH=\"arm\"
-I/skiff/local/include -c -o ksymoops.o ksymoops.c
arm-linux-gcc -Dlinux -Wall -Wno-conversion -Waggregate-return
-Wstrict-prototypes -Wmissing-prototypes
-DINSTALL_PREFIX="\"/skiff/local\"" -DCROSS="\"arm-linux-\""
-DDEF_KSYMS=\"/proc/ksyms\" -DDEF_LSMOD=\"/proc/modules\"
-DDEF_OBJECTS=\"/lib/modules/*r/\"
-DDEF_MAP=\"/usr/src/linux/System.map\" -DDEF_ARCH=\"arm\"
-I/skiff/local/include -c -o io.o io.c
arm-linux-gcc -Dlinux -Wall -Wno-conversion -Waggregate-return
-Wstrict-prototypes -Wmissing-prototypes
-DINSTALL_PREFIX="\"/skiff/local\"" -DCROSS="\"arm-linux-\""
-DDEF_KSYMS=\"/proc/ksyms\" -DDEF_LSMOD=\"/proc/modules\"
-DDEF_OBJECTS=\"/lib/modules/*r/\"
-DDEF_MAP=\"/usr/src/linux/System.map\" -DDEF_ARCH=\"arm\"
-I/skiff/local/include -c -o ksyms.o ksyms.c
arm-linux-gcc -Dlinux -Wall -Wno-conversion -Waggregate-return
-Wstrict-prototypes -Wmissing-prototypes
-DINSTALL_PREFIX="\"/skiff/local\"" -DCROSS="\"arm-linux-\""
-DDEF_KSYMS=\"/proc/ksyms\" -DDEF_LSMOD=\"/proc/modules\"
-DDEF_OBJECTS=\"/lib/modules/*r/\"
-DDEF_MAP=\"/usr/src/linux/System.map\" -DDEF_ARCH=\"arm\"
-I/skiff/local/include -c -o map.o map.c
arm-linux-gcc -Dlinux -Wall -Wno-conversion -Waggregate-return
-Wstrict-prototypes -Wmissing-prototypes
-DINSTALL_PREFIX="\"/skiff/local\"" -DCROSS="\"arm-linux-\""
-DDEF_KSYMS=\"/proc/ksyms\" -DDEF_LSMOD=\"/proc/modules\"
-DDEF_OBJECTS=\"/lib/modules/*r/\"
-DDEF_MAP=\"/usr/src/linux/System.map\" -DDEF_ARCH=\"arm\"
-I/skiff/local/include -c -o misc.o misc.c
arm-linux-gcc -Dlinux -Wall -Wno-conversion -Waggregate-return
-Wstrict-prototypes -Wmissing-prototypes
-DINSTALL_PREFIX="\"/skiff/local\"" -DCROSS="\"arm-linux-\""
-DDEF_KSYMS=\"/proc/ksyms\" -DDEF_LSMOD=\"/proc/modules\"
-DDEF_OBJECTS=\"/lib/modules/*r/\"
-DDEF_MAP=\"/usr/src/linux/System.map\" -DDEF_ARCH=\"arm\"
-I/skiff/local/include -c -o object.o object.c
arm-linux-gcc -Dlinux -Wall -Wno-conversion -Waggregate-return
-Wstrict-prototypes -Wmissing-prototypes
-DINSTALL_PREFIX="\"/skiff/local\"" -DCROSS="\"arm-linux-\""
-DDEF_KSYMS=\"/proc/ksyms\" -DDEF_LSMOD=\"/proc/modules\"
-DDEF_OBJECTS=\"/lib/modules/*r/\"
-DDEF_MAP=\"/usr/src/linux/System.map\" -DDEF_ARCH=\"arm\"
-I/skiff/local/include -c -o oops.o oops.c
arm-linux-gcc -Dlinux -Wall -Wno-conversion -Waggregate-return
-Wstrict-prototypes -Wmissing-prototypes
-DINSTALL_PREFIX="\"/skiff/local\"" -DCROSS="\"arm-linux-\""
-DDEF_KSYMS=\"/proc/ksyms\" -DDEF_LSMOD=\"/proc/modules\"
-DDEF_OBJECTS=\"/lib/modules/*r/\"
-DDEF_MAP=\"/usr/src/linux/System.map\" -DDEF_ARCH=\"arm\"
-I/skiff/local/include -c -o re.o re.c
arm-linux-gcc -Dlinux -Wall -Wno-conversion -Waggregate-return
-Wstrict-prototypes -Wmissing-prototypes
-DINSTALL_PREFIX="\"/skiff/local\"" -DCROSS="\"arm-linux-\""
-DDEF_KSYMS=\"/proc/ksyms\" -DDEF_LSMOD=\"/proc/modules\"
-DDEF_OBJECTS=\"/lib/modules/*r/\"
-DDEF_MAP=\"/usr/src/linux/System.map\" -DDEF_ARCH=\"arm\"
-I/skiff/local/include -c -o symbol.o symbol.c
arm-linux-gcc io.o ksyms.o ksymoops.o map.o misc.o object.o
oops.o
re.o symbol.o -Dlinux -Wall -Wno-conversion -Waggregate-return
-Wstrict-prototypes -Wmissing-prototypes
-DINSTALL_PREFIX="\"/skiff/local\"" -DCROSS="\"arm-linux-\""
-DDEF_KSYMS=\"/proc/ksyms\" -DDEF_LSMOD=\"/proc/modules\"
-DDEF_OBJECTS=\"/lib/modules/*r/\"
-DDEF_MAP=\"/usr/src/linux/System.map\" -DDEF_ARCH=\"arm\"
-I/skiff/local/include -L/skiff/local/lib -arm-linux-ld,-Bstatic
-lbfd
-liberty -arm-linux-ld,-Bdynamic -o ksymoops
collect2: ld terminated with signal 11 [Segmentation fault],
core
dumped
make: *** [ksymoops] Error 1

___________________________________________________
Get www. mycompany .com and 5 matching email ids.
Just Rs. 1499/ year.
Click here http://www.rediffmailpro.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/