[Bug 774] How to build from scrach icedtea 1.10.3/openjdk 1.6.0_b22 on Slack
bugzilla-daemon at icedtea.classpath.org
bugzilla-daemon at icedtea.classpath.org
Sun Jan 8 12:21:58 PST 2012
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=774
Robert Gabriel <robert at linux-source.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |
--- Comment #19 from Robert Gabriel <robert at linux-source.org> 2012-01-08 20:21:58 UTC ---
OK after months, I've done it and now icedtea builds, but it fails with this
error:
/tmp/kng/icedtea6-1.10.4/openjdk.build-ecj/tmp/sun/sun.awt.X11/xawt/obj/XlibWrapper.o:
In function `Java_sun_awt_X11_XlibWrapper_PrintXErrorEvent':
/tmp/kng/icedtea6-1.10.4/openjdk-ecj/jdk/make/sun/xawt/../../../src/solaris/native/sun/xawt/XlibWrapper.c:1172:
undefined reference to `jio_fprintf'
/tmp/kng/icedtea6-1.10.4/openjdk-ecj/jdk/make/sun/xawt/../../../src/solaris/native/sun/xawt/XlibWrapper.c:1173:
undefined reference to `jio_snprintf'
/tmp/kng/icedtea6-1.10.4/openjdk-ecj/jdk/make/sun/xawt/../../../src/solaris/native/sun/xawt/XlibWrapper.c:1175:
undefined reference to `jio_fprintf'
/tmp/kng/icedtea6-1.10.4/openjdk-ecj/jdk/make/sun/xawt/../../../src/solaris/native/sun/xawt/XlibWrapper.c:1177:
undefined reference to `jio_fprintf'
/tmp/kng/icedtea6-1.10.4/openjdk.build-ecj/tmp/sun/sun.awt.X11/xawt/obj/awt_GraphicsEnv.o:
In function `xioerror_handler':
/tmp/kng/icedtea6-1.10.4/openjdk-ecj/jdk/make/sun/xawt/../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c:186:
undefined reference to `jio_fprintf'
/tmp/kng/icedtea6-1.10.4/openjdk.build-ecj/tmp/sun/sun.awt.X11/xawt/obj/awt_GraphicsEnv.o:
In function `awt_init_Display':
/tmp/kng/icedtea6-1.10.4/openjdk-ecj/jdk/make/sun/xawt/../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c:850:
undefined reference to `jio_snprintf'
/tmp/kng/icedtea6-1.10.4/openjdk.build-ecj/tmp/sun/sun.awt.X11/xawt/obj/awt_InputMethod.o:
In function `createXIC':
/tmp/kng/icedtea6-1.10.4/openjdk-ecj/jdk/make/sun/xawt/../../../src/solaris/native/sun/awt/awt_InputMethod.c:1050:
undefined reference to `jio_fprintf'
/tmp/kng/icedtea6-1.10.4/openjdk.build-ecj/tmp/sun/sun.awt.X11/xawt/obj/OGLContext.o:
In function `Java_sun_java2d_opengl_OGLContext_getOGLIdString':
/tmp/kng/icedtea6-1.10.4/openjdk-ecj/jdk/make/sun/xawt/../../../src/share/native/sun/java2d/opengl/OGLContext.c:1051:
undefined reference to `jio_snprintf'
/tmp/kng/icedtea6-1.10.4/openjdk.build-ecj/tmp/sun/sun.awt.X11/xawt/obj/awt_Font.o:
In function `loadFont':
/tmp/kng/icedtea6-1.10.4/openjdk-ecj/jdk/make/sun/xawt/../../../src/solaris/native/sun/awt/awt_Font.c:343:
undefined reference to `jio_snprintf'
/tmp/kng/icedtea6-1.10.4/openjdk-ecj/jdk/make/sun/xawt/../../../src/solaris/native/sun/awt/awt_Font.c:359:
undefined reference to `jio_snprintf'
/tmp/kng/icedtea6-1.10.4/openjdk-ecj/jdk/make/sun/xawt/../../../src/solaris/native/sun/awt/awt_Font.c:365:
undefined reference to `jio_snprintf'
/tmp/kng/icedtea6-1.10.4/openjdk-ecj/jdk/make/sun/xawt/../../../src/solaris/native/sun/awt/awt_Font.c:372:
undefined reference to `jio_snprintf'
/tmp/kng/icedtea6-1.10.4/openjdk.build-ecj/tmp/sun/sun.awt.X11/xawt/obj/awt_Font.o:/tmp/kng/icedtea6-1.10.4/openjdk-ecj/jdk/make/sun/xawt/../../../src/solaris/native/sun/awt/awt_Font.c:377:
more undefined references to `jio_snprintf' follow
collect2: ld returned 1 exit status
make[5]: ***
[/tmp/kng/icedtea6-1.10.4/openjdk.build-ecj/lib/i386/xawt/libmawt.so] Error 1
make[5]: Leaving directory
`/tmp/kng/icedtea6-1.10.4/openjdk-ecj/jdk/make/sun/xawt'
make[4]: *** [all] Error 1
make[4]: Leaving directory `/tmp/kng/icedtea6-1.10.4/openjdk-ecj/jdk/make/sun'
make[3]: *** [all] Error 1
make[3]: Leaving directory `/tmp/kng/icedtea6-1.10.4/openjdk-ecj/jdk/make'
make[2]: *** [jdk-build] Error 2
make[2]: Leaving directory `/tmp/kng/icedtea6-1.10.4/openjdk-ecj'
make[1]: *** [build_product_image] Error 2
make[1]: Leaving directory `/tmp/kng/icedtea6-1.10.4/openjdk-ecj'
make: *** [stamps/icedtea-ecj.stamp] Error 2
This is when bootstrap not disabled and if I disable bootstrap then I get this:
WARNING: Your build environment has the variable NO_DOCS
defined. This will result in a development-only
build of the JDK, lacking the documentation
build.
ERROR: Your BOOTDIR environment variable does not point
to a valid JDK for bootstrapping this build.
A JDK 6 Update 22 build must be bootstrapped using
JDK 1.6.0 fcs (or later).
Apparently, your bootstrap JDK is version 1.5
Please update your ALT_BOOTDIR setting and start your build again.
Exiting because of the above error(s).
make[1]: *** [post-sanity] Error 1
make[1]: Leaving directory `/tmp/kng/icedtea6-1.10.4/openjdk'
make: *** [stamps/icedtea.stamp] Error 2
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the distro-pkg-dev
mailing list