*BSD News Article 94249


Return to BSD News archive

Message-ID: <335E5A02.3B54AFBF@primetime.com>
Date: Wed, 23 Apr 1997 14:50:42 -0400
From: Kurt Seel <kseel@primetime.com>
X-Mailer: Mozilla 3.0Gold (X11; I; BSD/OS 2.0 i386)
MIME-Version: 1.0
Newsgroups: comp.lang.tcl,comp.unix.bsd.bsdi.misc
Subject: problem with 'load'able objects in tcl 7.6 on bsdi 2.1
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: gatekeeper.primetime.com
Lines: 26
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!serv.hinet.net!news.uoregon.edu!hammer.uoregon.edu!arclight.uoregon.edu!su-news-hub1.bbnplanet.com!su-news-feed4.bbnplanet.com!news.bbnplanet.com!pigpen.csrlink.net!news-out.microserve.net!news-in.microserve.net!news3.paonline.com!gatekeeper.primetime.com
Xref: euryale.cc.adfa.oz.au comp.lang.tcl:60498 comp.unix.bsd.bsdi.misc:6732

I am able to make some things 'load'able, but not others. i.e. tclbin 
loads and works but postgres (libpgtcl.so) core dumps immedietly. I
cannot use -fPIC at all ... tclbin doesn't need it, nor does the 
example from ftp.sun.com.
 When I try -fPIC (I have gcc 2.7.2.2) stuff like this happens:

gcc -Wall -Wmissing-prototypes -fPIC -DBSD44_derived  -I../include
-I../backend    -c fe-auth.c -o fe-auth.o
fe-auth.c:55:invalid character '[' in first operand
fe-auth.c:59:invalid character '@' in first operand
fe-auth.c:71:invalid character '@' in first operand
fe-auth.c:77:invalid character '@' in first operand

 ... MANY more deleted.

 Exact version of gcc:

> gcc --version
2.7.2.2.f.2

 Gcc compiled and installed 'right out of the box'. I just followed
the numbers.

 I have a project that I need to load things for and we are stopped dead 
in our tracks. If someone can fix this for $$$ we will should talk.
 Thanks in advance.