From: Luis Yanes (kfl@mx.dy.fi)
Date: Wed Feb 21 2001 - 20:35:18 EET
After a long time since the last time I was on air with packet radio,
I want to setup a box with a similar configuration I had previously.
linux+ax25+scc.
The problem now is that I'm unable of compile the kernel with ax25
support, due to an undefined reference to memcpy at linking time.
(see errors below).
Since I couldn't find any reference to this problem in the list at the
archive site in http://hes.iki.fi/archive/linux-hams/ must supouse
that the problem is my fault, (although the search engine didn't worked
for me either).
The system I'm compiling on is RH7.0 kernel-2.2.18 with new clean
sources patched without rejects, mrproper, menuconfig, dep, bzImage.
If the ax25 and scc are built as modules, the kernel compiles without
problem, but of course later trying to load the modules complains
about the missing reference to memcpy.
All the kernel configurations without ax25 or netrom, compiled fine.
Looking at the ax25 sources, couldn't find and significant diference
with the ones I had working before(bad memory), since have the same
included files and also use memcpy in a similar way. So if something
is broken don't seems that would be there.
Prior to supplying more useless error and configuration info, I wanted
to ask for a clue that could help me to make it work.
73's de Luis
mail: melus0(@)teleline(.)es
Ampr: eb7gwl.ampr.org
http://www.terra.es/personal2/melus0/ <- PCBs for Homebrewed Hardware
------------------------------------------------------------------------
make[2]: Saliendo directorio `/usr/src/linux-2.2.18/arch/i386/lib'
make[1]: Saliendo directorio `/usr/src/linux-2.2.18/arch/i386/lib'
cc -D__KERNEL__ -I/usr/src/linux/include -E -C -P
-I/usr/src/linux/include
-imacros /usr/src/linux/include/asm-i386/page_offset.h -Ui386
arch/i386/vmlinux.lds.S >arch/i386/vmlinux.lds
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.o drivers/misc/misc.a
drivers/net/net.a drivers/video/video.a drivers/net/hamradio/hamradio.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
net/network.a(ax25.o): In function `ax25_make_new':
ax25.o(.text+0x1373): undefined reference to `memcpy'
net/network.a(ax25.o): In function `ax25_rcv':
ax25.o(.text+0x47da): undefined reference to `memcpy'
net/network.a(ax25.o): In function `ax25_send_frame':
ax25.o(.text+0x4dea): undefined reference to `memcpy'
net/network.a(ax25.o): In function `ax25_rt_autobind':
ax25.o(.text+0x5fb9): undefined reference to `memcpy'
make: *** [vmlinux] Error 1
------------------------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to jkfzltk.ctdotz@brink.nl
This archive was generated by hypermail 2b30 : Wed Feb 21 2001 - 20:40:20 EET