ltp build failed due to redefinition of 'struct iovec'
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi!
Quoted 8 lines
Quoted 5 lines
It seems you missed
/usr/include/sys/uio.hfor some reason. If you have it, please try to re run configure:$ make autotools $ ./configureWow, 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...
Signature · 10 lines
Cyril Hrubis [email protected] ------------------------------------------------------------------------------ Slashdot TV. Videos for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list