You need install same kernel source code that kernel version that you run and you need .config from configs directory of /usr/src/linux or configXXX of /boot
You must copy to /usr/src/linux as .config file.
Regards,
Josep
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-11-22
[root@localhost cxacru]# make
cd init && make clean
make[1]: Entering directory `/home/challenger/adsl/cxacru/init'
rm -f cxload cxioctl cxloaddbg cxloaddbgt
make[1]: Leaving directory `/home/challenger/adsl/cxacru/init'
cd module && make clean
make[1]: Entering directory `/home/challenger/adsl/cxacru/module'
rm -f cxacrunormal.o sarlib.o sartest cxacru.o cxacrudebug.o cxacrudbg.o version.h
make[1]: Leaving directory `/home/challenger/adsl/cxacru/module'
cd module2 && make clean
make[1]: Entering directory `/home/challenger/adsl/cxacru/module2'
rm -f *.o .*.flags *.ko *.mod.* .*.o.cmd .*.ko.cmd
make[1]: Leaving directory `/home/challenger/adsl/cxacru/module2'
cd sarlib && make clean
make[1]: Entering directory `/home/challenger/adsl/cxacru/sarlib'
/bin/rm -f *.o
make[1]: Leaving directory `/home/challenger/adsl/cxacru/sarlib'
cd panel && make clean
make[1]: Entering directory `/home/challenger/adsl/cxacru/panel'
rm -f cxpanel *.bak
make[1]: Leaving directory `/home/challenger/adsl/cxacru/panel'
cd bridged && make clean
make[1]: Entering directory `/home/challenger/adsl/cxacru/bridged'
rm -f br2684ctl
make[1]: Leaving directory `/home/challenger/adsl/cxacru/bridged'
cd init && make && make install
make[1]: Entering directory `/home/challenger/adsl/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 `/home/challenger/adsl/cxacru/init'
make[1]: Entering directory `/home/challenger/adsl/cxacru/init'
install -c -m 755 -p cxload cxioctl /usr/sbin
make[1]: Leaving directory `/home/challenger/adsl/cxacru/init'
cd firmware && make
make[1]: Entering directory `/home/challenger/adsl/cxacru/firmware'
install -c -m 644 -p cxfirm1.bin cxfirm2.bin cxfirm3.bin cxfirm4.bin cxfirm5.bin /usr/sbin
make[1]: Leaving directory `/home/challenger/adsl/cxacru/firmware'
cd module && make && make install
make[1]: Entering directory `/home/challenger/adsl/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.21-4.EL/build/include -I../sarlib/ -c cxacru.c -o cxacrunormal.o
make -C ../sarlib/
make[2]: Entering directory `/home/challenger/adsl/cxacru/sarlib'
cc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -march=i686 -Wall -D__KERNEL__ -DLINUX -DATM_VCC_ALLOC_TX -I/lib/modules/2.4.21-4.EL/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_ALLOC_TX -I/lib/modules/2.4.21-4.EL/build/include -DDEBUG -c sarlib.c -o sarlibdbg.o
make[2]: Leaving directory `/home/challenger/adsl/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.21-4.EL/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 `/home/challenger/adsl/cxacru/module'
make[1]: Entering directory `/home/challenger/adsl/cxacru/module'
mkdir -p /lib/modules/2.4.21-4.EL/kernel/drivers/usb
cp cxacru.o /lib/modules/2.4.21-4.EL/kernel/drivers/usb
cp cxacrudbg.o /lib/modules/2.4.21-4.EL/kernel/drivers/usb
/sbin/depmod -a
make[1]: Leaving directory `/home/challenger/adsl/cxacru/module'
cd scripts && make
make[1]: Entering directory `/home/challenger/adsl/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 `/home/challenger/adsl/cxacru/scripts'
cd bridged && make && make install
make[1]: Entering directory `/home/challenger/adsl/cxacru/bridged'
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -pipe -march=i686 -Wall -DLINUX -I/lib/modules/2.4.21-4.EL/build/include br2684ctl.c -o br2684ctl -latm
make[1]: Leaving directory `/home/challenger/adsl/cxacru/bridged'
make[1]: Entering directory `/home/challenger/adsl/cxacru/bridged'
install -c -m 755 -p br2684ctl /usr/sbin
make[1]: Leaving directory `/home/challenger/adsl/cxacru/bridged'
cd panel && make && make install
make[1]: libglade-config: Command not found
make[1]: Entering directory `/home/challenger/adsl/cxacru/panel'
make[1]: libglade-config: Command not found
make[1]: Entering directory `/home/challenger/adsl/cxacru/panel'
gcc -O2 -fomit-frame-pointer -pipe -march=i686 -Wall -DLINUX -I../include -lusb cxpanel.c -o cxpanel
cxpanel.c:45:21: gtk/gtk.h: file or directory not exist
cxpanel.c:46:25: glade/glade.h: file or directory not exist
cxpanel.c:98: syntax 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: syntax 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: syntax 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: syntax error before "on_dialog_info_delete_event"
cxpanel.c:252: syntax 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: syntax error before '*' token
cxpanel.c: In function `change_color':
cxpanel.c:263: `GdkColor' undeclared (first use in this function)
cxpanel.c:263: syntax 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: syntax error before "on_drawingarea_led_expose_event"
cxpanel.c:282: syntax 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: syntax error before "get_data"
cxpanel.c:347: syntax 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: syntax error before '*' token
cxpanel.c:568: syntax 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 `/home/challenger/adsl/cxacru/panel'
make: *** [CX_PANEL] Error 2
my computer:
/usr/include/gtk-1.2/gtk/gtk.h
/usr/include/libglade-2.0/galde/glade.h
/usr/include/gtk-2.0/gtk/gtk.h
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
>>> Loading firmware...
Conexant AccessRunner microcode upload program. 6/9/2003
Josep Comas <jcomas@gna.es>
See credits in documentation
I found ADSL modem with VendorID = 0572 & ProductID = cb00
Loading and sending /usr/sbin/cxfirm4.bin...
Firmware is sent!
Setting configuration...
Waiting ADSL line is up (until 90 seconds)...
...........................
ADSL line is up (Downstream 1088 Kbits/s, Upstream 576 Kbits/s)
>>> Loading driver...
Launching driver in normal mode...
/usr/sbin/cxload.sh successful
Setting PPP over ATM...
>>> Setting PPPoA <<<
If PPPOATM is included into kernel then this message is ok:
>>> Loading pppoatm...
modprobe: Can't locate module pppoatm
otherwise you need compile kernel with pppoatm support.
What's your /etc/ppp/options file?
Put here /var/log/messages file and output of dmesg command after you launch cxstart.sh
Regards,
Josep
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Would you like to make a rpm for red hat enterprise as 3.0?
thanks!!!
Hello,
There isn't rpm for RedHat Entreprise 3.0. You can get source code and compile it.
To build a rpm: make rpm
Regards,
Josep
[root@localhost cxacru]# make rpm
cd init && make clean
make[1]: Entering directory `/home/challenger/adsl/cxacru/init'
rm -f cxload cxioctl cxloaddbg cxloaddbgt
make[1]: Leaving directory `/home/challenger/adsl/cxacru/init'
cd module && make clean
make[1]: Entering directory `/home/challenger/adsl/cxacru/module'
rm -f cxacrunormal.o sarlib.o sartest cxacru.o cxacrudebug.o cxacrudbg.o version.h
make[1]: Leaving directory `/home/challenger/adsl/cxacru/module'
cd module2 && make clean
make[1]: Entering directory `/home/challenger/adsl/cxacru/module2'
rm -f *.o .*.flags *.ko *.mod.* .*.o.cmd .*.ko.cmd
make[1]: Leaving directory `/home/challenger/adsl/cxacru/module2'
cd sarlib && make clean
make[1]: Entering directory `/home/challenger/adsl/cxacru/sarlib'
/bin/rm -f *.o
make[1]: Leaving directory `/home/challenger/adsl/cxacru/sarlib'
cd panel && make clean
make[1]: Entering directory `/home/challenger/adsl/cxacru/panel'
rm -f cxpanel *.bak
make[1]: Leaving directory `/home/challenger/adsl/cxacru/panel'
cd bridged && make clean
make[1]: Entering directory `/home/challenger/adsl/cxacru/bridged'
rm -f br2684ctl
make[1]: Leaving directory `/home/challenger/adsl/cxacru/bridged'
cd init && make && make install
make[1]: Entering directory `/home/challenger/adsl/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 `/home/challenger/adsl/cxacru/init'
make[1]: Entering directory `/home/challenger/adsl/cxacru/init'
install -c -m 755 -p cxload cxioctl /usr/sbin
make[1]: Leaving directory `/home/challenger/adsl/cxacru/init'
cd firmware && make
make[1]: Entering directory `/home/challenger/adsl/cxacru/firmware'
install -c -m 644 -p cxfirm1.bin cxfirm2.bin cxfirm3.bin cxfirm4.bin cxfirm5.bin /usr/sbin
make[1]: Leaving directory `/home/challenger/adsl/cxacru/firmware'
cd module && make && make install
make[1]: Entering directory `/home/challenger/adsl/cxacru/module'
Makefile:15: /lib/modules/2.4.21-4.EL/build/.config: file or directory not exist
make[1]: *** No rule to make target `/lib/modules/2.4.21-4.EL/build/.config'. Stop.
make[1]: Leaving directory `/home/challenger/adsl/cxacru/module'
make: *** [CX_MODULE] Error 2
What can I do? thanks!
Hello,
You need install same kernel source code that kernel version that you run and you need .config from configs directory of /usr/src/linux or configXXX of /boot
You must copy to /usr/src/linux as .config file.
Regards,
Josep
[root@localhost cxacru]# make
cd init && make clean
make[1]: Entering directory `/home/challenger/adsl/cxacru/init'
rm -f cxload cxioctl cxloaddbg cxloaddbgt
make[1]: Leaving directory `/home/challenger/adsl/cxacru/init'
cd module && make clean
make[1]: Entering directory `/home/challenger/adsl/cxacru/module'
rm -f cxacrunormal.o sarlib.o sartest cxacru.o cxacrudebug.o cxacrudbg.o version.h
make[1]: Leaving directory `/home/challenger/adsl/cxacru/module'
cd module2 && make clean
make[1]: Entering directory `/home/challenger/adsl/cxacru/module2'
rm -f *.o .*.flags *.ko *.mod.* .*.o.cmd .*.ko.cmd
make[1]: Leaving directory `/home/challenger/adsl/cxacru/module2'
cd sarlib && make clean
make[1]: Entering directory `/home/challenger/adsl/cxacru/sarlib'
/bin/rm -f *.o
make[1]: Leaving directory `/home/challenger/adsl/cxacru/sarlib'
cd panel && make clean
make[1]: Entering directory `/home/challenger/adsl/cxacru/panel'
rm -f cxpanel *.bak
make[1]: Leaving directory `/home/challenger/adsl/cxacru/panel'
cd bridged && make clean
make[1]: Entering directory `/home/challenger/adsl/cxacru/bridged'
rm -f br2684ctl
make[1]: Leaving directory `/home/challenger/adsl/cxacru/bridged'
cd init && make && make install
make[1]: Entering directory `/home/challenger/adsl/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 `/home/challenger/adsl/cxacru/init'
make[1]: Entering directory `/home/challenger/adsl/cxacru/init'
install -c -m 755 -p cxload cxioctl /usr/sbin
make[1]: Leaving directory `/home/challenger/adsl/cxacru/init'
cd firmware && make
make[1]: Entering directory `/home/challenger/adsl/cxacru/firmware'
install -c -m 644 -p cxfirm1.bin cxfirm2.bin cxfirm3.bin cxfirm4.bin cxfirm5.bin /usr/sbin
make[1]: Leaving directory `/home/challenger/adsl/cxacru/firmware'
cd module && make && make install
make[1]: Entering directory `/home/challenger/adsl/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.21-4.EL/build/include -I../sarlib/ -c cxacru.c -o cxacrunormal.o
make -C ../sarlib/
make[2]: Entering directory `/home/challenger/adsl/cxacru/sarlib'
cc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -march=i686 -Wall -D__KERNEL__ -DLINUX -DATM_VCC_ALLOC_TX -I/lib/modules/2.4.21-4.EL/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_ALLOC_TX -I/lib/modules/2.4.21-4.EL/build/include -DDEBUG -c sarlib.c -o sarlibdbg.o
make[2]: Leaving directory `/home/challenger/adsl/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.21-4.EL/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 `/home/challenger/adsl/cxacru/module'
make[1]: Entering directory `/home/challenger/adsl/cxacru/module'
mkdir -p /lib/modules/2.4.21-4.EL/kernel/drivers/usb
cp cxacru.o /lib/modules/2.4.21-4.EL/kernel/drivers/usb
cp cxacrudbg.o /lib/modules/2.4.21-4.EL/kernel/drivers/usb
/sbin/depmod -a
make[1]: Leaving directory `/home/challenger/adsl/cxacru/module'
cd scripts && make
make[1]: Entering directory `/home/challenger/adsl/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 `/home/challenger/adsl/cxacru/scripts'
cd bridged && make && make install
make[1]: Entering directory `/home/challenger/adsl/cxacru/bridged'
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -pipe -march=i686 -Wall -DLINUX -I/lib/modules/2.4.21-4.EL/build/include br2684ctl.c -o br2684ctl -latm
make[1]: Leaving directory `/home/challenger/adsl/cxacru/bridged'
make[1]: Entering directory `/home/challenger/adsl/cxacru/bridged'
install -c -m 755 -p br2684ctl /usr/sbin
make[1]: Leaving directory `/home/challenger/adsl/cxacru/bridged'
cd panel && make && make install
make[1]: libglade-config: Command not found
make[1]: Entering directory `/home/challenger/adsl/cxacru/panel'
make[1]: libglade-config: Command not found
make[1]: Entering directory `/home/challenger/adsl/cxacru/panel'
gcc -O2 -fomit-frame-pointer -pipe -march=i686 -Wall -DLINUX -I../include -lusb cxpanel.c -o cxpanel
cxpanel.c:45:21: gtk/gtk.h: file or directory not exist
cxpanel.c:46:25: glade/glade.h: file or directory not exist
cxpanel.c:98: syntax 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: syntax 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: syntax 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: syntax error before "on_dialog_info_delete_event"
cxpanel.c:252: syntax 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: syntax error before '*' token
cxpanel.c: In function `change_color':
cxpanel.c:263: `GdkColor' undeclared (first use in this function)
cxpanel.c:263: syntax 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: syntax error before "on_drawingarea_led_expose_event"
cxpanel.c:282: syntax 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: syntax error before "get_data"
cxpanel.c:347: syntax 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: syntax error before '*' token
cxpanel.c:568: syntax 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 `/home/challenger/adsl/cxacru/panel'
make: *** [CX_PANEL] Error 2
my computer:
/usr/include/gtk-1.2/gtk/gtk.h
/usr/include/libglade-2.0/galde/glade.h
/usr/include/gtk-2.0/gtk/gtk.h
But I can run cxstart.sh
[root@localhost plugins]# cxstart.sh
>>> Inits Conexant AccessRunner <<<
>>> Loading firmware...
Conexant AccessRunner microcode upload program. 6/9/2003
Josep Comas <jcomas@gna.es>
See credits in documentation
I found ADSL modem with VendorID = 0572 & ProductID = cb00
Loading and sending /usr/sbin/cxfirm4.bin...
Firmware is sent!
Setting configuration...
Waiting ADSL line is up (until 90 seconds)...
...........................
ADSL line is up (Downstream 1088 Kbits/s, Upstream 576 Kbits/s)
>>> Loading driver...
Launching driver in normal mode...
/usr/sbin/cxload.sh successful
Setting PPP over ATM...
>>> Setting PPPoA <<<
>>> Loading ppp_generic...
>>> Loading pppoatm...
modprobe: Can't locate module pppoatm
>>> Activating send/receive data...
Conexant AccessRunner ioctl call. 6/9/2003
Josep Comas <jcomas@gna.es>
See credits in documentation
I found ADSL modem with VendorID = 0572 & ProductID = cb00
>>> Loading pppd daemon...
/usr/sbin/cxnet2up.sh successful
[root@localhost plugins]# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:593 errors:0 dropped:0 overruns:0 frame:0
TX packets:593 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:56098 (54.7 Kb) TX bytes:56098 (54.7 Kb)
what's wrong???
thanks!!!
If PPPOATM is included into kernel then this message is ok:
>>> Loading pppoatm...
modprobe: Can't locate module pppoatm
otherwise you need compile kernel with pppoatm support.
What's your /etc/ppp/options file?
Put here /var/log/messages file and output of dmesg command after you launch cxstart.sh
Regards,
Josep