Building on ubuntu 8.04

Roman Kennke roman.kennke at aicas.com
Wed May 14 20:05:23 UTC 2008


Also, maybe you simply forgot make clean after you fixed your shell?

/Roman

Am Mittwoch, den 14.05.2008, 12:56 -0700 schrieb Brad Wetmore:
> I think you've got a problem still with your sh setup, or possibly 
> something else.  IIRC, the ?replType? variables is supposed to be 
> replaced with various values depending on whether you have an encoder or 
> decoder.  (sed/awk preprocessing = a Javaman's #ifdef equivalent)  It's 
> done a similar way for the {Byte,Char,Int...}Buffers.
> 
> Check jdk/make/java/nio, specifically Makefile, spp.sh, and genCoder.sh
> 
> Hope this helps.
> 
> Brad
> 
> 
> Bram Somers wrote:
> > Dear all,
> > 
> > I've tried building jdk7 on Ubuntu 8.04. I'm aware of the problems with 
> > sh/dash and I remove sh and made a symlink of sh to bash, so normally I 
> > shouldn't get this error anymore:
> > 
> > jdk7/build/openjdk_full_debug/gensrc/java/nio/charset/CharsetEncoder.java:142: 
> > cannot find symbol
> > symbol  : class $replType$
> > location: class java.nio.charset.CharsetEncoder
> >    private $replType$ replacement;
> >            ^
> > /home/bsomers/workspaces/openjdk/jdk7/build/openjdk_full_debug/gensrc/java/nio/charset/CharsetEncoder.java:185: 
> > cannot find symbol
> > symbol  : class $replType$
> > location: class java.nio.charset.CharsetEncoder
> >                   $replType$ replacement)
> >                   ^
> > /home/bsomers/workspaces/openjdk/jdk7/build/openjdk_full_debug/gensrc/java/nio/charset/CharsetEncoder.java:246: 
> > cannot find symbol
> > symbol  : class $replType$
> > location: class java.nio.charset.CharsetEncoder
> >    public final $replType$ replacement() {
> >                 ^
> > /home/bsomers/workspaces/openjdk/jdk7/build/openjdk_full_debug/gensrc/java/nio/charset/CharsetEncoder.java:275: 
> > cannot find symbol
> > symbol  : class $replType$
> > location: class java.nio.charset.CharsetEncoder
> >    public final CharsetEncoder replaceWith($replType$ newReplacement) {
> >                                            ^
> > /home/bsomers/workspaces/openjdk/jdk7/build/openjdk_full_debug/gensrc/java/nio/charset/CharsetEncoder.java:301: 
> > cannot find symbol
> > symbol  : class $replType$
> > location: class java.nio.charset.CharsetEncoder
> >    protected void implReplaceWith($replType$ newReplacement) {
> >                                   ^
> > Note: Some input files use or override a deprecated API.
> > Note: Recompile with -Xlint:deprecation for details.
> > Note: Some input files use unchecked or unsafe operations.
> > Note: Recompile with -Xlint:unchecked for details.
> > 5 errors
> > 
> > 
> > Any more suggestions?
> > 
> > Thanks in advance,
> > 
> > kind regards,
> > 
> > Bram
-- 
Dipl.-Inform. (FH) Roman Kennke, Software Engineer, http://kennke.org
aicas Allerton Interworks Computer Automated Systems GmbH
Haid-und-Neu-Straße 18 * D-76131 Karlsruhe * Germany
http://www.aicas.com   * Tel: +49-721-663 968-0
USt-Id: DE216375633, Handelsregister HRB 109481, AG Karlsruhe
Geschäftsführer: Dr. James J. Hunt




More information about the build-dev mailing list