Re: Native JDK with libthr/libkse

2003-06-01 Thread Christopher Johnson
On Sat, 31 May 2003, Dag-Erling Smorgrav wrote:

 Daniel Eischen [EMAIL PROTECTED] writes:
  What are the above error messages?  Sorry, I've never been able to
  build native java for FreeBSD.
 
 # cd /usr/ports/java/jdk13
 # make install clean
 
 DES
 

I disagree.  I recently built jdk13 on Friday and it died on me,
complaining about needing npapi.h.  The build instructions did
mention downloading the Sun SDK source and eyesbeyond patchset,
but did not mention the Qt Netscape Plugin Extension.

(I am not a Java programmer, I just like having the Java plugin
for Mozilla.  I am using 5.1-BETA and mozilla-devel (1.4b).)

The fix:
1) Go to
http://wp.netscape.com/comprod/development_partners/plugin_api/index.html.

2) Navigate to the Unix LiveConnect/Plug-in SDK, and download
the Plugin SDK.  As of today, you can download it directly from:
ftp://ftp.netscape.com/pub/sdk/plugin/unix/unix-sdk-3.0b5.tar.Z

3) Extract the headers to a place where the build can find them
(I put them in /usr/X11R6/include, I suspect there's a more
appropriate place).  The headers are in the
PluginSDK30b5/include/ directory of the tarball.

4) Voila, jdk13 will build.

Chris Johnson
[EMAIL PROTECTED]
Potestatem obscuri lateris necsis.

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


Buildworld problem in 5.1-CURRENT

2003-07-25 Thread Christopher Johnson
I cvsup'ed this morning and buildworld failed:

...

=== lib/libpam/modules/pam_echo
cc -O2 -pipe -march=pentiumpro
-I/usr/src/lib/libpam/modules/pam_echo/../../../../contrib/openpam/include
-I/usr/src/lib/libpam/modules/pam_echo/../../libpam
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow
-Wcast-align -Wno-uninitialized  -c
/usr/src/lib/libpam/modules/pam_echo/pam_echo.c
/usr/src/lib/libpam/modules/pam_echo/pam_echo.c: In function
`_pam_echo':
/usr/src/lib/libpam/modules/pam_echo/pam_echo.c:92: warning: dereferencing
type-punned pointer will break strict-aliasing rules
*** Error code 1

Stop in /usr/src/lib/libpam/modules/pam_echo.
*** Error code 1

Stop in /usr/src/lib/libpam/modules.
*** Error code 1

Stop in /usr/src/lib/libpam.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
3070.221u 348.805s 1:06:24.35 85.8% 3287+2406k 2053+890io
806pf+0w

I should probably note that:

-This was done with 'make -DNO_RESCUE buildworld' as per UPDATING
-I had not updated since shortly after installing 5.1-RELEASE
-A previous buildworld had failed (with error code 2) so I ran
'make install' from contrib/gcc to go to 3.3.1
-I did check the archives for the last week (via the web), but
the other buildworld problems don't mention this.

fordprefect# gcc -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.3.1 [FreeBSD] 20030711 (prerelease)
fordprefect#

Chris Johnson
[EMAIL PROTECTED]

Q:  How many supply-siders does it take to change a light bulb?
A:  None.  The darkness will cause the light bulb to change by itself.

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


Re: Buildworld problem in 5.1-CURRENT

2003-07-25 Thread Christopher Johnson
On Fri, 25 Jul 2003, Craig Rodrigues wrote:

 On Fri, Jul 25, 2003 at 08:13:58AM -0700, Christopher Johnson wrote:
  I cvsup'ed this morning and buildworld failed:
  
  ...
  
  === lib/libpam/modules/pam_echo
  cc -O2 -pipe -march=pentiumpro
 
 
 What is in your /etc/make.conf?
 I do not think that -O2 is supported in the build right now,
 due to increased verbosity of warnings in gcc 3.3.
 
  /usr/src/lib/libpam/modules/pam_echo/pam_echo.c:92: warning: dereferencing
  type-punned pointer will break strict-aliasing rules
  *** Error code 1
 
 

Ahh yes, that fixed it.  I've set it to -O, and it works fine.

Chris Johnson
[EMAIL PROTECTED]
Dr. Evil: You're not quite evil enough. You're semi-evil.
You're quasi-evil. You're the margarine of evil.
You're the Diet Coke of evil, just one calorie, not evil enough.

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


LOR

2003-11-11 Thread Christopher Johnson
lock order reversal
 1st 0xc67aa490 vnode interlock (vnode interlock) @ /usr/src/sys/ufs/ffs/ffs_sna
pshot.c:651
 2nd 0xc102f110 system map (system map) @ /usr/src/sys/vm/vm_map.c:2258
Stack backtrace:
backtrace(c07feb63,c102f110,c080cef8,c080cef8,c080cf6e) at backtrace+0x17
witness_lock(c102f110,8,c080cf6e,8d2,c07fe956) at witness_lock+0x672
_mtx_lock_flags(c102f110,0,c080cf6e,8d2,c08998c0) at _mtx_lock_flags+0xba
_vm_map_lock(c102f0b0,c080cf6e,8d2,c688abf4,0) at _vm_map_lock+0x36
vm_map_remove(c102f0b0,c6b8a000,c6b8d000,e71cd7e0,c075527b) at vm_map_remove+0x3
0
kmem_free(c102f0b0,c6b8a000,3000,e71cd800,c0756eba) at kmem_free+0x32
page_free(c6b8a000,3000,22,c678bd7c,c6b84000) at page_free+0x3b
uma_large_free(c688abf4,c062811a,c67aa490,8,3000) at uma_large_free+0x10a
free(c6b8a000,c0861180,c0809d49,28b,c2685e80) at free+0xf1
ffs_snapshot(c6711000,80c9f20,70,c0892030,6957b0d2) at ffs_snapshot+0x23de
ffs_mount(c6711000,c687a800,bfbffcc0,e71cdbec,c678bd10) at ffs_mount+0x628
vfs_mount(c678bd10,c67206c0,c687a800,1211000,bfbffcc0) at vfs_mount+0x7d1
mount(c678bd10,e71cdd10,c081315d,3f0,4) at mount+0xb8
syscall(2f,2f,2f,0,bfbffdc0) at syscall+0x2c0
Xint0x80_syscall() at Xint0x80_syscall+0x1d
--- syscall (21), eip = 0x8056203, esp = 0xbfbffb6c, ebp = 0xbfbffd48 ---

Chris Johnson
[EMAIL PROTECTED]
Cave canem.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]