bug-cpio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-cpio] How to access lib/error.c routines from src/* ?


From: Илья Евсеев
Subject: [Bug-cpio] How to access lib/error.c routines from src/* ?
Date: Wed, 26 Jan 2005 20:40:45 +0300

   Hi!
Can anybody to explain me two effects in cpio-2.6?

First, by default lib/error.c and error.h are not added to libcpio.a at all.
Why? Is this functionality really not needed?
However, many src/*.c modules are using error() routine,
and I cannot understand why linking of cpio doesn't fails?!?!!

Second, when I put "libcpio_a_SOURCES += error.h error.c" line
to lib/Makefile.am, autoreconf displays following error and stops:
autoreconf-default: running: automake --add-missing --force-missing
lib/Makefile.am:22: automatically discovered file `error.h' should not be 
explicitly mentioned
lib/Makefile.am:22: automatically discovered file `error.c' should not be 
explicitly mentioned
I don't understand the goal of such diagnostic,
and google cannot help me.

My system is ALTLinux Master 2.4:
automake-1.7
autoconf-2.5
libtool-1.5
gcc-3.3.3

Thanks in advance,
Ilya




reply via email to

[Prev in Thread] Current Thread [Next in Thread]