install problem again

xiaophong xiaophong2002 at yahoo.com
Wed Dec 11 12:44:40 EST 2002


first of all, thanks so much for your reply. 
1. I use click 1.2.3 version. and I have succussefully installed before my trying. And in another PC, I modified click_icmp.hh, and ./configure & make install. It goes well. but in the test machine it was failure till now. even I removed the click and the patched kernel and reinstalled. 
2. I tired without kernel level support and only install click, it is failure! but when I did, I do not --disable-linuxmodule, does this matter?
So what I can think is something wrong with the linux. and the problem may relate to my previous kernel programming. Otherwise, I can not find where the problem comes. because another PC has not been run kernel program.
I am still thinking over. I still do not decide to reinstall the linux yet. Hope it will not go like that! Again, thanks! I find you are a kind guy.
regards,
xiao

First of all you don't need to reinstall linux. Please try with the latest stable version of Click, (1.2.4). To find where the error is I would first install click without kernel level support, as follows:

./configure --disable-linuxmodule
make install

Then, if everything goes well, patch the kernel, recompile it and recompile click, but first do a 'make clean' en remove the file config.cache and do:

./configure 
make install


After you have installed click successfully, you should do the modifications you want to do to the sources, not before, to avoid problems.


Cheers,

Juan Luis

> Dear all,
> 
> I still got the following problem no matter what I do.
> I even clean the kernel, reinstall the kernal and the
> click can not be installed.
> I just want to add an extra definition in the
> click_icmp.hh file, then ./configure and make install
> the click again, thus the error came and did not go. I
> did the same steps when I installed click at the first
> time and use the clean kernel and click, but it just
> does not work. Please give a kind hand! What I did not
> do yet is to reinstall the linux in the PC. And what
> caused this? due to my previous kernel programming?
> but that kernel was already deleted. Thanks a lot!
> 
> ../click-compile --libs`
> libclick.a(userutils.o): In function
> `remove_file_on_exit(String const &)':
> /work/click-1.2.3/userlevel/../lib/userutils.cc:266:
> undefined reference to `atexit'
> collect2: ld returned 1 exit status
> make[1]: *** [click] Error 1
> make[1]: Leaving directory
> `/work/click-1.2.3/userlevel'
> make: *** [install] Error 1
> 
> Phong
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> 

-- 
______________________________________________
http://www.linuxmail.org/
Now with POP3/IMAP access for only US$19.95/yr

Powered by Outblaze



---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
-------------- next part --------------
first of all, thanks so much for your reply.
1. I use click 1.2.3 version. and I have succussefully installed before my trying. And in another PC, I modified click_icmp.hh, and ./configure & make install. It goes well. but in the test machine it was failure till now. even I removed the click and the patched kernel and reinstalled.
2. I tired without kernel level support and only install click, it is failure! but when I did, I do not --disable-linuxmodule, does this matter?
So what I can think is something wrong with the linux. and the problem may relate to my previous kernel programming. Otherwise, I can not find where the problem comes. because another PC has not been run kernel program.
I am still thinking over. I still do not decide to reinstall the linux yet. Hope it will not go like that! Again, thanks! I find you are a kind guy.
regards,
xiao
First of all you don't need to reinstall linux. Please try with the latest stable version of Click, (1.2.4). To find where the error is I would first install click without kernel level support, as follows:
./configure --disable-linuxmodule
make install
Then, if everything goes well, patch the kernel, recompile it and recompile click, but first do a 'make clean' en remove the file config.cache and do:
./configure
make install
After you have installed click successfully, you should do the modifications you want to do to the sources, not before, to avoid problems.
Cheers,
Juan Luis
> Dear all,
>
> I still got the following problem no matter what I do.
> I even clean the kernel, reinstall the kernal and the
> click can not be installed.
> I just want to add an extra definition in the
> click_icmp.hh file, then ./configure and make install
> the click again, thus t! he error came and did not go. I
> did the same steps when I installed click at the first
> time and use the clean kernel and click, but it just
> does not work. Please give a kind hand! What I did not
> do yet is to reinstall the linux in the PC. And what
> caused this? due to my previous kernel programming?
> but that kernel was already deleted. Thanks a lot!
>
> ../click-compile --libs`
> libclick.a(userutils.o): In function
> `remove_file_on_exit(String const &)':
> /work/click-1.2.3/userlevel/../lib/userutils.cc:266:
> undefined reference to `atexit'
> collect2: ld returned 1 exit status
> make[1]: *** [click] Error 1
> make[1]: Leaving directory
> `/work/click-1.2.3/userlevel'
> make: *** [install] Error 1
>
> Phong
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable! . Sign up now.
> http://mailplus.yahoo.com
>
--
______________________________________________
http://www.linuxmail.org/
Now with POP3/IMAP access for only US$19.95/yr
Powered by Outblaze
Do you Yahoo!?
Yahoo! Mail Plus
- Powerful. Affordable.
Sign up now


More information about the click mailing list