1 Apr 2003 21:55
build fails for ppc oprofile
Andy Fleming <afleming <at> motorola.com>
2003-04-01 19:55:44 GMT
2003-04-01 19:55:44 GMT
So I have the oprofile from cvs, updated monday morning, CST. I applied
v0004 of the ppc patch, and I have added preliminary support for the
7455. I can't tell if it works, though, since I can't seem to get
oprofile to compile. I get an error:
gcc -D__KERNEL__ -I/home/afleming/linux-2.4.20-8a-perfmon/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -I/home/afleming/linux-2.4.20-8a-perfmon/arch/ppc
-fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized
-mmultiple -mstring -DMODULE -DMODVERSIONS -include
/home/afleming/linux-2.4.20-8a-perfmon/include/linux/modversions.h
-DHAVE_LINUX_SPINLOCK_HEADER -DRTC_LOCK -DEXPECT_OK -D__NO_VERSION__
-I/home/afleming/projects/perfmon/oprofile-ppc/
-I/home/afleming/projects/perfmon/oprofile-ppc/libutil
-I/home/afleming/projects/perfmon/oprofile-ppc/libop
-I/home/afleming/projects/perfmon/oprofile-ppc/module -nostdinc
-iwithprefix include -DKBUILD_BASENAME=op_syscalls -c -o op_syscalls.o
op_syscalls.c
In file included from
/home/afleming/linux-2.4.20-8a-perfmon/include/linux/sched.h:24,
from op_syscalls.c:11:
/home/afleming/linux-2.4.20-8a-perfmon/include/linux/tty.h:346: invalid
suffix on floating constant
/home/afleming/linux-2.4.20-8a-perfmon/include/linux/tty.h:346: parse
error before numeric constant
/home/afleming/linux-2.4.20-8a-perfmon/include/linux/tty.h:346: warning:
function declaration isn't a prototype
op_syscalls.c:236: warning: `my_sys_fork' defined but not used
op_syscalls.c:254: warning: `my_sys_vfork' defined but not used
op_syscalls.c:272: warning: `my_sys_clone' defined but not used
(Continue reading)
RSS Feed