Next problem with --disable-shared
Roland McGrath
roland@frob.com
Tue Apr 4 19:42:00 GMT 2000
>
> Here's the next problem with disable-shared:
>
> In file included from tmpfile.c:57:
> ../include/shlib-compat.h:26: abi-versions.h: No such file or directory
> make[2]: ***[/data/builds/glibc/20000404-main-static/stdio-common/tmpfile.o] Error 1
>
> The problem is caused by:
> config.h:#define DO_VERSIONING 1
Perhaps a better version of the solution I applied would be to do it in
configure instead of in Makeconfig. Then DO_VERSIONING would be unset too.
(Before someone asks, the reason shlib-compat.h doesn't test SHARED before
including abi-versions.h is because the dependency generation pass does a
single version and doesn't define SHARED, so you fail to get dependencies
on abi-versions.h when you should.)
Before I bother reverting my earlier change and hacking configure, why
don't you try reverting the earlier change and hand-editting your
config.h to #undef DO_VERSIONING and verify that your build works that way.
More information about the Libc-hacker
mailing list