> On 15 Jan 2023, at 22:29, Dave Mielke <[email protected]> wrote:
> 
> [quoted lines by Raoul MEGELAS on 2023/01/15 at 21:51 +0100]
> 
>> Building from source  just now give the following errors (included file)
> 
> Please pull and try again.
> 

This time another error:
gcc -I. -I. -I./../Programs -I../Programs -I../Headers -I./.. -I..    
-DHAVE_CONFIG_H -g -O2 -std=gnu99 -Wall -Wno-initializer-overrides 
-Wno-unused-const-variable -Wno-pointer-bool-conversion -Werror=format-security 
-Wno-address-of-packed-member -Wno-initializer-overrides -c ./brltty-pty.c
./brltty-pty.c:431:11: error: implicit declaration of function 'setresgid' is 
invalid in C99 [-Werror,-Wimplicit-function-declaration]
      if (setresgid(group, group, group) == -1) {
          ^
./brltty-pty.c:431:11: note: did you mean 'setregid'?
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:593:6: 
note: 'setregid' declared here
int      setregid(gid_t, gid_t) __DARWIN_ALIAS(setregid);
         ^
./brltty-pty.c:438:11: error: implicit declaration of function 'setresuid' is 
invalid in C99 [-Werror,-Wimplicit-function-declaration]
      if (setresuid(user, user, user) == -1) {
          ^
./brltty-pty.c:438:11: note: did you mean 'setreuid'?
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:595:6: 
note: 'setreuid' declared here
int      setreuid(uid_t, uid_t) __DARWIN_ALIAS(setreuid);
         ^
2 errors generated.
make[1]: *** [brltty-pty.o] Error 1
make: *** [all] Error 2

> -- 
> I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
> Dave Mielke            | 2213 Fox Crescent | WebHome: http://Mielke.cc/
> EMail: [email protected]  | Ottawa, Ontario   | Twitter: @Dave_Mielke
> Phone: +1 613 726 0014 | Canada  K2A 1H7   |
> _______________________________________________
> This message was sent via the BRLTTY mailing list.
> To post a message, send an e-mail to: [email protected]
> For general information, go to: http://brltty.app/mailman/listinfo/brltty

_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: [email protected]
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Reply via email to