On Thu, Jun 23, 2005 at 09:19:51AM +0500, Ahmad Sheikh wrote:
> I get the following error when I 'make'
> 
> I am using gcc-3.2.3 and Python2.3. How can I fix it?
> Thanks in advance.
> 
> gr_error_handler.cc: In constructor
>    `gr_file_error_handler::gr_file_error_handler(int)':
> gr_error_handler.cc:179: `dup' undeclared (first use this function)
> gr_error_handler.cc:179: (Each undeclared identifier is reported only once for
>    each function it appears in.)
> make[4]: *** [gr_error_handler.lo] Error 1
> make[4]: Leaving directory `/home/sheikh/gnuradio-core-2.5/src/lib/runtime'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/sheikh/gnuradio-core-2.5/src/lib'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/sheikh/gnuradio-core-2.5/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/sheikh/gnuradio-core-2.5'
> make: *** [all] Error 2

Looks like gr_error_handler.cc needs a

#include <unistd.h>

Eric


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to