ltmdm

Gary Jennejohn garyj at jennejohn.org
Sun Jul 24 11:19:43 GMT 2005


nkuzmin at list.ru writes:
[snip]
> uudecode -p
> </usr/ports/comms/ltmdm/work/sys/modules/ltmdm/../../dev/ltmdm/ltmdmobj-600.o.uu
> >ltmdmobj.o
> cc -O -pipe   -DLTMDMOBJ_VERSION=600 -DCDEV_MAJOR=228 -D_KERNEL -DKLD=
> _MODULE
> -nostdinc -I-   -I. -I@ -I@/contrib/altq -I@/../include -I/usr/include
> -finline-limit=8000 -fno-common  -mcmodel=kernel -mno-red-zone  -mfpm=
> ath=387
> -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float
> -fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls
> -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
> -Winline -Wcast-qual  -fformat-extensions -std=c99 -c
> /usr/ports/comms/ltmdm/work/sys/modules/ltmdm/../../dev/ltmdm/ltmdmsio.c
> ld  -d -warn-common -r -d -o ltmdm.ko ltmdmobj.o ltmdmsio.o
> ld: Relocatable linking with relocations from format elf32-i386-freebsd
> (ltmdmobj.o) to format elf64-x86-64 (ltmdm.ko) is not supported
> *** Error code 1
> 
> Stop in /usr/ports/comms/ltmdm/work/sys/modules/ltmdm.
> *** Error code 1
> 
> Stop in
> /usr/ports/comms/ltmdm.
> #
> -------------------------------------------------------------------------=
> -
> 
> What I need to do?
> 

I don't know this port, but I suspect that ltmdmobj.o is a 32-bit
object. If that's the case then you're out of luck; there's no way
to link a 32-bit object into a 64-bit binary AFAIK.

---
Gary Jennejohn / garyjATjennejohnDOTorg gjATfreebsdDOTorg garyjATdenxDOTde



More information about the freebsd-ports mailing list