This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Next problem with --disable-shared


> 
> 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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]