home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!wupost!newsfeed.rice.edu!rice!corywest
- From: corywest@is.rice.edu (Cory West)
- Subject: Re: libg++.a problem with Regex.o
- In-Reply-To: dingbat@diku.dk's message of 8 Jan 93 10:30:50 GMT
- Message-ID: <CORYWEST.93Jan8124821@brazos.is.rice.edu>
- Sender: news@rice.edu (News)
- Organization: Well, none really, but I know where my socks are!
- References: <1993Jan8.103050.18355@odin.diku.dk>
- Date: Fri, 8 Jan 1993 18:48:21 GMT
- Lines: 45
-
- In article <1993Jan8.103050.18355@odin.diku.dk> dingbat@diku.dk
- (Niels Skov Olsen) writes:
-
- > A slight problem with g++ 2.3.3 and the latest libs and the binutils
- > found on the latest hlu base disks.
- > When I compile this program:
- [...]
- > ld gives me these errors:
- > Undefined symbol re_compile_pattern(const char *, int, re_pattern_buffer *)
- [...]
- > I have checked that these symbols are in fact in libg++.a with nm.
-
- This is the same question that I have been asking without
- much luck, I have two suspicions and I'm not sure which one is
- right. The last time I tried to build libg++ under linux, all of
- it would compile, except for the regex stuff. I believe that the
- 'fix' for it at that point was to leave regex out, but I'm not sure.
- It's quite possible that this is still the case and that regex is
- not in the current libg++ (meaning that Strings are also not usable).
-
- The other possibility is that HJ built libg++ with a cross compiler
- of the DEC. If he is using a compiler older than gcc-2.3.3, then the
- symbol mangling for some virtual class functions has been changed
- and the symbols will not match.
-
- At any rate, here is the fix for both problems: recompile
- libg++ under linux with g++ 2.3.3 and make sure that all parts of
- it compile. This is exactly what I am trying to do, with the inention
- of correcting and problems that still may or may not exist in the
- regex code for linux.
- The problem that I am having is that the (!#$@#$) configuration
- setup for libg++-2.3 doesn't seem to work with GNU sed 1.09 or GNU sed
- 1.13. I'm building libg++ of a sun right now so that I can follow the
- configuration and see what I have to do on the linux machine to get it go
- (I'll be the first to admit that I can't debug cryptic sed statements).
- If anyone would like to send me an alternate version of sed, or point me
- to different linux compatible source (I don't want to port a different sed,
- too), I'd be happy to try it.
-
- I'm in the process of reporting things to Cygnus and the FSF
- and working out what I can to make libg++ more linux friendy. If you
- want to help send me email. I might be able so that I can export an
- NFS partition to someone with the stuff on it.
-
- Cory West
-