This is the mail archive of the
mailing list for the Java project.
Re: instalation problem
- To: cdornan at arm dot com
- Subject: Re: instalation problem
- From: Andrew Haley <aph at pasanda dot cygnus dot co dot uk>
- Date: 10 Apr 2000 15:44:51 -0000
- CC: java-discuss at sourceware dot cygnus dot com
> Date: Mon, 10 Apr 2000 16:18:45 +0100 (BST)
> From: Chris Dornan <email@example.com>
> I am trying to get a fairly vanilla gjc going on Solaris
> (sparc-sun-solaris2.7) but am getting segementation faults as soon as
> it tries to start up the run-time system on a trivial Hello program
The SEGV is deliberate. Only if the signal isn't caught is there any
problem. You should continue after you see this signal.
> When I do a clean rebuild with
Try it without threads to begin with.
> it gives me a link error:
> Undefined first referenced
> symbol in file
> sched_yield /export/home/cdornan/gnu/gcc-2.95.2/lib/libgcj.so
This probably means that you have sched_yield in a system header file
but you don't have it in the libraries you're linking with.
You may either comment out this:
./include/posix-threads.h: sched_yield ();
./include/posix-threads.h-#endif /* HAVE_SCHED_YIELD */
or find out which library contains sched_yield and link with it.