Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Oct 1999 02:41:40 +0900
From:      FUJISHIMA Satsuki <k5@cheerful.com>
To:        knu@idaemons.org
Cc:        matt@BabCom.ORG, freebsd-ports@freebsd.org
Subject:   Re: flashplugin: c++rt0.o problem (Re: FlashPlugin FreeBSD Port.)
Message-ID:  <14346.2644.818903.29321F@cheerful.com>
In-Reply-To: In your message of "Wed, 13 Oct 1999 01:45:29 %2B0900" <14339.26025.522780.26482Z@archon.my.domain>
References:  <Pine.BSF.4.10.9910112218070.50902-100000@shell.arpa-canada.net> <14339.26025.522780.26482Z@archon.my.domain>

next in thread | previous in thread | raw e-mail | index | archive | help
At Wed, 13 Oct 1999 01:45:29 +0900,
Akinori MUSHA aka knu <knu@idaemons.org> wrote:

> To make this port, you might need legacy a.out csu library files.
> Do the following steps:
> 
>     1. extract /usr/src/lib (distribution files: src/slib.??)
>     2. cd /usr/src/lib/csu/i386
>     3. make clean depend
>     4. make all install 
> 
> And then try making the port.

I think you meant "make all install OBJFORMAT=aout" in (4).

$ objformat
elf
$ cd ~/tmp/src/lib/csu/i386 && make
cc -O -m486 -pipe -DLIBC_SCCS -fno-omit-frame-pointer   -c -DCRT0 -DDYNAMIC /home/k5/tmp/src/lib/csu/i386/crt0.c -o crt0.o
/home/k5/tmp/src/lib/csu/i386/crt0.c: In function `__do_dynamic_link':
/home/k5/tmp/src/lib/csu/i386/crt0.c:196: storage size of `crt' isn't known
/home/k5/tmp/src/lib/csu/i386/crt0.c:260: `CRT_VERSION_BSD_5' undeclared (first use this function)
/home/k5/tmp/src/lib/csu/i386/crt0.c:260: (Each undeclared identifier is reported only once
/home/k5/tmp/src/lib/csu/i386/crt0.c:260: for each function it appears in.)
/home/k5/tmp/src/lib/csu/i386/crt0.c:264: `CRT_VERSION_BSD_4' undeclared (first use this function)
/home/k5/tmp/src/lib/csu/i386/crt0.c:268: `CRT_VERSION_BSD_3' undeclared (first use this function)
/home/k5/tmp/src/lib/csu/i386/crt0.c:269: invalid use of undefined type `struct _dynamic'
/home/k5/tmp/src/lib/csu/i386/crt0.c:275: dereferencing pointer to incomplete type
/home/k5/tmp/src/lib/csu/i386/crt0.c:288: `LDSO_VERSION_HAS_DLEXIT' undeclared (first use this function)
/home/k5/tmp/src/lib/csu/i386/crt0.c:289: dereferencing pointer to incomplete type
*** Error code 1

Stop.
$ make OBJFORMAT=aout
cc -O -m486 -pipe -DLIBC_SCCS -fno-omit-frame-pointer   -c -DCRT0 -DDYNAMIC /home/k5/tmp/src/lib/csu/i386/crt0.c -o crt0.o
ld -o crt0.o.tmp -x -r crt0.o
cc -O -m486 -pipe -DLIBC_SCCS -fno-omit-frame-pointer   -fpic -c /home/k5/tmp/src/lib/csu/i386/c++rt0.c
cc -O -m486 -pipe -DLIBC_SCCS -fno-omit-frame-pointer   -c -DMCRT0 -DDYNAMIC /home/k5/tmp/src/lib/csu/i386/crt0.c -o gcrt0.o
cc -O -m486 -pipe -DLIBC_SCCS -fno-omit-frame-pointer   -c -DCRT0 /home/k5/tmp/src/lib/csu/i386/crt0.c -o scrt0.o
cc -O -m486 -pipe -DLIBC_SCCS -fno-omit-frame-pointer   -c -DMCRT0 /home/k5/tmp/src/lib/csu/i386/crt0.c -o sgcrt0.o
$ 

-- 
FUJISHIMA Satsuki


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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