Menu

#162 undefined reference to `WIFEXITED'

None
closed-fixed
nobody
wait(2) (1)
5
2019-01-07
2018-12-27
No

On both NetBSD and FreeBSD, the following build error occurs:

grip.o: In function `Homepage':                                                                                                                                                       
grip.c:(.text+0x7a): undefined reference to `WIFEXITED'                                                                                                                               
cdplay.o: In function `SubmitEntry':                                                                                                                                                  
cdplay.c:(.text+0xc63): undefined reference to `WIFEXITED'                                                                                                                            
*** [grip] Error code 1

man 2 wait synopsis includes <sys wait.h=""> (and <sys types.h=""> for some systems).
The attached patches fix the error.</sys></sys>

2 Attachments

Discussion

  • Solbu

    Solbu - 2018-12-27

    Ticket moved from /p/grip/bugs/407/

     
  • Solbu

    Solbu - 2019-01-07
    • status: open --> closed-fixed
    • Group: Bug -->
     
  • Solbu

    Solbu - 2019-01-07

    Fixed in the next release

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.