"fatal error: ac_nonexistent.h: No such file or directory" is the expected result

2021-02-09 Thread Paul Dufresne
I have shown: fatal error: ac_nonexistent.h: No such file or directory This is correct, configure is making sure an non-existing include does correctly stop the compilation. Taken from: https://unix.stackexchange.com/questions/360506/what-is-ac-nonexistent-h

Re: mig/build/lexxer.c:1825: undefined reference to `yywrap'

2021-02-09 Thread Paul Dufresne
https://stackoverflow.com/questions/1811125/undefined-reference-to-yywrap suggests %option noyywrap in the scanner specification Adding it to ../lexxer.l: It worked! Even the QEMU machine started correctly with the generated gnumach.gz !

Re: mig/build/lexxer.c:1825: undefined reference to `yywrap'

2021-02-09 Thread Paul Dufresne
Le mar., 09 févr. 2021 12:47:49 -0500 Samuel Thibault écrit > Paul Dufresne, le mar. 09 févr. 2021 12:29:11 -0500, a ecrit: > It's not looking for bash. It's bash which is looking for "no". See the > configure log, it told you that it didn't find mig. > > Samuel > > I a

Re: [PATCH] Add multiboot2 header

2021-02-09 Thread Marc Dunivan
> > Actually, I'm trying from the hard disk. I can boot from the cdrom and > have a working console if I choose "Legacy BIOS" in the bios > options. But I couldn't install Debian GNU/Linux this way, if I recall > correctly, so now I'm trying to keep uefi. > You probably already have addressed this

Re: Almost working pci-arbiter with rumpdisk

2021-02-09 Thread Samuel Thibault
Damien Zammit, le mar. 09 févr. 2021 21:42:29 +1100, a ecrit: > However, I'm still getting very stuck because I don't seem to have a > "bootstrap" port for fsys_startup() in netfs for pci startup. > Where would the bootstrap port come from to do the arbiter netfs_startup -> > fsys_startup? > As t

Re: Re : apt-get build-dep gnumach did not install mig

2021-02-09 Thread Samuel Thibault
Paul Dufresne, le mar. 09 févr. 2021 12:29:11 -0500, a ecrit: > I think I figure out part of what the problem was. > As I had used: > https://www.gnu.org/software/hurd/microkernel/mach/gnumach/building.html > which use: > $ CPP='gcc -m32 -E -x c -undef -ansi' CC='gcc -m32' LD='ld -melf_i386' > ../

Re: wireless setup / tools for intel wireless

2021-02-09 Thread Samuel Thibault
Riccardo Mottola, le mar. 09 févr. 2021 18:14:21 +0100, a ecrit: > Samuel Thibault wrote: > > dpkg -L wireless-tools-gnumach > > /usr/sbin/iwconfig > > it does > > > > But remember to use "su -", not only "su", to get your PATH to contain > > /usr/sbin. > > Indeed! or access it directly. However,

Re: Re : apt-get build-dep gnumach did not install mig

2021-02-09 Thread Paul Dufresne
I think I figure out part of what the problem was. As I had used: https://www.gnu.org/software/hurd/microkernel/mach/gnumach/building.html which use: $ CPP='gcc -m32 -E -x c -undef -ansi' CC='gcc -m32' LD='ld -melf_i386' ../configure --prefix= --host=i686-unknown-linux-gnu then: $ make DESTDIR=~/g

Re: wireless setup / tools for intel wireless

2021-02-09 Thread Riccardo Mottola
Hi, Samuel Thibault wrote: dpkg -L wireless-tools-gnumach /usr/sbin/iwconfig it does But remember to use "su -", not only "su", to get your PATH to contain /usr/sbin. Indeed! or access it directly. However, none is detected: lo    no wireless extensions. /dev/eth  no wireless extensions

Re: Re : apt-get build-dep gnumach did not install mig

2021-02-09 Thread Samuel Thibault
Paul Dufresne, le mar. 09 févr. 2021 05:34:56 -0500, a ecrit: > Le mar., 09 févr. 2021 03:54:27 -0500 Samuel Thibault > écrit > > > Paul Dufresne, le mar. 09 févr. 2021 00:06:37 -0500, a ecrit: > > > But > > > # apt-get build-dep gnumach > > > did not install mig package. > >

Re: My newly compiled Mach hang on start ext2fs:

