[Click] problems configuring/installing click
betamaz
betamaz at gmail.com
Tue Jan 11 00:29:09 EST 2005
Hi,
I'm having trouble installing click on linux 2.4 "Fedor Core." I'm
having problems configuring and installing. I'm assuming the
installation problem is due to not being able to compile the
linuxmodule driver. Are the two errors related? How do i turn off the
functionality created by ERROR1 and where do i look?
Thanks in advance,
Bita
ERROR1: When configuring I get the error:
[click-1.4.3]# ./configure > output_configure
configure: WARNING:
=========================================
Your Linux kernel header files cause errors when included by a C++ program,
so I won't try to compile the linuxmodule driver.
There are two common reasons for this error:
1. You have not applied the Linux kernel patch that comes with this
distribution. Apply the right patch and try again.
2. Your Linux configuration enables some functionality that is not yet
covered by our patches. Turn off this functionality and try again,
or fix the error and tell us how you did it. See the config.log file
for more detailed information on the error.
=========================================
Since i've installed the latest version of linux (i got the same
result trying the version on the CVS download site) I'm assuming my
error is due to the second reason. In the config.log file i see it
fails on the following which it seems to recheck:
------------------------------------------------------------------
configure:7013: g++ -W -Wall -fno-exceptions -fno-rtti -c -g -O2
conftest.cc >&5
configure: In function `int main()':
configure:7041: error: `__builtin_clz' undeclared (first use this function)
configure:7041: error: (Each undeclared identifier is reported only once for
each function it appears in.)
configure:7041: warning: unused variable `int y'
configure:7016: $? = 1
configure: failed program was:
| #line 6996 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
...
| /* end confdefs.h. */
| volatile int x = 11;
| int
| main ()
| {
| int y = __builtin_clz(x);
| ;
| return 0;
| }
configure:7033: result: no
configure:7042: checking for __builtin_clzl
------------------------------------------------------------------
ERROR 2: When I do make install, I get the following error:
[click-1.4.3]# make install
/usr/bin/install -c -m 644 ./click.1 /usr/local/man/man1/click.1
/usr/bin/install: cannot stat `./click.1': No such file or directory
make[2]: *** [install-man] Error 1
make[2]: Leaving directory `/root/research_CLICK/click-1.4.3/doc'
make[1]: *** [install-doc] Error 2
make[1]: Leaving directory `/root/research_CLICK/click-1.4.3'
make: *** [install] Error 2
More information about the click
mailing list