jwilson
04-01-2001, 06:58 PM
This is a clip from the tutorial page:
Select the RFC1483/2684 option in kernel configuration and rebuild the
kernel. Next, get the following BR2684 utility;
http://home.sch.bme.hu/~cell/br2684/dist/pppbr-000713-br2684ctl.c.gz
Unzip and compile with;
% cc -o br2684ctl br2684ctl.c -l atm.
Do you have the correct symlinks in /usr/include/linux and /usr/include/asm?
If your gcc cannot see the relevant .h files the compile will fail.
(Before the patch operation you have little chance, honestly ;)
First of all, I believe they made a typo because the .c file names do not match. (afer you unzip it just removes the .gz)
Anyway, I unzip the file with gzip -d filename, and then run the cc comand from above but I get the error:
1. atm is not a valid directory
2. can't find the header files
Obviously it has to do with the part about the symlinks, but I don't understand exactly what it's telling me to do.
Here's what the header directives look like:
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <sys/ioctl.h>
#include <string.h>
#include <atm.h>
#include <linux/atmdev.h>
#include <linux/atmbr2684.h>
I'm using RedHat 7.0
Can anyone steer me in the right direction? Thanks much,
jwilson
[ 01 April 2001: Message edited by: jwilson ]
Select the RFC1483/2684 option in kernel configuration and rebuild the
kernel. Next, get the following BR2684 utility;
http://home.sch.bme.hu/~cell/br2684/dist/pppbr-000713-br2684ctl.c.gz
Unzip and compile with;
% cc -o br2684ctl br2684ctl.c -l atm.
Do you have the correct symlinks in /usr/include/linux and /usr/include/asm?
If your gcc cannot see the relevant .h files the compile will fail.
(Before the patch operation you have little chance, honestly ;)
First of all, I believe they made a typo because the .c file names do not match. (afer you unzip it just removes the .gz)
Anyway, I unzip the file with gzip -d filename, and then run the cc comand from above but I get the error:
1. atm is not a valid directory
2. can't find the header files
Obviously it has to do with the part about the symlinks, but I don't understand exactly what it's telling me to do.
Here's what the header directives look like:
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <sys/ioctl.h>
#include <string.h>
#include <atm.h>
#include <linux/atmdev.h>
#include <linux/atmbr2684.h>
I'm using RedHat 7.0
Can anyone steer me in the right direction? Thanks much,
jwilson
[ 01 April 2001: Message edited by: jwilson ]