MHonArc test archive

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

Re: Problems compiling the PCA-200e module



Craig J Copi wrote:

> > "Gordon M. Taylor" wrote:
> > >         when I created a mostly-non-modular kernel, or a large number
> > >         of modules with unresolved symbols when I made a mostly-modular
> > >         kernel.  These modules were not solely related to Linux-ATM
> > >         modules, but the Linux-ATM modules did also have unresolved
> > >         symbols.
> > The pca200e-0.4 driver is intended to be kernel-compiled in. As you can see,
> > using it as a loadable module hasn't been tested thoroughly.
> >

To install the pca200-0.4 driver I used the kernell 2.1.117 with the patch
0.47.At first I had problems with kernel instalation: unresolved symbols and some
errors.  I tried with a reduced kernel, almost modular and it seems to work fine.

I also had a problem with the driver pca200e.
After installing the path  pca200e-0.4.patch,  I configured the driver as a
module.  When doing make modules I had an error:

make[2]: Entering directory `/usr/src/linux-2.1.117-prueba/drivers/atm'
ld -m elf_i386 -r -o pca_200e.o pca200e.o pca200e_firm.o dummy
ld: cannot open dummy: No such file or directory
make[2]: *** [pca_200e.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.1.117-prueba/drivers/atm'
make[1]: *** [_modsubdir_atm] Error 2
make[1]: Leaving directory `/usr/src/linux-2.1.117-prueba/drivers'

In the last two lines of /linux/drivers/atm/Makefile you can find:
pca_200e.o:     pca200e.o pca200e_firm.o
        $(LD) -r -o $@ $^

it seems that $^ expand to pca_200e.o pca200e.o pca200e_firm.o dummy

I replaced this two lines by:
pca_200e.o:     pca200e.o pca200e_firm.o
        $(LD) -r -o $@ pca200e.o pca200e_firm.o
and now it works fine.



--
=================================================================
Natalia Talayero San Miguel
B-203,ETSI Telecomunicaciones, Avda Paraninfo S/N
28040 Madrid SPAIN
shak@dit.upm.es      +34-91-3367366 + ext 809
=================================================================





Home | Main Index | Thread Index