Re: Undefined reference to `WIFEXITED'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thank you, that helped. :-)  Turns out, configure had concluded that I didn't 
have the wait.h header file on my system.  Weird since I'm quite sure it has 
been there all the time but anyway, cleaning before rerunning configure set 
the macro and the build succeeded.  Thanks again!


Auke

On Monday 05 January 2004 20:04, Claudio Bley wrote:
>
> WIFEXITED and WEXITSTATUS are macros usually defined in
> /usr/include/sys/wait.h and these macros should have been expanded
> during the compilation stage of parse.c.
>
> At first have a look in config.h in
> /home/jilderda/shed/konstruct/misc/pkgconfig/work/pkgconfig-0.15.0 whether
> the macro HAVE_SYS_WAIT_H is defined to 1. If not have a look at config.log
> what went wrong and why the configure test didn't succeed.
>
> Then remove parse.o and run make in order to build it again. On my system
> it is running this command to compile parse.c:
>
> gcc -DHAVE_CONFIG_H -I. -I. -I. -DPKGLIBDIR="\"/usr/lib/pkgconfig\""
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -g -O2 -c parse.c
>
> If make doesn't succeed you should just pre-process the input file and have
> a look at what gets included and why these macros aren't defined by
> running the command manually with specifying "-E -dD" instead of "-g -O2
> -c" in the command line you see when running make. You might want to pipe
> the output through less or into a file.
>
> Perhaps you should post your question again to a pkg-config or Konstruct
> specific forum / mailing list as this is not per se a GCC issue.
>
> HTH

- -- 
PGP 0x4A34DD6D
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE/+zK8CiAumEo03W0RAv4pAJ9CqQC20zA6UQTZLRV/B6aZvs8nUQCfdp9s
NlHlZrl4y+SYBXjTIwepAOI=
=4Gpw
-----END PGP SIGNATURE-----


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux