From: <ch...@su...> - 2014-09-29 08:20:21
|
Hi! > > It seems you missed /usr/include/sys/uio.h for some reason. If you > > have it, please try to re run configure: > > > > $ make autotools > > $ ./configure > Wow, thank you very much. That's my mistake. I really missed that, now I > know why I can't find 'HAVE_STRUCT_IOVEC' in ltp yesterday. > Now it looks good, after I re-config the source code;) That happens. If we add some backward compatibility definition, the code in header is like: #ifndef HAVE_XYZ struct xyz { ... }; #endif and the HAVE_XYZ comes from the config.h which is generated by the configure script. So if you pull changes from git and do not regenerate and rerun configure script the HAVE_XYZ is not defined even if the structure is defined in system headers because the check was newly added... -- Cyril Hrubis ch...@su... |