Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!ames!enews.sgi.com!super.zippo.com!zdc!su-news-hub1.bbnplanet.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!rill.news.pipex.net!pipex!dispatch.news.demon.net!demon!news.nacamar.de!uunet!in2.uu.net!38.8.16.2!psinntp!news.nstn.ca!ts2-08.knt.istar.ca!user From: "Christian Taylor" <ctaylor@fox.nstn.ca> Newsgroups: comp.unix.bsd.netbsd.misc Subject: C++ Exceptions Date: Tue, 18 Mar 1997 08:00:01 -0400 Organization: Nova Scotia Technology Network Message-ID: <ctaylor-1803970800010001@ts2-08.knt.istar.ca> NNTP-Posting-Host: ts2-08.knt.istar.ca X-Newsreader: Microsoft Internet Mail and News for Macintosh - 1.1 (34) Lines: 25 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.netbsd.misc:5651 Hi everyone... I have a problem with C++ exceptions under NetBSD. The code I have works perfectly under Solaris, but it won't link under NetBSD. The errors reported seem to be about exceptions, so I think I'm missing a library or something. The error output is as follows: /var/tmp/cc0052051.o: Undefined symbol ^___register_exceptions' referenced from text segment /var/tmp/cc0052051.o: Undefined symbol ^___find_first_exception_table_match' referenced from text segment /var/tmp/cc0052051.o: Undefined symbol ^___unwind_function' referenced from text segment *** Error code 1 Stop. I don't think there's any problems at all with my NetBSD or gcc/g++ setup, or my source code or makefile, since this all works find under Solaris. Do I need a certain library for exceptions to work? Thanks! -=Christian=-