[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-cpio] How to access lib/error.c routines from src/* ?
From: |
Sergey Poznyakoff |
Subject: |
Re: [Bug-cpio] How to access lib/error.c routines from src/* ? |
Date: |
Wed, 26 Jan 2005 22:07:55 +0200 |
> First, by default lib/error.c and error.h are not added to libcpio.a at all.
> Why? Is this functionality really not needed?
Most of sources from /lib subdirectory are compiled only if
system's libc does not provide corresponding functions or the versions
it provides are broken. `Configure' decides whether it is necessary
to compile any additional sources.
> Second, when I put "libcpio_a_SOURCES += error.h error.c" line
> to lib/Makefile.am, autoreconf displays following error and stops:
Do not modify Makefile.am's unless you know what you are doing.
> autoreconf-default: running: automake --add-missing --force-missing
> lib/Makefile.am:22: automatically discovered file `error.h' should not be
> explicitly mentioned
See the answer to your first question. Refer to `info Automake' for
the detailed description of the tool.
Regards,
Sergey