RE: How to make mudules on linux-ppc2.6.12

2 messages, 2 authors, 2005-10-21 · open the first message on its own page

RE: How to make mudules on linux-ppc2.6.12

From: JohnsonCheng <hidden>
Date: 2005-10-21 03:42:37

Dear Andy,

 

Thanks your reply. But I am sorry that it doesn't work on my box.

My kernel had been configured and compiled, and I also modify my Makefile as
following:

 

Obj-m := test.o

All:

  $(MAKE) ARCH=ppc CROSS_COMPILE=powerpc-linux- -C /root/linux-2.6.12.3
SUBDIRS=$(PWD) modules

 

The output message is the same as before, no error message and no test.ko
module.

 

 

Thanks,

Johnson Cheng

 

 

  _____  

From: JohnsonCheng [mailto:JohnsonCheng@qnap.com.tw] 
Sent: Thursday, October 20, 2005 6:57 PM
To: linux-ppc-embedded
Subject: How to make mudules on linux-ppc2.6.12

 

Dear All,

 

I just write a "hello world" module code, but I can't compile it for
ppc2.6.12.

My Makefile is list as following:

 

obj-m := test.o

all:

  make ARCH=ppc CROSS_COMPILE=powerpc-linux- -C /root/linux-2.6.12.3
SUBDIR=. modules

 

When I run make, no error message output, but I find no test.ko modules. The
output message is list as following:

 

make ARCH=ppc CROSS_COMPILE=powerpc-linux- -C /root/linux-2.6.1

2.3 SUBDIR=. modules

make[1]: Entering directory `/root/linux-2.6.12.3'

  CHK     include/linux/version.h

make[2]: `arch/ppc/kernel/asm-offsets.s' is up to date.

  Building modules, stage 2.

  MODPOST

make[1]: Leaving directory `/root/linux-2.6.12.3'

 

Do anyone can give me some help ?

 

Thanks,

Johnson Cheng

 

Re: How to make mudules on linux-ppc2.6.12

From: White <hidden>
Date: 2005-10-21 04:37:23

Please try

obj-m += test.o

small case ! :)

good luck

Am Fri, 21 Oct 2005 11:35:51 +0800 schrieb "JohnsonCheng"
[off-list ref] :
Dear Andy,

 

Thanks your reply. But I am sorry that it doesn't work on my box.

My kernel had been configured and compiled, and I also modify my Makefile as
following:

 

Obj-m := test.o

All:

  $(MAKE) ARCH=ppc CROSS_COMPILE=powerpc-linux- -C /root/linux-2.6.12.3
SUBDIRS=$(PWD) modules

 

The output message is the same as before, no error message and no test.ko
module.

 

 

Thanks,

Johnson Cheng

 

 

  _____  

From: JohnsonCheng [mailto:JohnsonCheng@qnap.com.tw] 
Sent: Thursday, October 20, 2005 6:57 PM
To: linux-ppc-embedded
Subject: How to make mudules on linux-ppc2.6.12

 

Dear All,

 

I just write a "hello world" module code, but I can't compile it for
ppc2.6.12.

My Makefile is list as following:

 

obj-m := test.o

all:

  make ARCH=ppc CROSS_COMPILE=powerpc-linux- -C /root/linux-2.6.12.3
SUBDIR=. modules

 

When I run make, no error message output, but I find no test.ko modules. The
output message is list as following:

 

make ARCH=ppc CROSS_COMPILE=powerpc-linux- -C /root/linux-2.6.1

2.3 SUBDIR=. modules

make[1]: Entering directory `/root/linux-2.6.12.3'

  CHK     include/linux/version.h

make[2]: `arch/ppc/kernel/asm-offsets.s' is up to date.

  Building modules, stage 2.

  MODPOST

make[1]: Leaving directory `/root/linux-2.6.12.3'

 

Do anyone can give me some help ?

 

Thanks,

Johnson Cheng

 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help