Re: Building in Solaris 11.4

2020-06-29 Thread Thomas Huth
On 29/06/2020 22.25, Michele Denber wrote: On 06-29-2020 8:12 AM, Thomas Huth wrote: ... It's not the same bug as last year, but a new one: Seems like newer versions of Solaris now have this functions in their libraries! Yes - I just checked. Solaris 10 does not have openpty, but Solaris 11.4

Re: Building in Solaris 11.4

2020-06-29 Thread Michele Denber
On 06-29-2020 8:12 AM, Thomas Huth wrote: ... It's not the same bug as last year, but a new one: Seems like newer versions of Solaris now have this functions in their libraries! Yes - I just checked. Solaris 10 does not have openpty, but Solaris 11.4 indeed does have it So what you want is

Re: Building in Solaris 11.4

2020-06-29 Thread Thomas Huth
On 27/06/2020 18.24, Michele Denber wrote: Well the make ran for a while and then stopped here: root@hemlock:~/qemu-5.0.0# gmake -j16 ...   CC  util/bitops.o util/qemu-openpty.c:56:12: error: static declaration of \u2018openpty\u2019 follows non-static declaration  static int

Re: Building in Solaris 11.4

2020-06-28 Thread Peter Tribble
On Sun, Jun 28, 2020 at 2:23 PM Peter Maydell wrote: > On Sat, 27 Jun 2020 at 23:05, Michele Denber > wrote: > > > > Well I removed the "static" from the line > > > > static int openpty(int *amaster, int *aslave, char *name, > >struct termios *termp, struct winsize *winp) >

Re: Building in Solaris 11.4

2020-06-28 Thread Peter Maydell
On Sat, 27 Jun 2020 at 23:05, Michele Denber wrote: > > Well I removed the "static" from the line > > static int openpty(int *amaster, int *aslave, char *name, >struct termios *termp, struct winsize *winp) > > in util/qemu-openpty.c. I odn't know if that was the right thing

Re: Building in Solaris 11.4

2020-06-27 Thread Michele Denber
Well I removed the "static" from the line static int openpty(int *amaster, int *aslave, char *name, struct termios *termp, struct winsize *winp) in util/qemu-openpty.c. I odn't know if that was the right thing to do but it did allow it to compile. Now I'm stopped here:

Re: Building in Solaris 11.4

2020-06-27 Thread Michele Denber
Well the make ran for a while and then stopped here: root@hemlock:~/qemu-5.0.0# gmake -j16 ... CC util/bitops.o util/qemu-openpty.c:56:12: error: static declaration of \u2018openpty\u2019 follows non-static declaration static int openpty(int *amaster, int *aslave, char *name,

Re: Building in Solaris 11.4

2020-06-25 Thread Michele Denber
Subject:Re: Building in Solaris 11.4 Date: Wed, 24 Jun 2020 16:48:51 -0500 From: Eric Blake Organization: Red Hat, Inc. To: Michele Denber , qemu-devel@nongnu.org As a short-term workaround, you can always do: /path/to/bash ./configure Ah yes, thank you. I now recall

Re: Building in Solaris 11.4

2020-06-24 Thread Eric Blake
On 6/24/20 4:48 PM, Eric Blake wrote: grep -e is also a non-portable construct; it might be possible to change that line to call egrep instead, or to rewrite the regex to not need extended regex. As a short-term workaround, you can always do: /path/to/bash ./configure to run it under a

Re: Building in Solaris 11.4

2020-06-24 Thread Eric Blake
On 6/24/20 4:31 PM, Michele Denber wrote: While trying to run configure in Solaris 11.4, I quickly run into: root@hemlock:~/qemu-5.0.0# ./configure ./configure[62]: local: not found [No such file or directory] grep: illegal option -- e Usage: grep [-c|-l|-q] -bhinsvw pattern file . . .

Building in Solaris 11.4

2020-06-24 Thread Michele Denber
While trying to run configure in Solaris 11.4, I quickly run into: root@hemlock:~/qemu-5.0.0# ./configure ./configure[62]: local: not found [No such file or directory] ./configure[62]: local: not found [No such file or directory] ./configure[62]: local: not found [No such file or directory]