Jdk-1.5 Openbsd 3.8 port build problem

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Jdk-1.5 Openbsd 3.8 port build problem

Price, Joe
OpenBSD bsdutil.ceccontrols.com 3.8 GENERIC#138 i386

 

Packages installed:

autoconf-2.13p0     automatically configure source code on many Un*x
platforms

autoconf-2.57       automatically configure source code on many Un*x
platforms

autoconf-2.59       automatically configure source code on many Un*x
platforms

bash-3.0.16p1-static GNU Bourne Again Shell

bzip2-1.0.3         block-sorting file compressor, unencumbered

gettext-0.10.40p3   GNU gettext

ghostscript-fonts-6.0 35 standard PostScript fonts with Adobe name
aliases

glib-1.2.10p0       useful routines for C programming

gmake-3.80p1        GNU make

gtar-1.15.1p2       GNU version of the traditional tar archiver

gtk+-1.2.10p3       General Toolkit for X11 GUI

help2man-1.29       GNU help2man

iodbc-2.50.3        ODBC 2.x driver manager

jdk-1.3.1p2         Java2(TM) Standard Edition Dev Kit v1.3.1

jdk-1.4.2p2         Java2(TM) Standard Edition Dev Kit v1.4.2

jdk-linux-1.3.1_15  Java Development Kit for Java 2 Standard Edition 1.3

libiconv-1.9.2p1    character set conversion library

metaauto-0.5        wrapper for gnu auto*

mod_auth_ldap-1.6.0p1 Apache LDAP authentication module

mysql-client-4.0.24 multithreaded SQL database (client)

mysql-server-4.0.24p1 multithreaded SQL database (server)

nmap-3.81           scan ports and fingerprint stack of network hosts

nspr-4.4.1          Netscape Portable Runtime

openldap-client-2.2.27p0 Open source LDAP software (client)

openmotif-2.1.30.5p0 Motif toolkit

p5-DBD-mysql-3.0002 MySQL drivers for the Perl DBI

p5-DBI-1.45p1       unified perl interface for database access

p5-Net-Daemon-0.38  extension for portable daemons

p5-PlRPC-0.2018     module for writing rpc servers and clients

pcre-4.5p1          perl-compatible regular expression library

popt-1.7            getopt(3)-like library with a number of enhancements

redhat_base-8.0p5   Linux compatibility package based on RedHat 8.0

rpm-3.0.6p2         redhat package manager

screen-4.0.2        multi-screen window manager

squid-2.5.STABLE10  WWW and FTP proxy cache and accelerator

tcsh-6.13.00p0-static extended C-shell with many useful features

unzip-5.52          extract, list & test files in a ZIP archive

zip-2.3p0           create/update ZIP files compatible with PKZip(tm)

 

My [abbreviated] output:

 

===>  jdk-1.5.0p1 depends on: gtar-* - found

===>  jdk-1.5.0p1 depends on: zip-* - found

===>  jdk-1.5.0p1 depends on: jdk-1.4* - found

===>  jdk-1.5.0p1 depends on: gmake-3.80p1 - found

===>  jdk-1.5.0p1 depends on: unzip-* - found

===>  jdk-1.5.0p1 depends on: bzip2-* - found

===>  jdk-1.5.0p1 depends on: Xm.2 (openmotif-*) - found

===>  jdk-1.5.0p1 depends on: iconv.2 (libiconv-*) - found

===>  Checking files for jdk-1.5.0p1

`/usr/ports/distfiles/jdk-1_5_0-src-scsl.zip' is up to date.

`/usr/ports/distfiles/jdk-1_5_0-bin-scsl.zip' is up to date.

`/usr/ports/distfiles/bsd-jdk15-patches-1.tar.bz2' is up to date.

>> Checksum OK for jdk-1_5_0-src-scsl.zip. (sha1)

>> Checksum OK for jdk-1_5_0-bin-scsl.zip. (sha1)

>> Checksum OK for bsd-jdk15-patches-1.tar.bz2. (sha1)

===>  Extracting for jdk-1.5.0p1

===>  Patching for jdk-1.5.0p1

===>  Configuring for jdk-1.5.0p1

===>  Building for jdk-1.5.0p1

 

*** WARNING: you may see an error such as

***       virtual memory exhausted

*** when building this package.  If you do you must increase

*** your limits.  See the man page for your shell and look

*** for the 'limit' or 'ulimit' command. You may also want to

*** see the login.conf(5) manual page.

*** Some examples are:

***     csh(1) and tcsh(1): limit datasize <kbytes of memory>

   OUTPUTDIR =
/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/control/build/bsd-i586

 

Build Tool Settings:

   UNIXCOMMAND_PATH = /bin/

   COMPILER_PATH = /usr/bin/

   DEVTOOLS_PATH = /usr/local/bin/

   USRBIN_PATH = /usr/bin/

   MOTIF_DIR = /usr/local

   CC_VER = 3.3.5

   ZIP_VER = 2.3

   PATH =
/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/bin:/usr/bin:/bin:/usr/sbin:/sbin
:/usr/local/bin:/usr/local/bin:/usr/X11R6/bin

   TMPDIR =
/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/control/build/bsd-i586/tmp

 

Build Directives:

   USE_ONLY_BOOTDIR_TOOLS =

   USE_HOTSPOT_INTERPRETER_MODE =

   PEDANTIC =

   DEV_ONLY =

   J2RE_ONLY =

   NO_DOCS =

   NO_IMAGES =

   TOOLS_ONLY =

   INSANE =

   PARALLEL_COMPILES = false

   PARALLEL_COMPILE_JOBS = 2

   FASTDEBUG = false

   INCREMENTAL_BUILD = false

 

Build Platform Settings:

   PLATFORM = bsd

   ARCH = i586

   LIBARCH = i386

   ARCH_FAMILY = i586

   ARCH_DATA_MODEL = 32

   TRUE_PLATFORM = OpenBSD

   OS_VERSION = 3.8

   FREE_SPACE = 2383198

 

GNU Make Settings:

   MAKE = gmake

   MAKE VERSION =

   MAKECMDGOALS = sanity

   MAKEFLAGS =

   SHELL = /bin/sh

 

Target Build Versions:

   JDK_VERSION = 1.5.0

   MILESTONE = p1

   BUILD_NUMBER = _25_nov_2005_17_07

 

External File/Binary Locations:

   HOTSPOT_SERVER_PATH =
/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/control/build/bsd-i586/hotspot-i5
86/server

   HOTSPOT_CLIENT_PATH =
/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/control/build/bsd-i586/hotspot-i5
86/client

   HOTSPOT_IMPORT_PATH =
/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/control/build/bsd-i586/hotspot-i5
86/import

   MOTIF_DIR = /usr/local

   CACERTS_FILE = ./../src/share/lib/security/cacerts

 

Sanity check passed.

(cd  ./../build/bsd-i586/hotspot-i586/tmp; \

  gmake -f
/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot/build/bsd/Makefile
product \

        HOTSPOT_BUILD_VERSION=1.5.0-p1-_25_nov_2005_17_07
GAMMADIR=/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot ; )

gmake[1]: Entering directory
`/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/control/build/bsd-i586/hotspot-i
586/tmp'

