Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jul 2005 13:19:40 +0200
From:      Gary Jennejohn <garyj@jennejohn.org>
To:        nkuzmin@list.ru
Cc:        ports@FreeBSD.org
Subject:   Re: ltmdm 
Message-ID:  <200507241119.j6OBJf1o003263@peedub.jennejohn.org>
In-Reply-To: Message from nkuzmin@list.ru> of "Sun, 24 Jul 2005 13:13:07 %2B0400." <E1DwcXj-0006L0-00.nkuzmin-list-ru@f38.mail.ru> 

next in thread | previous in thread | raw e-mail | index | archive | help

nkuzmin@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507241119.j6OBJf1o003263>