recordmcount.pl fails the build for ppc machines

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

 



Hello,

I encountered a problem on a ppc machine when trying to build the
kernel modules for the LINX ipc framework. The output of make is:

% make
# ARCH=ppc
# KERNEL=/lib/modules/2.6.32-28-powerpc/build
# VERBOSE=no
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-28-powerpc'
  CC [M] /home/poly/tpjb/linx-2.5.0/net/linx/af_linx.o
Arch ppc is not supported with CONFIG_FTRACE_MCOUNT_RECORD at
/usr/src/linux-hea
ders-2.6.32-28-powerpc/scripts/recordmcount.pl line 249.
make[2]: *** [/home/poly/tpjb/linx-2.5.0/net/linx/af_linx.o] Error 255
make[1]: *** [_module_/home/poly/tpjb/linx-2.5.0/net/linx] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-28-powerpc'
make: *** [modules] Error 2

As you can see the ARCH variable is set to ppc, but the
recordmcount.pl script only treats the case when "uname -m" return
powerpc.

When the script was modified to accept the "ppc" variant as well the
build was successful.

Regards,

Ciprian Barbu
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux