Re: Multiple file module build problems

2001-03-01 Thread Lee Ho
It seems that linker tried to build executable file. When building multiple module source into one module object file, ld with '-r' option is used. ld -r -o scharmod.o schar.o procschar.o *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=* Lee, Ho. Software Engineer, Embedded Linux De

RE: Multiple file module build problems

2001-02-28 Thread Collins, Tom
: Collins, Tom Subject: Re: Multiple file module build problems It seems that linker tried to build executable file. When building multiple module source into one module object file, ld with '-r' option is used. ld -r -o scharmod.o schar.o p

Multiple file module build problems

2001-02-28 Thread Collins, Tom
Hello... I am trying to build a multiple-file kernel module, and am having some difficulty. It seems that the linker is trying to build and executable. The paradigm I am using is from http://www.linuxdoc.org/LDP/lkmpg/node13.html. I compile two source files with the following gcc command: gcc