MHonArc test archive

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

Re: Problems with kernel compiling - unresolved _binary_pca200e_bin_start



Vilius Benetis wrote:

> Hello all,
>   I've just tried to compile pca200e-0.4 with different kernels - 2.1,
> 2.2, 2.3 and different atm(0.55, 0.61) and always fail - at least in
> linking stage :
> ld -m elf_i386 -T /usr/src/linux/arch/i386/vmlinux.lds -e stext
> arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o
> init/version.o \
>         --start-group \
>         arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o
> mm/mm.o fs/fs.o ipc/ipc.o \
>         fs/filesystems.a \
>         net/network.a \
>         drivers/block/block.a drivers/char/char.a drivers/misc/misc.a
> drivers/net/net.a drivers/atm/atm.a drivers/pci/pci.a
> drivers/video/video.a \
>         /usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a
> /usr/src/linux/arch/i386/lib/lib.a \
>         --end-group \
>         -o vmlinux
> drivers/atm/atm.a(pca200e.o): In function `pca200e_loadfirm':
> /usr/src/linux-2.3.3/drivers/atm/pca200e.c:175: undefined reference to
> `_binary_pca200e_bin_start'
> /usr/src/linux-2.3.3/drivers/atm/pca200e.c:180: undefined reference to
> `_binary_pca200e_bin_start'
> drivers/atm/atm.a(pca200e.o): In function `pca200e_loadfirm':
> /usr/src/linux/include/asm/string.h:209: undefined reference to
> `_binary_pca200e_bin_size'
> /usr/src/linux/include/asm/string.h:209: undefined reference to
> `_binary_pca200e_bin_start'
> /usr/src/linux/include/asm/string.h:209: undefined reference to
> `_binary_pca200e_bin_size'
> drivers/atm/atm.a(pca200e.o): In function `pca200e_startfirm':
> /usr/src/linux-2.3.3/drivers/atm/pca200e.c:259: undefined reference to
> `_binary_pca200e_bin_start'
> make: *** [vmlinux] Error 1
>
> What to do?
>
>   I doubt if it's kernel. Maybe I need some special libraries?
>
> I'm using slackware 4.0 distribution.
>
>   The same question was arised in spring, 1998, but I failed to find any
> answer in archives.
>
>   please write back who has got any idea,
>
> Vilius Benetis
> Litnet
> tel.(+370) 86 27181
> Vilius@siauliai.lt

Hi.

I have pca200e-0.4 with kernel 2.3.3. and I had this problem too. To solve
this problem copy the file pca200e.bin to the directory $LINUX/drivers/atm,
where $LINUX is the directory when you have the linux source. Then you must
configure the kernel. In some part of the configuration menu there's a
place to tell the system where the file pca200e.bin is. Write in this place
only the name of the file and then compile the kernel.

This is what I made and I had no more problems.

Bye.




Home | Main Index | Thread Index