Java 1.3.1_p7-2 builds on -current but fails to run

Java 1.3.1_p7-2 builds on -current but fails to run

Post by Greg Lew » Fri, 22 Nov 2002 14:04:16




> World was yesterday. Compiled jdk13 today and it finished sucessfully.
> However when running there is an error:
> /usr/libexec/ld-elf.so.1: /usr/local/jdk1.3.1/jre/lib/i386/native_threads/libhpi
> .so: Undefined symbol "sem_wait"

> Anything I've missed?

No idea, I don't have a -CURRENT box to test things on.  I'd look at recent
changes involving sem_wait, or at least try and locate what library its
currently defined in.

--

Eyes Beyond                         Web     : http://www.eyesbeyond.com


with "unsubscribe freebsd-java" in the body of the message

 
 
 

Java 1.3.1_p7-2 builds on -current but fails to run

Post by J » Fri, 22 Nov 2002 14:59:11



> > /usr/libexec/ld-elf.so.1: /usr/local/jdk1.3.1/jre/lib/i386/native_threads/libhpi
> > .so: Undefined symbol "sem_wait"

> > Anything I've missed?

> No idea, I don't have a -CURRENT box to test things on.  I'd look at recent
> changes involving sem_wait, or at least try and locate what library its
> currently defined in.

It's defined in /usr/include/semaphore.h, how do I find out which library it is defined in? I suppose it might be some linker error.

JY


with "unsubscribe freebsd-java" in the body of the message

 
 
 

Java 1.3.1_p7-2 builds on -current but fails to run

Post by Greg Lew » Fri, 22 Nov 2002 15:32:16




> > > /usr/libexec/ld-elf.so.1: /usr/local/jdk1.3.1/jre/lib/i386/native_threads/libhpi
> > > .so: Undefined symbol "sem_wait"

> > > Anything I've missed?

> > No idea, I don't have a -CURRENT box to test things on.  I'd look at recent
> > changes involving sem_wait, or at least try and locate what library its
> > currently defined in.
> It's defined in /usr/include/semaphore.h, how do I find out which library it is defined in? I suppose it might be some linker error.

No, I mean the symbol definition, not the function prototype :).  You
should be able to find out what library its in with nm(1).

--

Eyes Beyond                         Web     : http://www.eyesbeyond.com


with "unsubscribe freebsd-java" in the body of the message

 
 
 

1. fail to build ports/java/jdk14 on 5-current

--LZvS9be/3tNcYl/X
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

I've installed ports/java/linux-sun-jdk14, and I want to install jdk14
but it fails :<

Is this a known problem, or am I missing something ?
here's my error message

===>  Applying FreeBSD patches for jdk-nodebug-1.4.1p3_3
===>   jdk-nodebug-1.4.1p3_3 depends on executable: gm4 - found
===>   jdk-nodebug-1.4.1p3_3 depends on executable: zip - found
===>   jdk-nodebug-1.4.1p3_3 depends on file: /usr/X11R6/lib/libXm.so - found
===>   jdk-nodebug-1.4.1p3_3 depends on file:
/usr/local/linux-sun-jdk1.4.1/bin/javac - found
===>   jdk-nodebug-1.4.1p3_3 depends on executable: gmake - found
===>  Configuring for jdk-nodebug-1.4.1p3_3
===>  Building for jdk-nodebug-1.4.1p3_3
# Start of jdk build
bsd i586 1.4.1-p3 build started: 03-06-25 15:54
Syntax error: "(" unexpected
gmake[1]: Entering directory `/usr/ports/java/jdk14/work/j2se/make'
[: -ne: unexpected operator
gmake[1]: *** No rule to make target `6_2003_15_54'.  Stop.
gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make'
gmake: *** [j2se-sanity] Error 2
*** Error code 2

Stop in /usr/ports/java/jdk14.

--
Pi seconds is a nanocentury.
                                        --- Tom Duff

--LZvS9be/3tNcYl/X
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE++VY6rMYBZRHAI4IRAqHJAKDHtrEeZ/YqqhVuxkNoDkSuHDKd7ACfa/Tl
rNjj5+rZqB8+KoPljSkJ54Y=
=f/ka
-----END PGP SIGNATURE-----

--LZvS9be/3tNcYl/X--

2. Added missing dependencies on CRYPTO_HMAC

3. Java, Java, Java, Java, Java, Java .....

4. CD-RW YAMAHA 4416S Timeout/RH6 Mand.6

5. fail to build java 1.3.1 - problems with patches

6. splitting (subnet) an IP segment into smaller

7. java/35320: linux-jdk-1.4 JVM fails when running Tomcat4 app

8. cannot print with samba

9. java exception when running a java program sending SNMP traps

10. problem running Java Applets on linux - threads: cannot find class java/lang/Thread ????

11. Why is java so slow on a SPARC 10/30 running Java 1.2

12. invalid ELF header when I run build and run bash on Solaris 7.

13. running java and netscape and running out of memory???