if [ `/usr/local/jdk-1.4.2//bin/java -fullversion 2>&1 | grep -c
'1\.[45]'` -eq 0 ] ; then \

  /usr/local/jdk-1.4.2//bin/java -version; \

  echo "*** An XSLT processor (J2SE 1.4.x or newer) is required to
bootstrap this build"; \

  exit 1; \

fi

sh
/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot/build/bsd/makefiles/build
ATree.sh compiler2 /usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot bsd
i486

(cd bsd_i486_compiler2/product; gmake)

gmake[2]: Entering directory
`/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/control/build/bsd-i586/hotspot-i
586/tmp/bsd_i486_compiler2/product'

gmake[3]: Entering directory
`/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/control/build/bsd-i586/hotspot-i
586/tmp/bsd_i486_compiler2/product'

Making adlc

../generated/adfiles/adlparse.o(.text+0x8075): In function
`ADLParser::find_cpp_block(char const*)':

/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot/src/share/vm/adlc/adlpars
e.cpp:3709: warning: strcpy() is almost always misused, please use
strlcpy()

../generated/adfiles/adlparse.o(.text+0x267b): In function
`ADLParser::enc_class_parse()':

/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot/src/share/vm/adlc/adlpars
e.cpp:824: warning: sprintf() is often misused, please use snprintf()

../generated/adfiles/adlparse.o(.text+0x8081): In function
`ADLParser::find_cpp_block(char const*)':

/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot/src/share/vm/adlc/adlpars
e.cpp:3710: warning: strcat() is almost always misused, please use
strlcat()

../generated/adfiles/filebuff.o(.text+0x623): In function `expandtab':

/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuf
f.cpp:144: undefined reference to `ostream::operator<<(char)'

../generated/adfiles/filebuff.o(.text+0x640):/usr/ports/devel/jdk/1.5/w-
jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuff.cpp:147: undefined
reference to `ostream::operator<<(char)'

../generated/adfiles/filebuff.o(.text+0x68e): In function `printline':

/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuf
f.cpp:160: undefined reference to `ostream::operator<<(char const*)'

../generated/adfiles/filebuff.o(.text+0x697):/usr/ports/devel/jdk/1.5/w-
jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuff.cpp:160: undefined
reference to `ostream::operator<<(char const*)'

../generated/adfiles/filebuff.o(.text+0x6a0):/usr/ports/devel/jdk/1.5/w-
jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuff.cpp:160: undefined
reference to `ostream::operator<<(int)'

../generated/adfiles/filebuff.o(.text+0x6a9):/usr/ports/devel/jdk/1.5/w-
jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuff.cpp:160: undefined
reference to `ostream::operator<<(char const*)'

../generated/adfiles/filebuff.o(.text+0x711):/usr/ports/devel/jdk/1.5/w-
jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuff.cpp:170: undefined
reference to `ostream::operator<<(char const*)'

../generated/adfiles/filebuff.o(.text+0x71a):/usr/ports/devel/jdk/1.5/w-
jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuff.cpp:170: undefined
reference to `ostream::operator<<(char const*)'

../generated/adfiles/filebuff.o(.text+0x723):/usr/ports/devel/jdk/1.5/w-
jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuff.cpp:170: undefined
reference to `ostream::operator<<(int)'

../generated/adfiles/filebuff.o(.text+0x72c):/usr/ports/devel/jdk/1.5/w-
jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuff.cpp:170: undefined
reference to `ostream::operator<<(char const*)'

../generated/adfiles/filebuff.o(.text+0x775):/usr/ports/devel/jdk/1.5/w-
jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuff.cpp:179: undefined
reference to `ostream::operator<<(char)'

../generated/adfiles/filebuff.o(.text+0x7d8):/usr/ports/devel/jdk/1.5/w-
jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuff.cpp:191: undefined
reference to `ostream::operator<<(char)'

../generated/adfiles/filebuff.o(.text+0x829):/usr/ports/devel/jdk/1.5/w-
jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuff.cpp:200: undefined
reference to `ostream::operator<<(char)'

../generated/adfiles/filebuff.o(.text+0x839):/usr/ports/devel/jdk/1.5/w-
jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuff.cpp:201: undefined
reference to `ostream::operator<<(char)'

../generated/adfiles/filebuff.o(.text+0x9c9): In function
`FileBuffRegion::print(ostream&)':

