ports/java/jdk14 build failure

ports/java/jdk14 build failure

Post by Magnus B{ckstr » Thu, 13 Mar 2003 01:56:00



I'm getting the below failure building the jdk14 port.
System is -CURRENT as of Fri Mar 7, ports were just cvsuped,
the files I have are:
rockerduck# md5 Makefile files/*
MD5 (Makefile) = af28e5befad65837fae02d5fcef3d8ed
MD5 (files/patch-PlainDatagramSocketImpl.c) = 9d9eeef8e032d612477428ecef5a456a
MD5 (files/patch-common::Defs-bsd.gmk) = 3c284ff0a3ee85300a0c7260705ba7cd
MD5 (files/patch-common::Defs.gmk) = 2854e5b1b15a656d4704981a7eb2d693
rockerduck#

Magnus

...
Compiling /foo/ports-cur/ports/java/jdk14/work/hotspot/src/share/vm/opto/opcodes.cpp
Compiling /foo/ports-cur/ports/java/jdk14/work/hotspot/src/share/vm/adlc/output_c.cpp
Compiling /foo/ports-cur/ports/java/jdk14/work/hotspot/src/share/vm/adlc/output_h.cpp
Making adlc
../generated/adfiles/filebuff.o: In function `FileBuffRegion::print(ostream&)':
/foo/ports-cur/ports/java/jdk14/work/hotspot/src/share/vm/adlc/filebuff.cpp:255: undefined reference to `ostream::operator<<(char const*)'
../generated/adfiles/filebuff.o: In function `printline(ostream&, char const*, int, char const*, int, int)':
/foo/ports-cur/ports/java/jdk14/work/hotspot/src/share/vm/adlc/filebuff.cpp:160: undefined reference to `ostream::operator<<(char const*)'
/foo/ports-cur/ports/java/jdk14/work/hotspot/src/share/vm/adlc/filebuff.cpp:160: undefined reference to `ostream::operator<<(char const*)'
/foo/ports-cur/ports/java/jdk14/work/hotspot/src/share/vm/adlc/filebuff.cpp:160: undefined reference to `ostream::operator<<(int)'
/foo/ports-cur/ports/java/jdk14/work/hotspot/src/share/vm/adlc/filebuff.cpp:160: undefined reference to `ostream::operator<<(char const*)'
/foo/ports-cur/ports/java/jdk14/work/hotspot/src/share/vm/adlc/filebuff.cpp:147: undefined reference to `ostream::operator<<(char)'
/foo/ports-cur/ports/java/jdk14/work/hotspot/src/share/vm/adlc/filebuff.cpp:170: undefined reference to `ostream::operator<<(char const*)'
/foo/ports-cur/ports/java/jdk14/work/hotspot/src/share/vm/adlc/filebuff.cpp:170: undefined reference to `ostream::operator<<(char const*)'
/foo/ports-cur/ports/java/jdk14/work/hotspot/src/share/vm/adlc/filebuff.cpp:170: undefined reference to `ostream::operator<<(int)'
/foo/ports-cur/ports/java/jdk14/work/hotspot/src/share/vm/adlc/filebuff.cpp:170: undefined reference to `ostream::operator<<(char const*)'
/foo/ports-cur/ports/java/jdk14/work/hotspot/src/share/vm/adlc/filebuff.cpp:147: undefined reference to `ostream::operator<<(char)'
/foo/ports-cur/ports/java/jdk14/work/hotspot/src/share/vm/adlc/filebuff.cpp:179: undefined reference to `ostream::operator<<(char)'
/foo/ports-cur/ports/java/jdk14/work/hotspot/src/share/vm/adlc/filebuff.cpp:147: undefined reference to `ostream::operator<<(char)'
/foo/ports-cur/ports/java/jdk14/work/hotspot/src/share/vm/adlc/filebuff.cpp:191: undefined reference to `ostream::operator<<(char)'
/foo/ports-cur/ports/java/jdk14/work/hotspot/src/share/vm/adlc/filebuff.cpp:144: undefined reference to `ostream::operator<<(char)'
../generated/adfiles/filebuff.o:/foo/ports-cur/ports/java/jdk14/work/hotspot/src/share/vm/adlc/filebuff.cpp:147: more undefined references to `ostream::operator<<(char)' follow
gmake[3]: *** [../generated/adfiles/adlc] Error 1
gmake[3]: Leaving directory `/foo/ports-cur/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product'
gmake[2]: *** [ad_stuff] Error 2
gmake[2]: Leaving directory `/foo/ports-cur/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product'
gmake[1]: *** [product] Error 2
gmake[1]: Leaving directory `/foo/ports-cur/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp'
gmake: *** [product] Error 2
*** Error code 2

Stop in /foo/ports-cur/ports/java/jdk14.


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

 
 
 

ports/java/jdk14 build failure

Post by Brent Vern » Thu, 13 Mar 2003 02:31:54


[2003-03-11 17:56] Magnus B{ckstr|m said:
| I'm getting the below failure building the jdk14 port.
| System is -CURRENT as of Fri Mar 7, ports were just cvsuped,

| ../generated/adfiles/filebuff.o:/foo/ports-cur/ports/java/jdk14/work/hotspot/src/share/vm/adlc/filebuff.cpp:147: more undefined references to `ostream::operator<<(char)' follow
| gmake[3]: *** [../generated/adfiles/adlc] Error 1

  I had this same problem....  The simple answer is that you
(still) have the old g++ headers in /usr/include/.  You need
to delete all g++ headers from /usr/include, the reinstall
world.  See /usr/src/UPDATING for more details.

  b

--
"Develop your talent, man, and leave the world something. Records are
really gifts from people. To think that an artist would love you enough
to share his music with anyone is a beautiful thing."  -- Duane Allman


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

 
 
 

ports/java/jdk14 build failure

Post by Magnus B{ckstr » Thu, 13 Mar 2003 03:26:40



> [2003-03-11 17:56] Magnus B{ckstr|m said:
> | I'm getting the below failure building the jdk14 port.

>   I had this same problem....  The simple answer is that you
> (still) have the old g++ headers in /usr/include/.  You need
> to delete all g++ headers from /usr/include, the reinstall
> world.  See /usr/src/UPDATING for more details.

Duh!  Thanks :-)

Magnus


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. Future Domain MCS700 SCSI Controller and Linux?

3. Yet another problem building /usr/ports/java/jdk14

4. Xfree 4.0 installalation ?

5. java/50729: java/jdk14: broken java.net.NetworkInterface calls

6. Good select()/multiplex example ?

7. Deskjet 600

8. build failure of jdk14 on 5.0 current

9. Fwd: cvs commit: ports/java/linux-sun-jdk14 Makefile

10. [phantom@FreeBSD.org: cvs commit: ports/java/jdk14/files patch-common::Defs.gmk]

11. /usr/ports/java/jdk14 -> LIBC_R TEST FAILED: libc_r update required