2021-02-09 Thread Samuel Thibault
Paul Dufresne, le mar. 09 févr. 2021 05:42:42 -0500, a ecrit: > Le mar., 09 févr. 2021 03:54:54 -0500 Samuel Thibault > écrit > > > Paul Dufresne, le lun. 08 févr. 2021 21:08:10 -0500, a ecrit: > > > Last time, after compiling my new gnumach.gz on Ubuntu, I did not tried > it. >

Re: PTHREAD_MUTEX_ADAPTIVE_NP undefined in Gecko

2021-02-09 Thread Riccardo Mottola
Paul Sonnenschein wrote: For this specific issue, you should be able to use the patch available at the following Debian bug report for NSPR: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=970659 (Alternatively, one might replace the #if with #ifdef PTHREAD_ADAPTIVE_INITIALIZER_NP as recommende

Re: [PATCH] Add multiboot2 header

2021-02-09 Thread Samuel Thibault
Andrea G. Monaco, le mar. 09 févr. 2021 16:34:21 +0100, a ecrit: > could you please try it too Samuel? To be frank, ATM I don't have time to spend on diverse things. I already have a hard time managing to do my daily work without hitting my sleep time. Samuel

Re: [PATCH] Add multiboot2 header

2021-02-09 Thread Andrea G. Monaco
> Maybe before grub-mkconfig: GRUB_GFXPAYLOAD_LINUX > or using e to edit boot configuration and add: > https://www.gnu.org/software/grub/manual/grub/grub.html#gfxpayload > they say it set the video mode in which Linux is started... but > maybe it would apply to Mach too. I tried, but i

Re: PTHREAD_MUTEX_ADAPTIVE_NP undefined in Gecko

2021-02-09 Thread Samuel Thibault
Samuel Thibault, le mar. 09 févr. 2021 13:44:00 +0100, a ecrit: > Riccardo Mottola, le mar. 09 févr. 2021 13:04:54 +0100, a ecrit: > > Richard Braun wrote: > > > The _NP suffix means non-posix, and is generally used for system-specific > > > features. The use of "adaptive" mutexes is probably just

Re: PTHREAD_MUTEX_ADAPTIVE_NP undefined in Gecko

2021-02-09 Thread Samuel Thibault
Riccardo Mottola, le mar. 09 févr. 2021 13:04:54 +0100, a ecrit: > Richard Braun wrote: > > The _NP suffix means non-posix, and is generally used for system-specific > > features. The use of "adaptive" mutexes is probably just an optimization, > > so it should be completely safe to just comment it

Re: wireless setup / tools for intel wireless

2021-02-09 Thread Samuel Thibault
Riccardo Mottola, le mar. 09 févr. 2021 12:43:03 +0100, a ecrit: > I have installed wireless-tools-gnumach, but shouldn't I have "iwconfig" > with it? can't find it. dpkg -L wireless-tools-gnumach /usr/sbin/iwconfig it does But remember to use "su -", not only "su", to get your PATH to contain /u

Re: PTHREAD_MUTEX_ADAPTIVE_NP undefined in Gecko

2021-02-09 Thread Paul Sonnenschein
Hi, Am Dienstag, dem 09.02.2021 um 13:04 +0100 schrieb Riccardo Mottola:> > [...] > thank you, it must be optional: > > #if (defined(LINUX) && (__GLIBC__ > 2) || (__GLIBC__ == 2 && > __GLIBC_MINOR__ >= 2)) || \ > (defined(FREEBSD) && __FreeBSD_version > 700055) > rv = pthread_mutexatt

Re: PTHREAD_MUTEX_ADAPTIVE_NP undefined in Gecko

2021-02-09 Thread Riccardo Mottola
Hi Richardm, Richard Braun wrote: The _NP suffix means non-posix, and is generally used for system-specific features. The use of "adaptive" mutexes is probably just an optimization, so it should be completely safe to just comment it out on systems where the macro doesn't exist (assuming it's a

Re: PTHREAD_MUTEX_ADAPTIVE_NP undefined in Gecko

2021-02-09 Thread Paul Sonnenschein
Hi, TL;DR: A patch for the mentioned issue exists, but porting Gecko is a lot of work Am Dienstag, dem 09.02.2021 um 10:36 +0100 schrieb Riccardo Mottola: > how is compilation of Gecko related browsers going on? I am trying to > compile ArcticFox and I get this: >   3:43.44 > /home/multix/code/A

wireless setup / tools for intel wireless

2021-02-09 Thread Riccardo Mottola
Hi, I got another laptop just to run HURD (more on its status in a separate mail). I'd like to try to setup wireless, if possible. I found as reference only some very old posts. I have installed wireless-tools-gnumach, but shouldn't I have "iwconfig" with it? can't find it. # inetutils-ifc

Re: [PATCH] Add multiboot2 header

2021-02-09 Thread Paul Dufresne
About not seeing the GNU Mach console because the BIOS is started in graphical mode...  if I understood the problem. Reading Grub doc... [This paragraph probably don't work because it says it inform Linux to use text mode] Maybe before grub-mkconfig: GRUB_GFXPAYLOAD_LINUX or using e to e

Re: My newly compiled Mach hang on start ext2fs:

2021-02-09 Thread Paul Dufresne
Le mar., 09 févr. 2021 03:54:54 -0500 Samuel Thibault écrit > Paul Dufresne, le lun. 08 févr. 2021 21:08:10 -0500, a ecrit: > > Last time, after compiling my new gnumach.gz on Ubuntu, I did not tried > > it. > > > > I tested it on my QEMU environment (Gnu Hurd from this mornin

Re: Almost working pci-arbiter with rumpdisk

2021-02-09 Thread Damien Zammit
On 9/2/21 5:33 am, Samuel Thibault wrote: > Damien Zammit, le lun. 08 févr. 2021 20:33:16 +1100, a ecrit: >> I'm getting very close to working pci + rump. > > Did you manage to find answers to your previous questions? > (I have to admit I didn't have time to dive into them) I managed to remove th

Re: Re : apt-get build-dep gnumach did not install mig

2021-02-09 Thread Paul Dufresne
Le mar., 09 févr. 2021 03:54:27 -0500 Samuel Thibault écrit > Paul Dufresne, le mar. 09 févr. 2021 00:06:37 -0500, a ecrit: > > But > > # apt-get build-dep gnumach > > did not install mig package. > > Didn't it install mig-for-host and mig-i686-something? > > Samuel

Re: PTHREAD_MUTEX_ADAPTIVE_NP undefined in Gecko

2021-02-09 Thread Richard Braun
On Tue, Feb 09, 2021 at 10:36:28AM +0100, Riccardo Mottola wrote: > how is compilation of Gecko related browsers going on? I am trying to > compile ArcticFox and I get this: > >  3:43.44 > /home/multix/code/Arctic-Fox/nsprpub/pr/src/pthreads/ptsynch.c:60:48: error: > ‘PTHREAD_MUTEX_ADAPTIVE_NP’ un

PTHREAD_MUTEX_ADAPTIVE_NP undefined in Gecko

2021-02-09 Thread Riccardo Mottola
Hi, how is compilation of Gecko related browsers going on? I am trying to compile ArcticFox and I get this:  3:43.44 /home/multix/code/Arctic-Fox/nsprpub/pr/src/pthreads/ptsynch.c:60:48: error: ‘PTHREAD_MUTEX_ADAPTIVE_NP’ undeclared (first use in this function); did you mean ‘PTHREAD_MUTEX_

Re: My newly compiled Mach hang on start ext2fs:

2021-02-09 Thread Samuel Thibault
Paul Dufresne, le lun. 08 févr. 2021 21:08:10 -0500, a ecrit: > Last time, after compiling my new gnumach.gz on Ubuntu, I did not tried it. > > I tested it on my QEMU environment (Gnu Hurd from this morning)... > > and it stop on: > start ext2fs: > with cursor flashsing after. Had you used a 32b

Re: Re : apt-get build-dep gnumach did not install mig

2021-02-09 Thread Samuel Thibault
Paul Dufresne, le mar. 09 févr. 2021 00:06:37 -0500, a ecrit: > But > # apt-get build-dep gnumach > did not install mig package. Didn't it install mig-for-host and mig-i686-something? Samuel

Re: [PATCH] Add multiboot2 header

2021-02-09 Thread Samuel Thibault
Andrea G. Monaco, le mar. 09 févr. 2021 02:34:41 +0100, a ecrit: > Do you get that message only when using "multiboot2"? Yes. > In that case, could you please try at the grub2 prompt one line at a > time? Does the "multiboot2" line evokes any output? multiboot2 itself doesn't produce any output.