/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuf
f.cpp:255: undefined reference to `ostream::operator<<(char const*)'

collect2: ld returned 1 exit status

gmake[3]: *** [../generated/adfiles/adlc] Error 1

gmake[3]: Leaving directory
`/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/control/build/bsd-i586/hotspot-i
586/tmp/bsd_i486_compiler2/product'

gmake[2]: *** [ad_stuff] Error 2

gmake[2]: Leaving directory
`/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/control/build/bsd-i586/hotspot-i
586/tmp/bsd_i486_compiler2/product'

gmake[1]: *** [product] Error 2

gmake[1]: Leaving directory
`/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/control/build/bsd-i586/hotspot-i
586/tmp'

gmake: *** [product] Error 2

*** Error code 2

 

Stop in /usr/ports/devel/jdk/1.5 (line 1807 of
/usr/ports/infrastructure/mk/bsd.port.mk).

 

Reply | Threaded
Open this post in threaded view
|

Re: Jdk-1.5 Openbsd 3.8 port build problem

Kurt Miller-3
Did not not get my reply to this question when you sent it to
me directly?

Was this box upgraded from 3.6 or before and

rm -rf /usr/include/g++

not done durring the upgrade?
(see http://www.openbsd.org/faq/upgrade37.html)

It looks like your c++ headers are screwed.
Does building something like mozilla work?

-Kurt

On Monday 28 November 2005 03:54 pm, Price, Joe wrote:

> OpenBSD bsdutil.ceccontrols.com 3.8 GENERIC#138 i386
>
>
>
> Packages installed:
>
> autoconf-2.13p0     automatically configure source code on many Un*x
> platforms
>
> autoconf-2.57       automatically configure source code on many Un*x
> platforms
>
> autoconf-2.59       automatically configure source code on many Un*x
> platforms
>
> bash-3.0.16p1-static GNU Bourne Again Shell
>
> bzip2-1.0.3         block-sorting file compressor, unencumbered
>
> gettext-0.10.40p3   GNU gettext
>
> ghostscript-fonts-6.0 35 standard PostScript fonts with Adobe name
> aliases
>
> glib-1.2.10p0       useful routines for C programming
>
> gmake-3.80p1        GNU make
>
> gtar-1.15.1p2       GNU version of the traditional tar archiver
>
> gtk+-1.2.10p3       General Toolkit for X11 GUI
>
> help2man-1.29       GNU help2man
>
> iodbc-2.50.3        ODBC 2.x driver manager
>
> jdk-1.3.1p2         Java2(TM) Standard Edition Dev Kit v1.3.1
>
> jdk-1.4.2p2         Java2(TM) Standard Edition Dev Kit v1.4.2
>
> jdk-linux-1.3.1_15  Java Development Kit for Java 2 Standard Edition
> 1.3
>
> libiconv-1.9.2p1    character set conversion library
>
> metaauto-0.5        wrapper for gnu auto*
>
> mod_auth_ldap-1.6.0p1 Apache LDAP authentication module
>
> mysql-client-4.0.24 multithreaded SQL database (client)
>
> mysql-server-4.0.24p1 multithreaded SQL database (server)
>
> nmap-3.81           scan ports and fingerprint stack of network hosts
>
> nspr-4.4.1          Netscape Portable Runtime
>
> openldap-client-2.2.27p0 Open source LDAP software (client)
>
> openmotif-2.1.30.5p0 Motif toolkit
>
> p5-DBD-mysql-3.0002 MySQL drivers for the Perl DBI
>
> p5-DBI-1.45p1       unified perl interface for database access
>
> p5-Net-Daemon-0.38  extension for portable daemons
>
> p5-PlRPC-0.2018     module for writing rpc servers and clients
>
> pcre-4.5p1          perl-compatible regular expression library
>
> popt-1.7            getopt(3)-like library with a number of
> enhancements
>
> redhat_base-8.0p5   Linux compatibility package based on RedHat 8.0
>
> rpm-3.0.6p2         redhat package manager
>
> screen-4.0.2        multi-screen window manager
>
> squid-2.5.STABLE10  WWW and FTP proxy cache and accelerator
>
> tcsh-6.13.00p0-static extended C-shell with many useful features
>
> unzip-5.52          extract, list & test files in a ZIP archive
>
> zip-2.3p0           create/update ZIP files compatible with PKZip(tm)
>
>
>
> My [abbreviated] output:
>
>
>
> ===>  jdk-1.5.0p1 depends on: gtar-* - found
>
> ===>  jdk-1.5.0p1 depends on: zip-* - found
>
> ===>  jdk-1.5.0p1 depends on: jdk-1.4* - found
>
> ===>  jdk-1.5.0p1 depends on: gmake-3.80p1 - found
>
> ===>  jdk-1.5.0p1 depends on: unzip-* - found
>
> ===>  jdk-1.5.0p1 depends on: bzip2-* - found
>
> ===>  jdk-1.5.0p1 depends on: Xm.2 (openmotif-*) - found
>
> ===>  jdk-1.5.0p1 depends on: iconv.2 (libiconv-*) - found
>
> ===>  Checking files for jdk-1.5.0p1
>
> `/usr/ports/distfiles/jdk-1_5_0-src-scsl.zip' is up to date.
>
> `/usr/ports/distfiles/jdk-1_5_0-bin-scsl.zip' is up to date.
>
> `/usr/ports/distfiles/bsd-jdk15-patches-1.tar.bz2' is up to date.
>
> >> Checksum OK for jdk-1_5_0-src-scsl.zip. (sha1)
> >>
> >> Checksum OK for jdk-1_5_0-bin-scsl.zip. (sha1)
> >>
> >> Checksum OK for bsd-jdk15-patches-1.tar.bz2. (sha1)
>
> ===>  Extracting for jdk-1.5.0p1
>
> ===>  Patching for jdk-1.5.0p1
>
> ===>  Configuring for jdk-1.5.0p1
>
> ===>  Building for jdk-1.5.0p1
>
>
>
> *** WARNING: you may see an error such as
>
> ***       virtual memory exhausted
>
> *** when building this package.  If you do you must increase
>
> *** your limits.  See the man page for your shell and look
>
> *** for the 'limit' or 'ulimit' command. You may also want to
>
> *** see the login.conf(5) manual page.
>
> *** Some examples are:
>
> ***     csh(1) and tcsh(1): limit datasize <kbytes of memory>
>
>    OUTPUTDIR =
> /usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/control/build/bsd-i586
>
>
>
> Build Tool Settings:
>
>    UNIXCOMMAND_PATH = /bin/
>
>    COMPILER_PATH = /usr/bin/
>
>    DEVTOOLS_PATH = /usr/local/bin/
>
>    USRBIN_PATH = /usr/bin/
>
>    MOTIF_DIR = /usr/local
>
>    CC_VER = 3.3.5
>
>    ZIP_VER = 2.3
>
>    PATH =
> /usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/bin:/usr/bin:/bin:/usr/sbin:/s
>bin
>
> :/usr/local/bin:/usr/local/bin:/usr/X11R6/bin
>
>    TMPDIR =
> /usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/control/build/bsd-i586/tmp
>
>
>
> Build Directives:
>
>    USE_ONLY_BOOTDIR_TOOLS =
>
>    USE_HOTSPOT_INTERPRETER_MODE =
>
>    PEDANTIC =
>
>    DEV_ONLY =
>
>    J2RE_ONLY =
>
>    NO_DOCS =
>
>    NO_IMAGES =
>
>    TOOLS_ONLY =
>
>    INSANE =
>
>    PARALLEL_COMPILES = false
>
>    PARALLEL_COMPILE_JOBS = 2
>
>    FASTDEBUG = false
>
>    INCREMENTAL_BUILD = false
>
>
>
> Build Platform Settings:
>
>    PLATFORM = bsd
>
>    ARCH = i586
>
>    LIBARCH = i386
>
>    ARCH_FAMILY = i586
>
>    ARCH_DATA_MODEL = 32
>
>    TRUE_PLATFORM = OpenBSD
>
>    OS_VERSION = 3.8
>
>    FREE_SPACE = 2383198
>
>
>
> GNU Make Settings:
>
>    MAKE = gmake
>
>    MAKE VERSION =
>
>    MAKECMDGOALS = sanity
>
>    MAKEFLAGS =
>
>    SHELL = /bin/sh
>
>
>
> Target Build Versions:
>
>    JDK_VERSION = 1.5.0
>
>    MILESTONE = p1
>
>    BUILD_NUMBER = _25_nov_2005_17_07
>
>
>
> External File/Binary Locations:
>
>    HOTSPOT_SERVER_PATH =
> /usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/control/build/bsd-i586/hotspot
>-i5 86/server
>
>    HOTSPOT_CLIENT_PATH =
> /usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/control/build/bsd-i586/hotspot
>-i5 86/client
>
>    HOTSPOT_IMPORT_PATH =
> /usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/control/build/bsd-i586/hotspot
>-i5 86/import
>
>    MOTIF_DIR = /usr/local
>
>    CACERTS_FILE = ./../src/share/lib/security/cacerts
>
>
>
> Sanity check passed.
>
> (cd  ./../build/bsd-i586/hotspot-i586/tmp; \
>
>   gmake -f
> /usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot/build/bsd/Makefile
> product \
>
>         HOTSPOT_BUILD_VERSION=1.5.0-p1-_25_nov_2005_17_07
> GAMMADIR=/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot ; )
>
> gmake[1]: Entering directory
> `/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/control/build/bsd-i586/hotspo
>t-i 586/tmp'
>
> if [ `/usr/local/jdk-1.4.2//bin/java -fullversion 2>&1 | grep -c
> '1\.[45]'` -eq 0 ] ; then \
>
>   /usr/local/jdk-1.4.2//bin/java -version; \
>
>   echo "*** An XSLT processor (J2SE 1.4.x or newer) is required to
> bootstrap this build"; \
>
>   exit 1; \
>
> fi
>
> sh
> /usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot/build/bsd/makefiles/bu
>ild ATree.sh compiler2 /usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot
> bsd i486
>
> (cd bsd_i486_compiler2/product; gmake)
>
> gmake[2]: Entering directory
> `/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/control/build/bsd-i586/hotspo
>t-i 586/tmp/bsd_i486_compiler2/product'
>
> gmake[3]: Entering directory
> `/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/control/build/bsd-i586/hotspo
>t-i 586/tmp/bsd_i486_compiler2/product'
>
> Making adlc
>
> ../generated/adfiles/adlparse.o(.text+0x8075): In function
> `ADLParser::find_cpp_block(char const*)':
>
> /usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot/src/share/vm/adlc/adlp
>ars e.cpp:3709: warning: strcpy() is almost always misused, please use
> strlcpy()
>
> ../generated/adfiles/adlparse.o(.text+0x267b): In function
> `ADLParser::enc_class_parse()':
>
> /usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot/src/share/vm/adlc/adlp
>ars e.cpp:824: warning: sprintf() is often misused, please use
> snprintf()
>
> ../generated/adfiles/adlparse.o(.text+0x8081): In function
> `ADLParser::find_cpp_block(char const*)':
>
> /usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot/src/share/vm/adlc/adlp
>ars e.cpp:3710: warning: strcat() is almost always misused, please use
> strlcat()
>
> ../generated/adfiles/filebuff.o(.text+0x623): In function
> `expandtab':
>
> /usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot/src/share/vm/adlc/file
>buf f.cpp:144: undefined reference to `ostream::operator<<(char)'
>
> ../generated/adfiles/filebuff.o(.text+0x640):/usr/ports/devel/jdk/1.5
>/w- jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuff.cpp:147: undefined
> reference to `ostream::operator<<(char)'
>
> ../generated/adfiles/filebuff.o(.text+0x68e): In function
> `printline':
>
> /usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot/src/share/vm/adlc/file
>buf f.cpp:160: undefined reference to `ostream::operator<<(char
> const*)'
>
> ../generated/adfiles/filebuff.o(.text+0x697):/usr/ports/devel/jdk/1.5
>/w- jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuff.cpp:160: undefined
> reference to `ostream::operator<<(char const*)'
>
> ../generated/adfiles/filebuff.o(.text+0x6a0):/usr/ports/devel/jdk/1.5
>/w- jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuff.cpp:160: undefined
> reference to `ostream::operator<<(int)'
>
> ../generated/adfiles/filebuff.o(.text+0x6a9):/usr/ports/devel/jdk/1.5
>/w- jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuff.cpp:160: undefined
> reference to `ostream::operator<<(char const*)'
>
> ../generated/adfiles/filebuff.o(.text+0x711):/usr/ports/devel/jdk/1.5
>/w- jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuff.cpp:170: undefined
> reference to `ostream::operator<<(char const*)'
>
> ../generated/adfiles/filebuff.o(.text+0x71a):/usr/ports/devel/jdk/1.5
>/w- jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuff.cpp:170: undefined
> reference to `ostream::operator<<(char const*)'
>
> ../generated/adfiles/filebuff.o(.text+0x723):/usr/ports/devel/jdk/1.5
>/w- jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuff.cpp:170: undefined
> reference to `ostream::operator<<(int)'
>
> ../generated/adfiles/filebuff.o(.text+0x72c):/usr/ports/devel/jdk/1.5
>/w- jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuff.cpp:170: undefined
> reference to `ostream::operator<<(char const*)'
>
> ../generated/adfiles/filebuff.o(.text+0x775):/usr/ports/devel/jdk/1.5
>/w- jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuff.cpp:179: undefined
> reference to `ostream::operator<<(char)'
>
> ../generated/adfiles/filebuff.o(.text+0x7d8):/usr/ports/devel/jdk/1.5
>/w- jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuff.cpp:191: undefined
> reference to `ostream::operator<<(char)'
>
> ../generated/adfiles/filebuff.o(.text+0x829):/usr/ports/devel/jdk/1.5
>/w- jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuff.cpp:200: undefined
> reference to `ostream::operator<<(char)'
>
> ../generated/adfiles/filebuff.o(.text+0x839):/usr/ports/devel/jdk/1.5
>/w- jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuff.cpp:201: undefined
> reference to `ostream::operator<<(char)'
>
> ../generated/adfiles/filebuff.o(.text+0x9c9): In function
> `FileBuffRegion::print(ostream&)':
>
> /usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot/src/share/vm/adlc/file
>buf f.cpp:255: undefined reference to `ostream::operator<<(char
> const*)'
>
> collect2: ld returned 1 exit status
>
> gmake[3]: *** [../generated/adfiles/adlc] Error 1
>
> gmake[3]: Leaving directory
> `/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/control/build/bsd-i586/hotspo
>t-i 586/tmp/bsd_i486_compiler2/product'
>
> gmake[2]: *** [ad_stuff] Error 2
>
> gmake[2]: Leaving directory
> `/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/control/build/bsd-i586/hotspo
>t-i 586/tmp/bsd_i486_compiler2/product'
>
> gmake[1]: *** [product] Error 2
>
> gmake[1]: Leaving directory
> `/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/control/build/bsd-i586/hotspo
>t-i 586/tmp'
>
> gmake: *** [product] Error 2
>
> *** Error code 2
>
>
>
> Stop in /usr/ports/devel/jdk/1.5 (line 1807 of
> /usr/ports/infrastructure/mk/bsd.port.mk).

Reply | Threaded
Open this post in threaded view
|

Re: Jdk-1.5 Openbsd 3.8 port build problem

Price, Joe
In reply to this post by Price, Joe
I did upgrade, and forgot that step.. I removed that directory,
unfortunately, I get the following now ;)

