You haven't modversions.h generated from your kernel source code (it is using from kernel-headers). Maybe you need make menuconfig and make dep to generate this file into kernel source code.
Regards,
Josep
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-12-02
Hello Josep,
Your suggest was OK.
The output is changed, but problems never ends.
[root@localhost cxacru]# make
cd init && make clean
make[1]: Entering directory `/usr/cxacru/init'
rm -f cxload cxioctl cxloaddbg cxloaddbgt
make[1]: Leaving directory `/usr/cxacru/init'
cd module && make clean
make[1]: Entering directory `/usr/cxacru/module'
rm -f cxacrunormal.o sarlib.o sartest cxacru.o cxacrudebug.o cxacrudbg.o version.h
make[1]: Leaving directory `/usr/cxacru/module'
cd module2 && make clean
make[1]: Entering directory `/usr/cxacru/module2'
rm -f *.o .*.flags *.ko *.mod.* .*.o.cmd .*.ko.cmd
make[1]: Leaving directory `/usr/cxacru/module2'
cd sarlib && make clean
make[1]: Entering directory `/usr/cxacru/sarlib'
/bin/rm -f *.o
make[1]: Leaving directory `/usr/cxacru/sarlib'
cd panel && make clean
make[1]: Entering directory `/usr/cxacru/panel'
rm -f cxpanel *.bak
make[1]: Leaving directory `/usr/cxacru/panel'
cd bridged && make clean
make[1]: Entering directory `/usr/cxacru/bridged'
rm -f br2684ctl
make[1]: Leaving directory `/usr/cxacru/bridged'
cd init && make && make install
make[1]: Entering directory `/usr/cxacru/init'
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -pipe -march=i686 -Wall -DLINUX -I../include -lusb -lpthread cxload.c -o cxload
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -pipe -march=i686 -Wall -DLINUX -I../include -lusb -lpthread cxioctl.c -o cxioctl
make[1]: Leaving directory `/usr/cxacru/init'
make[1]: Entering directory `/usr/cxacru/init'
install -c -m 755 -p cxload cxioctl /usr/sbin
make[1]: Leaving directory `/usr/cxacru/init'
cd firmware && make
make[1]: Entering directory `/usr/cxacru/firmware'
install -c -m 644 -p cxfirm1.bin cxfirm2.bin cxfirm3.bin cxfirm4.bin cxfirm5.bin /usr/sbin
make[1]: Leaving directory `/usr/cxacru/firmware'
cd module && make && make install
make[1]: Entering directory `/usr/cxacru/module'
gcc -O2 -Wstrict-prototypes -Wno-trigraphs -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-common -mpreferred-stack-boundary=2 -march=i686 -Wall -D__KERNEL__ -DLINUX -DATM_VCC_ALLOC_TX -DMODULE -I/lib/modules/2.4.20-8/build/include -I../sarlib/ -c cxacru.c -o cxacrunormal.o
make -C ../sarlib/
make[2]: Entering directory `/usr/cxacru/sarlib'
cc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -march=i686 -Wall -D__KERNEL__ -DLINUX -DATM_VCC_OLD -DATM_VCC_ALLOC_TX -I/lib/modules/2.4.20-8/build/include -c sarlib.c -o sarlib.o
cc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -march=i686 -Wall -D__KERNEL__ -DLINUX -DATM_VCC_OLD -DATM_VCC_ALLOC_TX -I/lib/modules/2.4.20-8/build/include -DDEBUG -c sarlib.c -o sarlibdbg.o
make[2]: Leaving directory `/usr/cxacru/sarlib'
ld -r -o cxacru.o cxacrunormal.o ../sarlib/sarlib.o
gcc -O2 -Wstrict-prototypes -Wno-trigraphs -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-common -mpreferred-stack-boundary=2 -march=i686 -Wall -D__KERNEL__ -DLINUX -DATM_VCC_ALLOC_TX -DMODULE -I/lib/modules/2.4.20-8/build/include -I../sarlib/ -DDEBUG -DDEBUG_PACKET -c cxacru.c -o cxacrudebug.o
ld -r -o cxacrudbg.o cxacrudebug.o ../sarlib/sarlibdbg.o
make[1]: Leaving directory `/usr/cxacru/module'
make[1]: Entering directory `/usr/cxacru/module'
mkdir -p /lib/modules/2.4.20-8/kernel/drivers/usb
cp cxacru.o /lib/modules/2.4.20-8/kernel/drivers/usb
cp cxacrudbg.o /lib/modules/2.4.20-8/kernel/drivers/usb
/sbin/depmod -a
make[1]: Leaving directory `/usr/cxacru/module'
cd scripts && make
make[1]: Entering directory `/usr/cxacru/scripts'
install -c -m 755 -p cxload.sh cxunload.sh cxstart.sh cxstop.sh /usr/sbin
install -c -m 755 -p service/cxacru /etc/cxacru.service
if [ ! -f /etc/cxacru ]; then \
install -c -m 644 -p config/cxacru /etc; \
fi
install -c -m 755 -p cxnetup.sh cxnetdown.sh /usr/sbin
install -c -m 755 -p cxnet2up.sh cxnet2down.sh /usr/sbin
install -c -m 755 -p cxnet3up.sh cxnet3down.sh /usr/sbin
install -c -m 755 -p cxnet4up.sh cxnet4down.sh /usr/sbin
make[1]: Leaving directory `/usr/cxacru/scripts'
cd bridged && make && make install
make[1]: Entering directory `/usr/cxacru/bridged'
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -pipe -march=i686 -Wall -DLINUX -I/lib/modules/2.4.20-8/build/include br2684ctl.c -o br2684ctl -latm
make[1]: Leaving directory `/usr/cxacru/bridged'
make[1]: Entering directory `/usr/cxacru/bridged'
install -c -m 755 -p br2684ctl /usr/sbin
make[1]: Leaving directory `/usr/cxacru/bridged'
cd panel && make && make install
make[1]: libglade-config: Command not found
make[1]: Entering directory `/usr/cxacru/panel'
make[1]: libglade-config: Command not found
?HBgcc -O2 -fomit-frame-pointer -pipe -march=i686 -Wall -DLINUX -I../include
-lusb cxpanel.c -o cxpanel
cxpanel.c:45:21: gtk/gtk.h: No such file or directory
cxpanel.c:46:25: glade/glade.h: No such file or directory
cxpanel.c:98: parse error before '*' token
cxpanel.c:98: warning: type defaults to `int' in declaration of `xml'
cxpanel.c:98: warning: data definition has no type or storage class
cxpanel.c:99: parse error before '*' token
cxpanel.c:99: warning: type defaults to `int' in declaration of `xmld'
cxpanel.c:99: warning: data definition has no type or storage class
cxpanel.c: In function `create_dialog':
cxpanel.c:223: warning: implicit declaration of function `glade_xml_new'
cxpanel.c:223: warning: assignment makes pointer from integer without a cast
cxpanel.c:227: warning: implicit declaration of function `gtk_window_set_transient_for'
cxpanel.c:227: warning: implicit declaration of function `GTK_WINDOW'
cxpanel.c:227: warning: implicit declaration of function `glade_xml_get_widget'
cxpanel.c:228: warning: implicit declaration of function `glade_xml_signal_autoconnect'
cxpanel.c: In function `show_dialog_info':
cxpanel.c:236: warning: implicit declaration of function `gtk_window_set_title'
cxpanel.c:237: warning: implicit declaration of function `gtk_label_set_text'
cxpanel.c:237: warning: implicit declaration of function `GTK_LABEL'
cxpanel.c:238: warning: implicit declaration of function `gtk_widget_show_all'
cxpanel.c: At top level:
cxpanel.c:243: parse error before '*' token
cxpanel.c: In function `on_button_ok_di_clicked':
cxpanel.c:245: warning: implicit declaration of function `gtk_widget_destroy'
cxpanel.c:247: warning: implicit declaration of function `gtk_main_quit'
cxpanel.c: At top level:
cxpanel.c:252: parse error before "on_dialog_info_delete_event"
cxpanel.c:252: parse error before '*' token
cxpanel.c:253: warning: return type defaults to `int'
cxpanel.c: In function `on_dialog_info_delete_event':
cxpanel.c:256: `TRUE' undeclared (first use in this function)
cxpanel.c:256: (Each undeclared identifier is reported only once
cxpanel.c:256: for each function it appears in.)
cxpanel.c: At top level:
cxpanel.c:261: parse error before '*' token
cxpanel.c: In function `change_color':
cxpanel.c:263: `GdkColor' undeclared (first use in this function)
cxpanel.c:263: parse error before "color"
cxpanel.c:264: `GtkRcStyle' undeclared (first use in this function)
cxpanel.c:264: `rc_style' undeclared (first use in this function)
cxpanel.c:266: warning: implicit declaration of function `gdk_color_parse'
cxpanel.c:266: `colorname' undeclared (first use in this function)
cxpanel.c:266: `color' undeclared (first use in this function)
cxpanel.c:268: warning: implicit declaration of function `gtk_rc_style_new'
cxpanel.c:270: warning: implicit declaration of function `GTK_WIDGET_STATE'
cxpanel.c:270: `widget' undeclared (first use in this function)
cxpanel.c:272: `GTK_RC_FG' undeclared (first use in this function)
cxpanel.c:274: warning: implicit declaration of function `gtk_widget_modify_style'
cxpanel.c:276: warning: implicit declaration of function `gtk_rc_style_unref'
cxpanel.c: At top level:
cxpanel.c:282: parse error before "on_drawingarea_led_expose_event"
cxpanel.c:282: parse error before '*' token
cxpanel.c:283: warning: return type defaults to `int'
cxpanel.c: In function `on_drawingarea_led_expose_event':
cxpanel.c:284: warning: implicit declaration of function `GTK_WIDGET_VISIBLE'
cxpanel.c:284: `widget' undeclared (first use in this function)
cxpanel.c:284: `TRUE' undeclared (first use in this function)
cxpanel.c:285: warning: implicit declaration of function `gdk_draw_arc'
cxpanel.c: At top level:
cxpanel.c:347: parse error before "get_data"
cxpanel.c:347: parse error before "data"
cxpanel.c:348: warning: return type defaults to `int'
cxpanel.c: In function `get_data':
cxpanel.c:373: warning: implicit declaration of function `gtk_widget_hide_all'
cxpanel.c:375: `TRUE' undeclared (first use in this function)
cxpanel.c: At top level:
cxpanel.c:562: parse error before '*' token
cxpanel.c:568: parse error before '*' token
cxpanel.c: In function `on_button_advanced_clicked':
cxpanel.c:572: warning: implicit declaration of function `gtk_notebook_get_nth_page'
cxpanel.c:572: warning: implicit declaration of function `GTK_NOTEBOOK'
cxpanel.c: In function `check_modem':
cxpanel.c:632: warning: implicit declaration of function `gtk_main'
cxpanel.c: In function `main':
cxpanel.c:711: warning: implicit declaration of function `gtk_set_locale'
cxpanel.c:714: warning: implicit declaration of function `gtk_init_check'
cxpanel.c:714: `FALSE' undeclared (first use in this function)
cxpanel.c:720: warning: implicit declaration of function `glade_init'
cxpanel.c:739: warning: assignment makes pointer from integer without a cast
cxpanel.c:747: warning: implicit declaration of function `gtk_timeout_add'
make[1]: *** [cxpanel] Error 1
make[1]: Leaving directory `/usr/cxacru/panel'
make: *** [CX_PANEL] Error 2
Isn't a strange output?
I'm using the installation procedures I've read on this forum and in documentations, I hope to missing nothing.
Excuse me for the time that you spend to read my messages (I'm brief).
Regards, Mauro
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-12-02
To compile with RedHat 9.0:
.-You check your kernel version (uname -r)
.-You need SAME kernel source code that kernel that are you running (you don't need compile kernel, only driver but you need kernel source code)
.-You install kernel-source*****.rpm package from CDs if you use default kernel version.
ln -s /usr/src/linux-2.4.20-8 /usr/src/linux
cd /usr/src/linux
make mrproper
make menuconfig
-----
Code maturity level options
[*] Prompt for development and/or incomplete code/drivers
Loadable module support
[*] Enable loadable module support
[*] Set version information on all module symbols
[*] Kernel module loader
Processor type and features
[ ] Symmetric multi-processing support
Networking options
<*> Packet socket
<*> Unix domain sockets
[*] TCP/IP networking
[*] Asynchronous Transfer Mode (ATM)
Network Device Support
<M> PPP (point-to-point protocol) support
<M> PPP Deflate compression
<M> PPP over ATM
USB support
<*> Support for USB
[*] Preliminary USB device filesystem
<M> UHCI
<M> OHCI
-----
Save & Exit
.-Copy .config file:
cp ./configs/kernel-2.4.20-i686.config .config
(if you haven't i686 then you check configs directory)
make dep
.-Go to cxacru directory:
cd /usr/cxacur
.-Compile driver:
make
Is right?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-12-02
ERRATA CORRIGE... but the output of make is the same.
To compile with RedHat 9.0:
.-You check your kernel version (uname -r)
.-You need SAME kernel source code that kernel that are you running (you don't need compile kernel, only driver but you need kernel source code)
.-You install kernel-source*****.rpm package from CDs if you use default kernel version.
.-Change to kernel source directory:
cd /usr/src/linux*****
make mrproper
make menuconfig
-----
Code maturity level options
[*] Prompt for development and/or incomplete code/drivers
Loadable module support
[*] Enable loadable module support
[*] Set version information on all module symbols
[*] Kernel module loader
Processor type and features
[ ] Symmetric multi-processing support
Networking options
<*> Packet socket
<*> Unix domain sockets
[*] TCP/IP networking
[*] Asynchronous Transfer Mode (ATM)
Network Device Support
<M> PPP (point-to-point protocol) support
<M> PPP Deflate compression
<M> PPP over ATM
USB support
<*> Support for USB
[*] Preliminary USB device filesystem
<M> UHCI
<M> OHCI
-----
Save & Exit
make dep
(You can need it; it takes some time.)
.-Copy .config file:
cp ./configs/kernel-2.4.20-i386.config .config
(most generic)
OTHERWISE
cp ./configs/kernel-2.4.20-i686.config .config
(if you have i686)
OTHERWISE
cp ./configs/kernel-2.4.20-athlon.config .config
(if you have AMD processors... right?)
.-Go to cxacru directory:
cd /usr/cxacru
.-Compile driver:
make
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-12-02
PLEASE HELP
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-12-02
menuconfig parameters are for my case: PPP over ATM
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You don't worry about cxpanel, this isn't needed to run driver. if you want compile cxpanel you need install gtk, glade libraries (run and develop).
Now, you need configure your ppp over atm connection. You need modify /etc/cxacru, /etc/ppp/options, /etc/ppp/chap-secrets and /etc/ppp/pap-secrets files.
I recommend that you look installation example from http://bcrp-web.chez.tiscali.fr
Also you can visit http://cxacru.altervista.org/
Regards,
Josep
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Please, just a little help...
[root@localhost cxacru]# make
cd init && make clean
make[1]: Entering directory `/usr/cxacru/init'
rm -f cxload cxioctl cxloaddbg cxloaddbgt
make[1]: Leaving directory `/usr/cxacru/init'
cd module && make clean
make[1]: Entering directory `/usr/cxacru/module'
rm -f cxacrunormal.o sarlib.o sartest cxacru.o cxacrudebug.o cxacrudbg.o version.h
make[1]: Leaving directory `/usr/cxacru/module'
cd module2 && make clean
make[1]: Entering directory `/usr/cxacru/module2'
rm -f *.o .*.flags *.ko *.mod.* .*.o.cmd .*.ko.cmd
make[1]: Leaving directory `/usr/cxacru/module2'
cd sarlib && make clean
make[1]: Entering directory `/usr/cxacru/sarlib'
/bin/rm -f *.o
make[1]: Leaving directory `/usr/cxacru/sarlib'
cd panel && make clean
make[1]: Entering directory `/usr/cxacru/panel'
rm -f cxpanel *.bak
make[1]: Leaving directory `/usr/cxacru/panel'
cd bridged && make clean
make[1]: Entering directory `/usr/cxacru/bridged'
rm -f br2684ctl
make[1]: Leaving directory `/usr/cxacru/bridged'
cd init && make && make install
make[1]: Entering directory `/usr/cxacru/init'
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -pipe -march=i686 -Wall -DLINUX -I../include -lusb -lpthread cxload.c -o cxload
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -pipe -march=i686 -Wall -DLINUX -I../include -lusb -lpthread cxioctl.c -o cxioctl
make[1]: Leaving directory `/usr/cxacru/init'
make[1]: Entering directory `/usr/cxacru/init'
install -c -m 755 -p cxload cxioctl /usr/sbin
make[1]: Leaving directory `/usr/cxacru/init'
cd firmware && make
make[1]: Entering directory `/usr/cxacru/firmware'
install -c -m 644 -p cxfirm1.bin cxfirm2.bin cxfirm3.bin cxfirm4.bin cxfirm5.bin /usr/sbin
make[1]: Leaving directory `/usr/cxacru/firmware'
cd module && make && make install
make[1]: Entering directory `/usr/cxacru/module'
gcc -O2 -Wstrict-prototypes -Wno-trigraphs -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-common -mpreferred-stack-boundary=2 -march=i686 -Wall -D__KERNEL__ -DLINUX -DATM_VCC_ALLOC_TX -DMODULE -I/lib/modules/2.4.20-8/build/include -I../sarlib/ -c cxacru.c -o cxacrunormal.o
In file included from cxacru.c:55:
/usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: #error but rather headers from an appropriate kernel-source package.
/usr/include/linux/modversions.h:3:2: #error Change -I/usr/src/linux/include (or similar) to
/usr/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname -r)/build/include
/usr/include/linux/modversions.h:5:2: #error to build against the currently-running kernel.
In file included from ../sarlib/sarlib.h:16,
from cxacru.c:81:
/usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: #error but rather headers from an appropriate kernel-source package.
/usr/include/linux/modversions.h:3:2: #error Change -I/usr/src/linux/include (or similar) to
/usr/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname -r)/build/include
/usr/include/linux/modversions.h:5:2: #error to build against the currently-running kernel.
make[1]: *** [cxacrunormal.o] Error 1
make[1]: Leaving directory `/usr/cxacru/module'
make: *** [CX_MODULE] Error 2
Hello,
You haven't modversions.h generated from your kernel source code (it is using from kernel-headers). Maybe you need make menuconfig and make dep to generate this file into kernel source code.
Regards,
Josep
Hello Josep,
Your suggest was OK.
The output is changed, but problems never ends.
[root@localhost cxacru]# make
cd init && make clean
make[1]: Entering directory `/usr/cxacru/init'
rm -f cxload cxioctl cxloaddbg cxloaddbgt
make[1]: Leaving directory `/usr/cxacru/init'
cd module && make clean
make[1]: Entering directory `/usr/cxacru/module'
rm -f cxacrunormal.o sarlib.o sartest cxacru.o cxacrudebug.o cxacrudbg.o version.h
make[1]: Leaving directory `/usr/cxacru/module'
cd module2 && make clean
make[1]: Entering directory `/usr/cxacru/module2'
rm -f *.o .*.flags *.ko *.mod.* .*.o.cmd .*.ko.cmd
make[1]: Leaving directory `/usr/cxacru/module2'
cd sarlib && make clean
make[1]: Entering directory `/usr/cxacru/sarlib'
/bin/rm -f *.o
make[1]: Leaving directory `/usr/cxacru/sarlib'
cd panel && make clean
make[1]: Entering directory `/usr/cxacru/panel'
rm -f cxpanel *.bak
make[1]: Leaving directory `/usr/cxacru/panel'
cd bridged && make clean
make[1]: Entering directory `/usr/cxacru/bridged'
rm -f br2684ctl
make[1]: Leaving directory `/usr/cxacru/bridged'
cd init && make && make install
make[1]: Entering directory `/usr/cxacru/init'
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -pipe -march=i686 -Wall -DLINUX -I../include -lusb -lpthread cxload.c -o cxload
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -pipe -march=i686 -Wall -DLINUX -I../include -lusb -lpthread cxioctl.c -o cxioctl
make[1]: Leaving directory `/usr/cxacru/init'
make[1]: Entering directory `/usr/cxacru/init'
install -c -m 755 -p cxload cxioctl /usr/sbin
make[1]: Leaving directory `/usr/cxacru/init'
cd firmware && make
make[1]: Entering directory `/usr/cxacru/firmware'
install -c -m 644 -p cxfirm1.bin cxfirm2.bin cxfirm3.bin cxfirm4.bin cxfirm5.bin /usr/sbin
make[1]: Leaving directory `/usr/cxacru/firmware'
cd module && make && make install
make[1]: Entering directory `/usr/cxacru/module'
gcc -O2 -Wstrict-prototypes -Wno-trigraphs -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-common -mpreferred-stack-boundary=2 -march=i686 -Wall -D__KERNEL__ -DLINUX -DATM_VCC_ALLOC_TX -DMODULE -I/lib/modules/2.4.20-8/build/include -I../sarlib/ -c cxacru.c -o cxacrunormal.o
make -C ../sarlib/
make[2]: Entering directory `/usr/cxacru/sarlib'
cc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -march=i686 -Wall -D__KERNEL__ -DLINUX -DATM_VCC_OLD -DATM_VCC_ALLOC_TX -I/lib/modules/2.4.20-8/build/include -c sarlib.c -o sarlib.o
cc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -march=i686 -Wall -D__KERNEL__ -DLINUX -DATM_VCC_OLD -DATM_VCC_ALLOC_TX -I/lib/modules/2.4.20-8/build/include -DDEBUG -c sarlib.c -o sarlibdbg.o
make[2]: Leaving directory `/usr/cxacru/sarlib'
ld -r -o cxacru.o cxacrunormal.o ../sarlib/sarlib.o
gcc -O2 -Wstrict-prototypes -Wno-trigraphs -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-common -mpreferred-stack-boundary=2 -march=i686 -Wall -D__KERNEL__ -DLINUX -DATM_VCC_ALLOC_TX -DMODULE -I/lib/modules/2.4.20-8/build/include -I../sarlib/ -DDEBUG -DDEBUG_PACKET -c cxacru.c -o cxacrudebug.o
ld -r -o cxacrudbg.o cxacrudebug.o ../sarlib/sarlibdbg.o
make[1]: Leaving directory `/usr/cxacru/module'
make[1]: Entering directory `/usr/cxacru/module'
mkdir -p /lib/modules/2.4.20-8/kernel/drivers/usb
cp cxacru.o /lib/modules/2.4.20-8/kernel/drivers/usb
cp cxacrudbg.o /lib/modules/2.4.20-8/kernel/drivers/usb
/sbin/depmod -a
make[1]: Leaving directory `/usr/cxacru/module'
cd scripts && make
make[1]: Entering directory `/usr/cxacru/scripts'
install -c -m 755 -p cxload.sh cxunload.sh cxstart.sh cxstop.sh /usr/sbin
install -c -m 755 -p service/cxacru /etc/cxacru.service
if [ ! -f /etc/cxacru ]; then \
install -c -m 644 -p config/cxacru /etc; \
fi
install -c -m 755 -p cxnetup.sh cxnetdown.sh /usr/sbin
install -c -m 755 -p cxnet2up.sh cxnet2down.sh /usr/sbin
install -c -m 755 -p cxnet3up.sh cxnet3down.sh /usr/sbin
install -c -m 755 -p cxnet4up.sh cxnet4down.sh /usr/sbin
make[1]: Leaving directory `/usr/cxacru/scripts'
cd bridged && make && make install
make[1]: Entering directory `/usr/cxacru/bridged'
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -pipe -march=i686 -Wall -DLINUX -I/lib/modules/2.4.20-8/build/include br2684ctl.c -o br2684ctl -latm
make[1]: Leaving directory `/usr/cxacru/bridged'
make[1]: Entering directory `/usr/cxacru/bridged'
install -c -m 755 -p br2684ctl /usr/sbin
make[1]: Leaving directory `/usr/cxacru/bridged'
cd panel && make && make install
make[1]: libglade-config: Command not found
make[1]: Entering directory `/usr/cxacru/panel'
make[1]: libglade-config: Command not found
?HBgcc -O2 -fomit-frame-pointer -pipe -march=i686 -Wall -DLINUX -I../include
-lusb cxpanel.c -o cxpanel
cxpanel.c:45:21: gtk/gtk.h: No such file or directory
cxpanel.c:46:25: glade/glade.h: No such file or directory
cxpanel.c:98: parse error before '*' token
cxpanel.c:98: warning: type defaults to `int' in declaration of `xml'
cxpanel.c:98: warning: data definition has no type or storage class
cxpanel.c:99: parse error before '*' token
cxpanel.c:99: warning: type defaults to `int' in declaration of `xmld'
cxpanel.c:99: warning: data definition has no type or storage class
cxpanel.c: In function `create_dialog':
cxpanel.c:223: warning: implicit declaration of function `glade_xml_new'
cxpanel.c:223: warning: assignment makes pointer from integer without a cast
cxpanel.c:227: warning: implicit declaration of function `gtk_window_set_transient_for'
cxpanel.c:227: warning: implicit declaration of function `GTK_WINDOW'
cxpanel.c:227: warning: implicit declaration of function `glade_xml_get_widget'
cxpanel.c:228: warning: implicit declaration of function `glade_xml_signal_autoconnect'
cxpanel.c: In function `show_dialog_info':
cxpanel.c:236: warning: implicit declaration of function `gtk_window_set_title'
cxpanel.c:237: warning: implicit declaration of function `gtk_label_set_text'
cxpanel.c:237: warning: implicit declaration of function `GTK_LABEL'
cxpanel.c:238: warning: implicit declaration of function `gtk_widget_show_all'
cxpanel.c: At top level:
cxpanel.c:243: parse error before '*' token
cxpanel.c: In function `on_button_ok_di_clicked':
cxpanel.c:245: warning: implicit declaration of function `gtk_widget_destroy'
cxpanel.c:247: warning: implicit declaration of function `gtk_main_quit'
cxpanel.c: At top level:
cxpanel.c:252: parse error before "on_dialog_info_delete_event"
cxpanel.c:252: parse error before '*' token
cxpanel.c:253: warning: return type defaults to `int'
cxpanel.c: In function `on_dialog_info_delete_event':
cxpanel.c:256: `TRUE' undeclared (first use in this function)
cxpanel.c:256: (Each undeclared identifier is reported only once
cxpanel.c:256: for each function it appears in.)
cxpanel.c: At top level:
cxpanel.c:261: parse error before '*' token
cxpanel.c: In function `change_color':
cxpanel.c:263: `GdkColor' undeclared (first use in this function)
cxpanel.c:263: parse error before "color"
cxpanel.c:264: `GtkRcStyle' undeclared (first use in this function)
cxpanel.c:264: `rc_style' undeclared (first use in this function)
cxpanel.c:266: warning: implicit declaration of function `gdk_color_parse'
cxpanel.c:266: `colorname' undeclared (first use in this function)
cxpanel.c:266: `color' undeclared (first use in this function)
cxpanel.c:268: warning: implicit declaration of function `gtk_rc_style_new'
cxpanel.c:270: warning: implicit declaration of function `GTK_WIDGET_STATE'
cxpanel.c:270: `widget' undeclared (first use in this function)
cxpanel.c:272: `GTK_RC_FG' undeclared (first use in this function)
cxpanel.c:274: warning: implicit declaration of function `gtk_widget_modify_style'
cxpanel.c:276: warning: implicit declaration of function `gtk_rc_style_unref'
cxpanel.c: At top level:
cxpanel.c:282: parse error before "on_drawingarea_led_expose_event"
cxpanel.c:282: parse error before '*' token
cxpanel.c:283: warning: return type defaults to `int'
cxpanel.c: In function `on_drawingarea_led_expose_event':
cxpanel.c:284: warning: implicit declaration of function `GTK_WIDGET_VISIBLE'
cxpanel.c:284: `widget' undeclared (first use in this function)
cxpanel.c:284: `TRUE' undeclared (first use in this function)
cxpanel.c:285: warning: implicit declaration of function `gdk_draw_arc'
cxpanel.c: At top level:
cxpanel.c:347: parse error before "get_data"
cxpanel.c:347: parse error before "data"
cxpanel.c:348: warning: return type defaults to `int'
cxpanel.c: In function `get_data':
cxpanel.c:373: warning: implicit declaration of function `gtk_widget_hide_all'
cxpanel.c:375: `TRUE' undeclared (first use in this function)
cxpanel.c: At top level:
cxpanel.c:562: parse error before '*' token
cxpanel.c:568: parse error before '*' token
cxpanel.c: In function `on_button_advanced_clicked':
cxpanel.c:572: warning: implicit declaration of function `gtk_notebook_get_nth_page'
cxpanel.c:572: warning: implicit declaration of function `GTK_NOTEBOOK'
cxpanel.c: In function `check_modem':
cxpanel.c:632: warning: implicit declaration of function `gtk_main'
cxpanel.c: In function `main':
cxpanel.c:711: warning: implicit declaration of function `gtk_set_locale'
cxpanel.c:714: warning: implicit declaration of function `gtk_init_check'
cxpanel.c:714: `FALSE' undeclared (first use in this function)
cxpanel.c:720: warning: implicit declaration of function `glade_init'
cxpanel.c:739: warning: assignment makes pointer from integer without a cast
cxpanel.c:747: warning: implicit declaration of function `gtk_timeout_add'
make[1]: *** [cxpanel] Error 1
make[1]: Leaving directory `/usr/cxacru/panel'
make: *** [CX_PANEL] Error 2
Isn't a strange output?
I'm using the installation procedures I've read on this forum and in documentations, I hope to missing nothing.
Excuse me for the time that you spend to read my messages (I'm brief).
Regards, Mauro
To compile with RedHat 9.0:
.-You check your kernel version (uname -r)
.-You need SAME kernel source code that kernel that are you running (you don't need compile kernel, only driver but you need kernel source code)
.-You install kernel-source*****.rpm package from CDs if you use default kernel version.
ln -s /usr/src/linux-2.4.20-8 /usr/src/linux
cd /usr/src/linux
make mrproper
make menuconfig
-----
Code maturity level options
[*] Prompt for development and/or incomplete code/drivers
Loadable module support
[*] Enable loadable module support
[*] Set version information on all module symbols
[*] Kernel module loader
Processor type and features
[ ] Symmetric multi-processing support
Networking options
<*> Packet socket
<*> Unix domain sockets
[*] TCP/IP networking
[*] Asynchronous Transfer Mode (ATM)
Network Device Support
<M> PPP (point-to-point protocol) support
<M> PPP Deflate compression
<M> PPP over ATM
USB support
<*> Support for USB
[*] Preliminary USB device filesystem
<M> UHCI
<M> OHCI
-----
Save & Exit
.-Copy .config file:
cp ./configs/kernel-2.4.20-i686.config .config
(if you haven't i686 then you check configs directory)
make dep
.-Go to cxacru directory:
cd /usr/cxacur
.-Compile driver:
make
Is right?
ERRATA CORRIGE... but the output of make is the same.
To compile with RedHat 9.0:
.-You check your kernel version (uname -r)
.-You need SAME kernel source code that kernel that are you running (you don't need compile kernel, only driver but you need kernel source code)
.-You install kernel-source*****.rpm package from CDs if you use default kernel version.
.-Change to kernel source directory:
cd /usr/src/linux*****
make mrproper
make menuconfig
-----
Code maturity level options
[*] Prompt for development and/or incomplete code/drivers
Loadable module support
[*] Enable loadable module support
[*] Set version information on all module symbols
[*] Kernel module loader
Processor type and features
[ ] Symmetric multi-processing support
Networking options
<*> Packet socket
<*> Unix domain sockets
[*] TCP/IP networking
[*] Asynchronous Transfer Mode (ATM)
Network Device Support
<M> PPP (point-to-point protocol) support
<M> PPP Deflate compression
<M> PPP over ATM
USB support
<*> Support for USB
[*] Preliminary USB device filesystem
<M> UHCI
<M> OHCI
-----
Save & Exit
make dep
(You can need it; it takes some time.)
.-Copy .config file:
cp ./configs/kernel-2.4.20-i386.config .config
(most generic)
OTHERWISE
cp ./configs/kernel-2.4.20-i686.config .config
(if you have i686)
OTHERWISE
cp ./configs/kernel-2.4.20-athlon.config .config
(if you have AMD processors... right?)
.-Go to cxacru directory:
cd /usr/cxacru
.-Compile driver:
make
PLEASE HELP
menuconfig parameters are for my case: PPP over ATM
Hello,
You don't worry about cxpanel, this isn't needed to run driver. if you want compile cxpanel you need install gtk, glade libraries (run and develop).
Now, you need configure your ppp over atm connection. You need modify /etc/cxacru, /etc/ppp/options, /etc/ppp/chap-secrets and /etc/ppp/pap-secrets files.
I recommend that you look installation example from http://bcrp-web.chez.tiscali.fr
Also you can visit http://cxacru.altervista.org/
Regards,
Josep