Re: linking issue - what am I doing wrong?

2016-03-25 Thread Swift Griggs
Some folks, who have had similar issues, asked what I ended up doing and if I'd post it. Here's the skinny: I was doing this: gcc -g -Wall -I/usr/pkg/include -I/usr/X11R7/include -lXm \ -L/usr/pkg/lib -o hello hello.c I switched it to this: gcc -Wl,-rpath,/usr/pkg/lib -Wl,

Re: linking issue - what am I doing wrong?

2016-03-25 Thread Gerard Lally
On Fri, 25 Mar 2016 15:50:36 -0600 (MDT) Swift Griggs wrote: > > Some folks, who have had similar issues, asked what I ended up doing and if > I'd post it. Here's the skinny: > > I was doing this: > > gcc -g -Wall -I/usr/pkg/include -I/usr/X11R7/include -lXm \ >-L/usr/pkg/l

Re: linking issue - what am I doing wrong?

2016-03-25 Thread Swift Griggs
On Fri, 25 Mar 2016, Rhialto wrote: It looks like you need to give the runtime library path to the linker. See ld's -rpath option. Yep. J. Hannken-Illjes sent me a note about the same issue and I was able to make it work. Unfortunately different compilers have slightly different ways of spe

Re: linking issue - what am I doing wrong?

2016-03-25 Thread Rhialto
On Fri 25 Mar 2016 at 14:53:20 -0600, Swift Griggs wrote: > Any ideas? It looks like you need to give the runtime library path to the linker. See ld's -rpath option. Unfortunately different compilers have slightly different ways of specifying this (and passing it on to the linker). I think -Wl,-r

Re: Buggy /usr/X11R7/lib/modules/dri/r600_dri.so ?

2016-03-25 Thread Rhialto
On Fri 25 Mar 2016 at 19:52:58 +0100, Rhialto wrote: > On Fri 25 Mar 2016 at 20:30:20 +0200, Yorick Hardy wrote: > > Is this perhaps related to kern/49838 ? > > Quite possibly! There were indeed 2 threads involved. And I don't think > that VICE created the second one. On the other hand, the code

linking issue - what am I doing wrong?

2016-03-25 Thread Swift Griggs
I'm doing some tutorials on Motif. I'm really just getting started. I'm doing something ignorant while linking and I'm not sure what it is. What happens is that I'm able to get Motif and Xtoolkit linked to my little test program, but the program won't run unless LD_LIBRARY_PATH is set. Yet ot

Re: Buggy /usr/X11R7/lib/modules/dri/r600_dri.so ?

2016-03-25 Thread Rhialto
On Fri 25 Mar 2016 at 20:30:20 +0200, Yorick Hardy wrote: > Is this perhaps related to kern/49838 ? Quite possibly! There were indeed 2 threads involved. And I don't think that VICE created the second one. -Olaf. -- ___ Olaf 'Rhialto' Seibert -- The Doctor: No, 'eureka' is Greek for \X/ rhialto

Re: Buggy /usr/X11R7/lib/modules/dri/r600_dri.so ?

2016-03-25 Thread Yorick Hardy
On 2016-03-25, Rhialto wrote: > On Fri 25 Mar 2016 at 15:11:02 +0100, Rhialto wrote: > > On Fri 25 Mar 2016 at 14:57:05 +0100, Rhialto wrote: > > > /usr/X11R7/lib/modules/dri/r600_dri.so file eventually and crash in > > > > When I try the exact same binaries on another machine, it uses > > /usr/X1

Re: Buggy /usr/X11R7/lib/modules/dri/r600_dri.so ?

2016-03-25 Thread Rhialto
On Fri 25 Mar 2016 at 15:11:02 +0100, Rhialto wrote: > On Fri 25 Mar 2016 at 14:57:05 +0100, Rhialto wrote: > > /usr/X11R7/lib/modules/dri/r600_dri.so file eventually and crash in > > When I try the exact same binaries on another machine, it uses > /usr/X11R7/lib/modules/dri/i9650_dri.so and that

Re: qemu/amd64 virtio weirdness NetBSD 7.0/amd64

2016-03-25 Thread Pierre Pronchery
Hi, On 03/24/16 00:17, Random wrote: > I'm using qemu 2.5 and for performance reasons, I'm wanting to use the > virtio drivers for the hard disk and the network. > > After I install NetBSD, the default kernel (the one installed by the > installer) resets when I try to boot

Re: Buggy /usr/X11R7/lib/modules/dri/r600_dri.so ?

2016-03-25 Thread Rhialto
On Fri 25 Mar 2016 at 14:57:05 +0100, Rhialto wrote: > /usr/X11R7/lib/modules/dri/r600_dri.so file eventually and crash in When I try the exact same binaries on another machine, it uses /usr/X11R7/lib/modules/dri/i9650_dri.so and that works fine. -Olaf. -- ___ Olaf 'Rhialto' Seibert -- The Doct

Buggy /usr/X11R7/lib/modules/dri/r600_dri.so ?

2016-03-25 Thread Rhialto
I have a program (VICE; see http://vice-emu.sourceforge.net/ ) which can have multiple GUIs. Two of them seem to use the /usr/X11R7/lib/modules/dri/r600_dri.so file eventually and crash in them. I think I saw something similar (at least involving dri, but with a different crashing function) before

Re: wireless WPA disconnection issues

2016-03-25 Thread Riccardo Mottola
Hi, On 03/16/16 00:11, Ryo ONODERA wrote: I have iwm(4) in my laptop When it is used with Android smartphone's tethering Wi-Fi access point, Wi-Fi WPA2-PSK (AES) connection is disconnected with iwm0: fatal firmware error error message from kernel. And only reboot helps me. Standard Wi-Fi access