Subject: C++ Exceptions
To: None <netbsd-help@NetBSD.ORG>
From: Christian Taylor <ctaylor@fox.nstn.ca>
List: netbsd-help
Date: 03/18/1997 08:02:53
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=-

--
+---------------------+----------------------------------------------+
|  Christian Taylor   |  personal email:    ctaylor@fox.nstn.ca      |
+---------------------+----------------------------------------------+
| Web Programming Assistant        work: christian.taylor@acadiau.ca |
| Acadia University          other work: chtaylor@dragon.acadiau.ca  |
| Wolfville, NS, Canada                                              |
+--------------------------------------------------------------------+