bug-gnulib
[Top][All Lists]
Advanced

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

rpl_gethostname undefined on MinGW system when compiling Octave


From: John W. Eaton
Subject: rpl_gethostname undefined on MinGW system when compiling Octave
Date: Fri, 15 Mar 2013 15:48:39 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.11) Gecko/20121122 Icedove/10.0.11

I'm getting an error about rpl_gethostname undefined when compiling Octave for MinGW. HAVE_GETHOSTNAME is 1, so the AC_LIBOBJ macro from the module/gethostname file is not used, but unistd.in.h is checking GNULIB_GETHOSTNAME, which is also defined to 1. So the macros there are expanded and I get the undefined symbol. Since the module indicator variable is expanded after the snippet from module/gethostname, the simple fix of switching the test from $HAVE_GETHOSTNAME = 0 to $GNULIB_HOSTNAME = 1 doesn't work.

It's not clear to me what the correct fix should be. Any help would be much appreciated.

jwe




reply via email to

[Prev in Thread] Current Thread [Next in Thread]