Building JDK-1.4 fails, even with linprocfs mounted
Svein Halvor Halvorsen
svein-freebsd-questions at theloosingend.net
Thu Jul 15 02:45:05 PDT 2004
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:
[root at weld:/usr/ports/java/jdk14]$ kldstat
Id Refs Address Size Name
1 19 0xc0400000 5c7fd8 kernel
2 1 0xc09c8000 31f4 splash_bmp.ko
3 14 0xc0a41000 4fb9c acpi.ko
4 1 0xc1fcf000 9000 ntfs.ko
5 1 0xc203d000 5000 linprocfs.ko <<<<<
6 1 0xc2042000 16000 linux.ko <<<<<
7 1 0xc2069000 3000 fdescfs.ko
8 1 0xc3aba000 2ae000 if_ndis.ko
9 1 0xc2e68000 d000 ndis.ko
[root at weld:/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)
pid383 at weld:/mnt/mirrorball on /mnt/mirrorball (nfs)
pid383 at weld:/home on /home (nfs)
mirrorball:/export/ports on /.amd_mnt/mirrorball/export/ports (nfs, nodev)
linprocfs on /usr/compat/linux/proc (linprocfs, local) <<<<<
[root at weld:/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 sveinhal at weld.theloosingend.net:/usr/obj/usr/src/sys/WELD
i386 i386 Intel(R) Pentium(R) M processor 1200MHz FreeBSD
/sve
More information about the freebsd-questions
mailing list