Re: building netscape plugins

2000-02-24 Thread Aleksandr A.Babaylov

Alan Batie writes:
 Has anyone built a plugin for Netscape?  I just downloaded 4.72 and
 sdk30b5 and built the UnixTemplate "nptemplate.so" on 3.3-RELEASE.
 When I go to Help/About Plugins, netscape complains that it has a bad
 magic number.  It's the FreeBSD netscape, but I tried "brandelf"ing it
 to Linux in case it wanted a Linux number or something weird, but that
 didn't help.
Netscape for FreeBSD is in aout format, so you must
build plugins in aout format too

-- 
@BABOLO  http://links.ru/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: building netscape plugins

2000-02-24 Thread Alan Batie

On Thu, Feb 24, 2000 at 05:07:48PM +0300, Aleksandr A.Babaylov wrote:
 Netscape for FreeBSD is in aout format, so you must
 build plugins in aout format too

OK, a little tweaking to the makefile and I get:

ld: c++rt0.o: No such file or directory

after a variety of efforts, I found that I had to add -aout to the
CFLAGS and LD lines in /usr/src/lib/csu/i386/Makefile and make install
to get the a.out .o's.  With that, it's working.  Thanks!

-- 
Alan Batie   __www.rdrop.com/users/batie Me
[EMAIL PROTECTED]\/www.qrd.org The Triangle
PGPFP DE 3C 29 17 C0 49 7A\  / www.pgpi.com   The Weird Numbers
27 40 A5 3C 37 4A DA 52 B9 \/  www.anti-spam.net   NO SPAM!

 PGP signature