Building JDK-1.4 fails, even with linprocfs mounted

2004-07-15 Thread Svein Halvor Halvorsen

Trying to build the port jdk14, I get the following error message:

/.amd_mnt/mirrorball/export/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java:1:
 'class' or 'interface' expected
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
^
/.amd_mnt/mirrorball/export/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java:1:
 unclosed character literal
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location


A search for this gives quite a lot of hits, but all seem to suggest that
the linprcfs is either not mounted, or that linux-supprt is not loaded
into the kernel. Well in my case neither seems to hold true:

[EMAIL PROTECTED]:/usr/ports/java/jdk14]$ kldstat
Id Refs AddressSize Name
 1   19 0xc040 5c7fd8   kernel
 21 0xc09c8000 31f4 splash_bmp.ko
 3   14 0xc0a41000 4fb9cacpi.ko
 41 0xc1fcf000 9000 ntfs.ko
 51 0xc203d000 5000 linprocfs.ko
 61 0xc2042000 16000linux.ko
 71 0xc2069000 3000 fdescfs.ko
 81 0xc3aba000 2ae000   if_ndis.ko
 91 0xc2e68000 d000 ndis.ko

[EMAIL PROTECTED]:/usr/ports/java/jdk14]$ mount
/dev/ad0s4a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/ad0s4e on /tmp (ufs, local, soft-updates)
/dev/ad0s4f on /usr (ufs, local)
/dev/ad0s4d on /var (ufs, local, soft-updates)
/dev/ad0s2 on /mnt/windows/c (ntfs, local, noexec)
/dev/ad0s3 on /mnt/windows/d (msdosfs, local, noexec)
procfs on /proc (procfs, local)
fdescfs on /dev/fd (fdescfs)
[EMAIL PROTECTED]:/mnt/mirrorball on /mnt/mirrorball (nfs)
[EMAIL PROTECTED]:/home on /home (nfs)
mirrorball:/export/ports on /.amd_mnt/mirrorball/export/ports (nfs, nodev)
linprocfs on /usr/compat/linux/proc (linprocfs, local)  

[EMAIL PROTECTED]:/usr/ports/java/jdk14]$ uname -a
FreeBSD weld.theloosingend.net 5.2-CURRENT FreeBSD 5.2-CURRENT #5: Wed Jun
30 14:46:17 CEST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/WELD
i386 i386 Intel(R) Pentium(R) M processor 1200MHz FreeBSD


/sve
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Building JDK-1.4 fails, even with linprocfs mounted

2004-07-15 Thread Gustaaf Wijnands
Svein Halvor Halvorsen wrote:
Trying to build the port jdk14, I get the following error message:
/.amd_mnt/mirrorball/export/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java:1:
 'class' or 'interface' expected
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
^
/.amd_mnt/mirrorball/export/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java:1:
 unclosed character literal
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
A search for this gives quite a lot of hits, but all seem to suggest that
the linprcfs is either not mounted, or that linux-supprt is not loaded
into the kernel. Well in my case neither seems to hold true:
Svein,
Did you do a make install (not make install clean) in linux-sun-jdk14 ? 
If so, do a make deinstall in ports/java/jdk14/ and remove 
ports/java/jdk14/work and its contents, then make install clean in that 
port. At least that's what helped me.

http://www.freebsdforums.org/forums/showthread.php?s=threadid=23254
good luck!
--
Gustaaf
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Building JDK-1.4 fails, even with linprocfs mounted

2004-07-15 Thread epilogue
On Thu, 15 Jul 2004 20:04:00 +0200
Gustaaf Wijnands [EMAIL PROTECTED] wrote:

 Svein Halvor Halvorsen wrote:
  Trying to build the port jdk14, I get the following error message:
  
  /.amd_mnt/mirrorball/export/ports/java/jdk14/work/control/build/bsd-i5
  86/gensrc/java/util/CurrencyData.java:1: 'class' or 'interface'
  expected Java HotSpot(TM) Client VM warning: Can't detect initial
  thread stack location^
  /.amd_mnt/mirrorball/export/ports/java/jdk14/work/control/build/bsd-i5
  86/gensrc/java/util/CurrencyData.java:1: unclosed character literal
  Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
  location
  
  
  A search for this gives quite a lot of hits, but all seem to suggest
  that the linprcfs is either not mounted, or that linux-supprt is not
  loaded into the kernel. Well in my case neither seems to hold true:
  
 Svein,
 
 Did you do a make install (not make install clean) in linux-sun-jdk14 ? 
 If so, do a make deinstall in ports/java/jdk14/ and remove 
 ports/java/jdk14/work and its contents.

this can be achieved by a simple 'make clean'   ;)

 then make install clean in that 
 port. At least that's what helped me.

so, try 'make clean; make install clean'  this will clear out any cruft
from a previous build, it will build anew, then install, and finally
tidy-up after the install.

 http://www.freebsdforums.org/forums/showthread.php?s=threadid=23254
 
 
 good luck!
 
 -- 
 
 Gustaaf
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]