Any ideas?

# make clean && make

[......]

        writing dependencies file

cd ../generated;   cp includeDB    includeDB.current
cd ../generated;   cp
/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot/build/bsd/platform_i486
platform.current
gmake[3]: Entering directory
`/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/control/build/bsd-i586/hotspot-i
586/tmp/bsd_i486_compiler2/product'
Compiling
/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot/src/share/vm/adlc/adlpars
e.cpp
In file included from
/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot/src/share/vm/adlc/adlpars
e.cpp:11:
/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot/src/share/vm/adlc/adlc.hp
p:15:22: iostream.h: No such file or directory
In file included from
/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot/src/share/vm/adlc/adlc.hp
p:73,
                 from
/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot/src/share/vm/adlc/adlpars
e.cpp:11:
/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuf
f.hpp:11:22: iostream.h: No such file or directory
In file included from
/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot/src/share/vm/adlc/adlc.hp
p:73,
                 from
/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot/src/share/vm/adlc/adlpars
e.cpp:11:
/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuf
f.hpp:81: error: `
   ostream' was not declared in this scope
/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuf
f.hpp:81: error: syntax
   error before `)' token
/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuf
f.hpp:82: error: syntax
   error before `&' token
gmake[3]: *** [../generated/adfiles/adlparse.o] Error 1
gmake[3]: Leaving directory
`/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/control/build/bsd-i586/hotspot-i
586/tmp/bsd_i486_compiler2/product'
gmake[2]: *** [ad_stuff] Error 2
gmake[2]: Leaving directory
`/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/control/build/bsd-i586/hotspot-i
586/tmp/bsd_i486_compiler2/product'
gmake[1]: *** [product] Error 2
gmake[1]: Leaving directory
`/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/control/build/bsd-i586/hotspot-i
586/tmp'
gmake: *** [product] Error 2
*** Error code 2

Stop in /usr/ports/devel/jdk/1.5 (line 1807 of
/usr/ports/infrastructure/mk/bsd.port.mk).

-----Original Message-----
From: Kurt Miller [mailto:[hidden email]]
Sent: Monday, November 28, 2005 4:44 PM
To: Price, Joe
Cc: [hidden email]
Subject: Re: Jdk-1.5 Openbsd 3.8 port build problem

Did not not get my reply to this question when you sent it to
me directly?

Was this box upgraded from 3.6 or before and

rm -rf /usr/include/g++

not done durring the upgrade?
(see http://www.openbsd.org/faq/upgrade37.html)

It looks like your c++ headers are screwed.
Does building something like mozilla work?

-Kurt

On Monday 28 November 2005 03:54 pm, Price, Joe wrote:

> OpenBSD bsdutil.ceccontrols.com 3.8 GENERIC#138 i386
>
>
>
> Packages installed:
>
> autoconf-2.13p0     automatically configure source code on many Un*x
> platforms
>
> autoconf-2.57       automatically configure source code on many Un*x
> platforms
>
> autoconf-2.59       automatically configure source code on many Un*x
> platforms
>
> bash-3.0.16p1-static GNU Bourne Again Shell
>
> bzip2-1.0.3         block-sorting file compressor, unencumbered
>
> gettext-0.10.40p3   GNU gettext
>
> ghostscript-fonts-6.0 35 standard PostScript fonts with Adobe name
> aliases
>
> glib-1.2.10p0       useful routines for C programming
>
> gmake-3.80p1        GNU make
>
> gtar-1.15.1p2       GNU version of the traditional tar archiver
>
> gtk+-1.2.10p3       General Toolkit for X11 GUI
>
> help2man-1.29       GNU help2man
>
> iodbc-2.50.3        ODBC 2.x driver manager
>
> jdk-1.3.1p2         Java2(TM) Standard Edition Dev Kit v1.3.1
>
> jdk-1.4.2p2         Java2(TM) Standard Edition Dev Kit v1.4.2
>
> jdk-linux-1.3.1_15  Java Development Kit for Java 2 Standard Edition
> 1.3
>
> libiconv-1.9.2p1    character set conversion library
>
> metaauto-0.5        wrapper for gnu auto*
>
> mod_auth_ldap-1.6.0p1 Apache LDAP authentication module
>
> mysql-client-4.0.24 multithreaded SQL database (client)
>
> mysql-server-4.0.24p1 multithreaded SQL database (server)
>
> nmap-3.81           scan ports and fingerprint stack of network hosts
>
> nspr-4.4.1          Netscape Portable Runtime
>
> openldap-client-2.2.27p0 Open source LDAP software (client)
>
> openmotif-2.1.30.5p0 Motif toolkit
>
> p5-DBD-mysql-3.0002 MySQL drivers for the Perl DBI
>
> p5-DBI-1.45p1       unified perl interface for database access
>
> p5-Net-Daemon-0.38  extension for portable daemons
>
> p5-PlRPC-0.2018     module for writing rpc servers and clients
>
> pcre-4.5p1          perl-compatible regular expression library
>
> popt-1.7            getopt(3)-like library with a number of
> enhancements
>
> redhat_base-8.0p5   Linux compatibility package based on RedHat 8.0
>
> rpm-3.0.6p2         redhat package manager
>
> screen-4.0.2        multi-screen window manager
>
> squid-2.5.STABLE10  WWW and FTP proxy cache and accelerator
>
> tcsh-6.13.00p0-static extended C-shell with many useful features
>
> unzip-5.52          extract, list & test files in a ZIP archive
>
> zip-2.3p0           create/update ZIP files compatible with PKZip(tm)
>
>
>
> My [abbreviated] output:
>
>
>
> ===>  jdk-1.5.0p1 depends on: gtar-* - found
>
> ===>  jdk-1.5.0p1 depends on: zip-* - found
>
> ===>  jdk-1.5.0p1 depends on: jdk-1.4* - found
>
> ===>  jdk-1.5.0p1 depends on: gmake-3.80p1 - found
>
> ===>  jdk-1.5.0p1 depends on: unzip-* - found
>
> ===>  jdk-1.5.0p1 depends on: bzip2-* - found
>
> ===>  jdk-1.5.0p1 depends on: Xm.2 (openmotif-*) - found
>
> ===>  jdk-1.5.0p1 depends on: iconv.2 (libiconv-*) - found
>
> ===>  Checking files for jdk-1.5.0p1
>
> `/usr/ports/distfiles/jdk-1_5_0-src-scsl.zip' is up to date.
>
> `/usr/ports/distfiles/jdk-1_5_0-bin-scsl.zip' is up to date.
>
> `/usr/ports/distfiles/bsd-jdk15-patches-1.tar.bz2' is up to date.
>
> >> Checksum OK for jdk-1_5_0-src-scsl.zip. (sha1)
> >>
> >> Checksum OK for jdk-1_5_0-bin-scsl.zip. (sha1)
> >>
> >> Checksum OK for bsd-jdk15-patches-1.tar.bz2. (sha1)
>
> ===>  Extracting for jdk-1.5.0p1
>
> ===>  Patching for jdk-1.5.0p1
>
> ===>  Configuring for jdk-1.5.0p1
>
> ===>  Building for jdk-1.5.0p1
>
>
>
> *** WARNING: you may see an error such as
>
> ***       virtual memory exhausted
>
> *** when building this package.  If you do you must increase
>
> *** your limits.  See the man page for your shell and look
>
> *** for the 'limit' or 'ulimit' command. You may also want to
>
> *** see the login.conf(5) manual page.
>
> *** Some examples are:
>
> ***     csh(1) and tcsh(1): limit datasize <kbytes of memory>
>
>    OUTPUTDIR =
> /usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/control/build/bsd-i586
>
>
>
> Build Tool Settings:
>
>    UNIXCOMMAND_PATH = /bin/
>
>    COMPILER_PATH = /usr/bin/
>
>    DEVTOOLS_PATH = /usr/local/bin/
>
>    USRBIN_PATH = /usr/bin/
>
>    MOTIF_DIR = /usr/local
>
>    CC_VER = 3.3.5
>
>    ZIP_VER = 2.3
>
>    PATH =
> /usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/bin:/usr/bin:/bin:/usr/sbin:/s
>bin
>
> :/usr/local/bin:/usr/local/bin:/usr/X11R6/bin
>
>    TMPDIR =
> /usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/control/build/bsd-i586/tmp
>
>
>
> Build Directives:
>
>    USE_ONLY_BOOTDIR_TOOLS =
>
>    USE_HOTSPOT_INTERPRETER_MODE =
>
>    PEDANTIC =
>
>    DEV_ONLY =
>
>    J2RE_ONLY =
>
>    NO_DOCS =
>
>    NO_IMAGES =
>
>    TOOLS_ONLY =
>
>    INSANE =
>
>    PARALLEL_COMPILES = false
>
>    PARALLEL_COMPILE_JOBS = 2
>
>    FASTDEBUG = false
>
>    INCREMENTAL_BUILD = false
>
>
>
> Build Platform Settings:
>
>    PLATFORM = bsd
>
>    ARCH = i586
>
>    LIBARCH = i386
>
>    ARCH_FAMILY = i586
>
>    ARCH_DATA_MODEL = 32
>
>    TRUE_PLATFORM = OpenBSD
>
>    OS_VERSION = 3.8
>
>    FREE_SPACE = 2383198
>
>
>
> GNU Make Settings:
>
>    MAKE = gmake
>
>    MAKE VERSION =
>
>    MAKECMDGOALS = sanity
>
>    MAKEFLAGS =
>
>    SHELL = /bin/sh
>
>
>
> Target Build Versions:
>
>    JDK_VERSION = 1.5.0
>
>    MILESTONE = p1
>
>    BUILD_NUMBER = _25_nov_2005_17_07
>
>
>
> External File/Binary Locations:
>
>    HOTSPOT_SERVER_PATH =
> /usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/control/build/bsd-i586/hotspot
>-i5 86/server
>
>    HOTSPOT_CLIENT_PATH =
> /usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/control/build/bsd-i586/hotspot
>-i5 86/client
>
>    HOTSPOT_IMPORT_PATH =
> /usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/control/build/bsd-i586/hotspot
>-i5 86/import
>
>    MOTIF_DIR = /usr/local
>
>    CACERTS_FILE = ./../src/share/lib/security/cacerts
>
>
>
> Sanity check passed.
>
> (cd  ./../build/bsd-i586/hotspot-i586/tmp; \
>
>   gmake -f
> /usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot/build/bsd/Makefile
> product \
>
>         HOTSPOT_BUILD_VERSION=1.5.0-p1-_25_nov_2005_17_07
> GAMMADIR=/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot ; )
>
> gmake[1]: Entering directory
> `/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/control/build/bsd-i586/hotspo
>t-i 586/tmp'
>
> if [ `/usr/local/jdk-1.4.2//bin/java -fullversion 2>&1 | grep -c
> '1\.[45]'` -eq 0 ] ; then \
>
>   /usr/local/jdk-1.4.2//bin/java -version; \
>
>   echo "*** An XSLT processor (J2SE 1.4.x or newer) is required to
> bootstrap this build"; \
>
>   exit 1; \
>
> fi
>
> sh
> /usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot/build/bsd/makefiles/bu
>ild ATree.sh compiler2 /usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot
> bsd i486
>
> (cd bsd_i486_compiler2/product; gmake)
>
> gmake[2]: Entering directory
> `/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/control/build/bsd-i586/hotspo
>t-i 586/tmp/bsd_i486_compiler2/product'
>
> gmake[3]: Entering directory
> `/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/control/build/bsd-i586/hotspo
>t-i 586/tmp/bsd_i486_compiler2/product'
>
> Making adlc
>
> ../generated/adfiles/adlparse.o(.text+0x8075): In function
> `ADLParser::find_cpp_block(char const*)':
>
> /usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot/src/share/vm/adlc/adlp
>ars e.cpp:3709: warning: strcpy() is almost always misused, please use
> strlcpy()
>
> ../generated/adfiles/adlparse.o(.text+0x267b): In function
> `ADLParser::enc_class_parse()':
>
> /usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot/src/share/vm/adlc/adlp
>ars e.cpp:824: warning: sprintf() is often misused, please use
> snprintf()
>
> ../generated/adfiles/adlparse.o(.text+0x8081): In function
> `ADLParser::find_cpp_block(char const*)':
>
> /usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot/src/share/vm/adlc/adlp
>ars e.cpp:3710: warning: strcat() is almost always misused, please use
> strlcat()
>
> ../generated/adfiles/filebuff.o(.text+0x623): In function
> `expandtab':
>
> /usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot/src/share/vm/adlc/file
>buf f.cpp:144: undefined reference to `ostream::operator<<(char)'
>
> ../generated/adfiles/filebuff.o(.text+0x640):/usr/ports/devel/jdk/1.5
>/w- jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuff.cpp:147: undefined
> reference to `ostream::operator<<(char)'
>
> ../generated/adfiles/filebuff.o(.text+0x68e): In function
> `printline':
>
> /usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot/src/share/vm/adlc/file
>buf f.cpp:160: undefined reference to `ostream::operator<<(char
> const*)'
>
> ../generated/adfiles/filebuff.o(.text+0x697):/usr/ports/devel/jdk/1.5
>/w- jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuff.cpp:160: undefined
> reference to `ostream::operator<<(char const*)'
>
> ../generated/adfiles/filebuff.o(.text+0x6a0):/usr/ports/devel/jdk/1.5
>/w- jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuff.cpp:160: undefined
> reference to `ostream::operator<<(int)'
>
> ../generated/adfiles/filebuff.o(.text+0x6a9):/usr/ports/devel/jdk/1.5
>/w- jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuff.cpp:160: undefined
> reference to `ostream::operator<<(char const*)'
>
> ../generated/adfiles/filebuff.o(.text+0x711):/usr/ports/devel/jdk/1.5
>/w- jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuff.cpp:170: undefined
> reference to `ostream::operator<<(char const*)'
>
> ../generated/adfiles/filebuff.o(.text+0x71a):/usr/ports/devel/jdk/1.5
>/w- jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuff.cpp:170: undefined
> reference to `ostream::operator<<(char const*)'
>
> ../generated/adfiles/filebuff.o(.text+0x723):/usr/ports/devel/jdk/1.5
>/w- jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuff.cpp:170: undefined
> reference to `ostream::operator<<(int)'
>
> ../generated/adfiles/filebuff.o(.text+0x72c):/usr/ports/devel/jdk/1.5
>/w- jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuff.cpp:170: undefined
> reference to `ostream::operator<<(char const*)'
>
> ../generated/adfiles/filebuff.o(.text+0x775):/usr/ports/devel/jdk/1.5
>/w- jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuff.cpp:179: undefined
> reference to `ostream::operator<<(char)'
>
> ../generated/adfiles/filebuff.o(.text+0x7d8):/usr/ports/devel/jdk/1.5
>/w- jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuff.cpp:191: undefined
> reference to `ostream::operator<<(char)'
>
> ../generated/adfiles/filebuff.o(.text+0x829):/usr/ports/devel/jdk/1.5
>/w- jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuff.cpp:200: undefined
> reference to `ostream::operator<<(char)'
>
> ../generated/adfiles/filebuff.o(.text+0x839):/usr/ports/devel/jdk/1.5
>/w- jdk-1.5.0p1/hotspot/src/share/vm/adlc/filebuff.cpp:201: undefined
> reference to `ostream::operator<<(char)'
>
> ../generated/adfiles/filebuff.o(.text+0x9c9): In function
> `FileBuffRegion::print(ostream&)':
>
> /usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/hotspot/src/share/vm/adlc/file
>buf f.cpp:255: undefined reference to `ostream::operator<<(char
> const*)'
>
> collect2: ld returned 1 exit status
>
> gmake[3]: *** [../generated/adfiles/adlc] Error 1
>
> gmake[3]: Leaving directory
> `/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/control/build/bsd-i586/hotspo
>t-i 586/tmp/bsd_i486_compiler2/product'
>
> gmake[2]: *** [ad_stuff] Error 2
>
> gmake[2]: Leaving directory
> `/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/control/build/bsd-i586/hotspo
>t-i 586/tmp/bsd_i486_compiler2/product'
>
> gmake[1]: *** [product] Error 2
>
> gmake[1]: Leaving directory
> `/usr/ports/devel/jdk/1.5/w-jdk-1.5.0p1/control/build/bsd-i586/hotspo
>t-i 586/tmp'
>
> gmake: *** [product] Error 2
>
> *** Error code 2
>
>
>
> Stop in /usr/ports/devel/jdk/1.5 (line 1807 of
> /usr/ports/infrastructure/mk/bsd.port.mk).

Reply | Threaded
Open this post in threaded view
|

Re: Jdk-1.5 Openbsd 3.8 port build problem

Kurt Miller-3
On Monday 28 November 2005 06:00 pm, Price, Joe wrote:
> I did upgrade, and forgot that step.. I removed that directory,
> unfortunately, I get the following now ;)
>
> Any ideas?

Extract the new contents of /usr/include/g++ from the
install sets.

-Kurt

Reply | Threaded
Open this post in threaded view
|

Re: Jdk-1.5 Openbsd 3.8 port build problem

Price, Joe
In reply to this post by Price, Joe
*duh*, yeah I guess that would help..  Looks to have gotten past the
current roadblock. I'll know in about a day if the compile was
successful ;p I guess if I had RTFM'd the upgrade FAQ in the 1st place I
could have saved time and resources.

Thanks for the help!

-----Original Message-----
From: Kurt Miller [mailto:[hidden email]]
Sent: Monday, November 28, 2005 6:03 PM
To: Price, Joe
Cc: [hidden email]
Subject: Re: Jdk-1.5 Openbsd 3.8 port build problem

On Monday 28 November 2005 06:00 pm, Price, Joe wrote:
> I did upgrade, and forgot that step.. I removed that directory,
> unfortunately, I get the following now ;)
>
> Any ideas?

Extract the new contents of /usr/include/g++ from the
install sets.

-Kurt