Click to See Complete Forum and Search --> : making pppd 2.4.0


Badfrog66
04-12-2001, 11:17 PM
:mad: :mad: :mad: :mad: :mad:

Ok, dist is drake, 2.4.2 kernel, trying to get that famous USB ADSL modem of mine working. According to the How-To, I need a pppoa-aware version of pppd.

I have the source for pppd 2.4.0 from http://sourceforge.net/project/showfiles.php?group_id=23818

I unzipped it to /usr/src/ppp-2.4.0. ./configure works fine. when I do make, I get an error when compiling pppoatm.c that atm.h does not exist. It appearss to be looking for atm.h in /usr/src/linux/include. atm.h is actually located in /usr/src/linux/include/linux. I tried editing the script to look in the correct directory, but I then get a bunch of errors about things being redefined and parse errors. I also tried copying atm.h from .../include/linux to .../include. That didn't work either. I then tried creating a simlink in /include to /include/linux/atm.h and got basically the same results I get by copying the file.

So then I decided to try my luck with the RPM. It's appearantly an RH7 RPM and needs a newer glibc(2.2).

Can somebody help me either solve my make problem or tell me how to get and install glibc 2.2? I already have gcc 2.95.3, is this in gcc 2.6?

[ 12 April 2001: Message edited by: Badfrog66 ]

bdg1983
04-13-2001, 05:54 AM
You created a symlink just for atm.h?

Why not create a symlink from /usr/src/linux/include to /usr/src/linux/include/linux instead? That way any other files required in the same directory will be there instead of just atm.h. Make sense?

Badfrog66
04-13-2001, 09:54 AM
I guess I'm not understanding. :confused:
/usr/linux/include/linux is already a subdirectory of /usr/linux/include, which has a lot of other sub directories. You mean create symlinks in /usr/linux/include for the contents of /usr/linux/include/linux?

I'm not sure that would work, since if I change the path in the make script to /usr/linux/include/linux (so it would have access to all the other files in /usr/linux/include/linux) I get all kinds of parse and symbol redefined errors.

Yvraine
04-13-2001, 11:41 AM
What he means is make a symlink for the directory itself, the same way you would for a file.

In Unix, everything is a file! Even directories!

Which means you handle them the same way.

Badfrog66
04-13-2001, 06:38 PM
What he means is make a symlink for the directory itself, the same way you would for a file. In Unix, everything is a file! Even directories!

I understand symlinks, but in this case, I would be creating a symlink in a directory for one of its sub-directories.
i.e. create a link to /myfolder/mysubfolder in /myfolder. There's ALREADY a link to mysubfolder in myfolder.

Besides, I already tried changing the make script to look in the correct subdirectory (/usr/src/linux/include/linux) instead of the parent (/usr/src/linux/include) and it didn't help.

I tried editing the script to look in the correct directory, but I then get a bunch of errors about things being redefined and parse errors