Jump to content

Bewan usb sous suse 9.1


Recommended Posts

Salut a tous!

J'essaie d'installer un modem bewan usb sur ma suse 9.1 mais la je bloque completement!!!

Tout d'abord je m'explique: si j'ai pris un usb c'est qu'a la base j'etais sous windows (pardon) et que sur le site de tele2 le modem usb etait grandement conseillé par rapport a l'ethernet.

Etant etudiant j'ai pas trop les moyens de me racheter un modem ethernet donc c'est pour ca que je m'acharne a vouloir le faire marcher!!!

Maintenant le vrai probleme:

J'ai suivi ce tuto qui a la base est pour les mandrakeux (peut etre que l'erreur vient de la) : http://home.tele2.fr/slo/mdk10_0/mdk10_0.html

Tout se passe bien jusqu'a l'etape : "Lancer les modules"

voila : linux:/home/moi # insmod -f /lib/modules/2.6.5-7.108-default/extra/unicorn_usb_atm.ko

Erreur de segmentation

linux:/home/moi # modprobe pppoatm

linux:/home/moi # insmod -f /lib/modules/2.6.5-7.108-default/extra/unicorn_usb_atm.ko

insmod: error inserting '/lib/modules/2.6.5-7.108-default/extra/unicorn_usb_atm.ko': -1 File exists

linux:/home/moi # j'en ai marre : (

Je suis en passer en mode semi-newb sous linux mais la je coince a fond ; )!

Merci d'avance pour votre aide!

@+

Link to comment
Share on other sites

tu as bien modifier les entete de sorte à ce qu'ils correspondent avec ton kernel (/usr/src/linux devrait suffir normalement)?

je suis pas persuadé pour l'option -f et tu n'es normalement pas obligé de mettre le chemein absolu. la compilation se passe sans warning???

Link to comment
Share on other sites

Pour le kernel oui j'ai bien pointé vers les sources le usr/src/linux suffisait.

J'ai des warnings en effet mais j'avais aussi replace unicorn_usb_atm.ko dans le bon dossier.

voila les warnings :francais:/home/pascal/unicorn # make

for i in adsl_status unicorntest tools ; do make -C $i all ; done

make[1]: Entering directory `/home/pascal/unicorn/adsl_status'

make all-recursive

make[2]: Entering directory `/home/pascal/unicorn/adsl_status'

Making all in intl

make[3]: Entering directory `/home/pascal/unicorn/adsl_status/intl'

make[3]: Rien à faire pour « all ».

make[3]: Leaving directory `/home/pascal/unicorn/adsl_status/intl'

Making all in m4

make[3]: Entering directory `/home/pascal/unicorn/adsl_status/m4'

make[3]: Rien à faire pour « all ».

make[3]: Leaving directory `/home/pascal/unicorn/adsl_status/m4'

Making all in intl

make[3]: Entering directory `/home/pascal/unicorn/adsl_status/intl'

make[3]: Rien à faire pour « all ».

make[3]: Leaving directory `/home/pascal/unicorn/adsl_status/intl'

Making all in po

make[3]: Entering directory `/home/pascal/unicorn/adsl_status/po'

make[3]: Rien à faire pour « all ».

make[3]: Leaving directory `/home/pascal/unicorn/adsl_status/po'

Making all in src

make[3]: Entering directory `/home/pascal/unicorn/adsl_status/src'

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../../amu -I../../include/ -I../intl -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2 -Wall -c main.c

main.c:10:21: gtk/gtk.h: Aucun fichier ou répertoire de ce type

In file included from main.c:12:

interface.h:5: error: parse error before '*' token

interface.h:5: warning: type defaults to `int' in declaration of `create_main_window'

interface.h:5: warning: data definition has no type or storage class

In file included from main.c:13:

support.h:9:21: gtk/gtk.h: Aucun fichier ou répertoire de ce type

In file included from main.c:13:

support.h:44: error: parse error before '*' token

support.h:44: error: parse error before '*' token

support.h:45: warning: type defaults to `int' in declaration of `lookup_widget'

support.h:45: warning: data definition has no type or storage class

support.h:51: warning: type defaults to `int' in declaration of `gchar'

support.h:51: error: parse error before '*' token

support.h:59: error: parse error before '*' token

support.h:59: error: parse error before '*' token

support.h:60: warning: type defaults to `int' in declaration of `create_pixmap'

support.h:60: warning: data definition has no type or storage class

In file included from main.c:14:

status.h:1: error: parse error before '*' token

status.h:2: error: parse error before '*' token

status.h:3: error: parse error before '*' token

status.h:4: error: parse error before '*' token

status.h:5: error: parse error before '*' token

status.h:6: error: parse error before '*' token

main.c: In function `main':

main.c:20: error: `GtkWidget' undeclared (first use in this function)

main.c:20: error: (Each undeclared identifier is reported only once

main.c:20: error: for each function it appears in.)

main.c:20: error: `main_window' undeclared (first use in this function)

main.c:27: warning: implicit declaration of function `gtk_set_locale'

main.c:28: warning: implicit declaration of function `gtk_init'

main.c:45: warning: implicit declaration of function `GTK_WIDGET'

main.c:51: warning: implicit declaration of function `gtk_widget_show'

main.c:53: warning: implicit declaration of function `gtk_main'

make[3]: *** [main.o] Erreur 1

make[3]: Leaving directory `/home/pascal/unicorn/adsl_status/src'

make[2]: *** [all-recursive] Erreur 1

make[2]: Leaving directory `/home/pascal/unicorn/adsl_status'

make[1]: *** [all-recursive-am] Erreur 2

make[1]: Leaving directory `/home/pascal/unicorn/adsl_status'

make[1]: Entering directory `/home/pascal/unicorn/unicorntest'

make[1]: Rien à faire pour « all ».

make[1]: Leaving directory `/home/pascal/unicorn/unicorntest'

make[1]: Entering directory `/home/pascal/unicorn/tools'

make[1]: Rien à faire pour « all ».

make[1]: Leaving directory `/home/pascal/unicorn/tools'

for i in libm unicorn_pci unicorn_usb ; do make -C $i modules MODDIR=/home/pascal/unicorn/$i ; done

make[1]: Entering directory `/home/pascal/unicorn/libm'

make[1]: Rien à faire pour « modules ».

make[1]: Leaving directory `/home/pascal/unicorn/libm'

make[1]: Entering directory `/home/pascal/unicorn/unicorn_pci'

make CC=gcc -C /usr/src/linux SUBDIRS=/home/pascal/unicorn/unicorn_pci modules

make[2]: Entering directory `/usr/src/linux-2.6.5-7.108'

Makefile:438: .config: Aucun fichier ou répertoire de ce type

WARNING: Symbol version dump /usr/src/linux-2.6.5-7.108/Module.symvers is missing, modules will have CONFIG_MODVERSIONS disabled.

CC [M] /home/pascal/unicorn/unicorn_pci/unicorn_pcidrv.o

/home/pascal/unicorn/unicorn_pci/unicorn_pcidrv.c: In function `atm_send_complete':

/home/pascal/unicorn/unicorn_pci/unicorn_pcidrv.c:352: warning: unused variable `flags'

/home/pascal/unicorn/unicorn_pci/unicorn_pcidrv.c: In function `atm_recv_complete':

/home/pascal/unicorn/unicorn_pci/unicorn_pcidrv.c:424: warning: unused variable `flags'

/home/pascal/unicorn/unicorn_pci/unicorn_pcidrv.c: In function `unicorn_start_transmit':

/home/pascal/unicorn/unicorn_pci/unicorn_pcidrv.c:1930: warning: unused variable `flags'

/home/pascal/unicorn/unicorn_pci/unicorn_pcidrv.c: In function `unicorn_rcv_getcell':

/home/pascal/unicorn/unicorn_pci/unicorn_pcidrv.c:1968: warning: unused variable `flags'

/bin/sh: line 1: scripts/basic/fixdep: Aucun fichier ou r?pertoire de ce type

make[3]: *** [/home/pascal/unicorn/unicorn_pci/unicorn_pcidrv.o] Erreur 1

make[2]: *** [_module_/home/pascal/unicorn/unicorn_pci] Erreur 2

make[2]: Leaving directory `/usr/src/linux-2.6.5-7.108'

make[1]: *** [modules] Erreur 2

make[1]: Leaving directory `/home/pascal/unicorn/unicorn_pci'

make[1]: Entering directory `/home/pascal/unicorn/unicorn_usb'

make CC=gcc -C /usr/src/linux SUBDIRS=/home/pascal/unicorn/unicorn_usb modules

make[2]: Entering directory `/usr/src/linux-2.6.5-7.108'

Makefile:438: .config: Aucun fichier ou répertoire de ce type

WARNING: Symbol version dump /usr/src/linux-2.6.5-7.108/Module.symvers is missing, modules will have CONFIG_MODVERSIONS disabled.

CC [M] /home/pascal/unicorn/unicorn_usb/unicorn_usbdrv.o

/home/pascal/unicorn/unicorn_usb/unicorn_usbdrv.c:117: warning: `dump_urb' defined but not used

/bin/sh: line 1: scripts/basic/fixdep: Aucun fichier ou r?pertoire de ce type

make[3]: *** [/home/pascal/unicorn/unicorn_usb/unicorn_usbdrv.o] Erreur 1

make[2]: *** [_module_/home/pascal/unicorn/unicorn_usb] Erreur 2

make[2]: Leaving directory `/usr/src/linux-2.6.5-7.108'

make[1]: *** [modules] Erreur 2

make[1]: Leaving directory `/home/pascal/unicorn/unicorn_usb'

make: *** [modules] Erreur 2

linux:/home/pascal/unicorn # make install

for i in adsl_status unicorntest tools ; do make -C $i install prefix=; done

make[1]: Entering directory `/home/pascal/unicorn/adsl_status'

Making install in intl

make[2]: Entering directory `/home/pascal/unicorn/adsl_status/intl'

if test "bewan_adsl_status" = "gettext" \

&& test '' = 'intl-compat.o'; then \

/bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /lib /include; \

/usr/bin/install -c -m 644 libintl.h /include/libintl.h; \

@LIBTOOL@ --mode=install \

/usr/bin/install -c -m 644 libintl.a /lib/libintl.a; \

else \

: ; \

fi

if test 'no' = yes; then \

test yes != no || /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /lib; \

temp=/lib/t-charset.alias; \

dest=/lib/charset.alias; \

if test -f /lib/charset.alias; then \

orig=/lib/charset.alias; \

sed -f ref-add.sed $orig > $temp; \

/usr/bin/install -c -m 644 $temp $dest; \

rm -f $temp; \

else \

if test yes = no; then \

orig=charset.alias; \

sed -f ref-add.sed $orig > $temp; \

/usr/bin/install -c -m 644 $temp $dest; \

rm -f $temp; \

fi; \

fi; \

/bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /share/locale; \

test -f /share/locale/locale.alias \

&& orig=/share/locale/locale.alias \

|| orig=./locale.alias; \

temp=/share/locale/t-locale.alias; \

dest=/share/locale/locale.alias; \

sed -f ref-add.sed $orig > $temp; \

/usr/bin/install -c -m 644 $temp $dest; \

rm -f $temp; \

else \

: ; \

fi

if test "bewan_adsl_status" = "gettext"; then \

/bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /share/gettext/intl; \

/usr/bin/install -c -m 644 VERSION /share/gettext/intl/VERSION; \

/usr/bin/install -c -m 644 ChangeLog.inst /share/gettext/intl/ChangeLog; \

dists="COPYING.LIB-2.0 COPYING.LIB-2.1 Makefile.in config.charset locale.alias ref-add.sin ref-del.sin gmo.h gettextP.h hash-string.h plural-exp.h eval-plural.h os2compat.h libgnuintl.h loadinfo.h bindtextdom.c dcgettext.c dgettext.c gettext.c finddomain.c loadmsgcat.c localealias.c textdomain.c l10nflist.c explodename.c dcigettext.c dcngettext.c dngettext.c ngettext.c plural.y plural-exp.c localcharset.c localename.c osdep.c os2compat.c intl-compat.c"; \

for file in $dists; do \

/usr/bin/install -c -m 644 ./$file \

/share/gettext/intl/$file; \

done; \

chmod a+x /share/gettext/intl/config.charset; \

dists="plural.c"; \

for file in $dists; do \

if test -f $file; then dir=.; else dir=.; fi; \

/usr/bin/install -c -m 644 $dir/$file \

/share/gettext/intl/$file; \

done; \

dists="xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c COPYING.LIB-2 gettext.h libgettext.h plural-eval.c"; \

for file in $dists; do \

rm -f /share/gettext/intl/$file; \

done; \

else \

: ; \

fi

make[2]: Leaving directory `/home/pascal/unicorn/adsl_status/intl'

Making install in m4

make[2]: Entering directory `/home/pascal/unicorn/adsl_status/m4'

make[3]: Entering directory `/home/pascal/unicorn/adsl_status/m4'

make[3]: Rien à faire pour « install-exec-am ».

make[3]: Rien à faire pour « install-data-am ».

make[3]: Leaving directory `/home/pascal/unicorn/adsl_status/m4'

make[2]: Leaving directory `/home/pascal/unicorn/adsl_status/m4'

Making install in intl

make[2]: Entering directory `/home/pascal/unicorn/adsl_status/intl'

if test "bewan_adsl_status" = "gettext" \

&& test '' = 'intl-compat.o'; then \

/bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /lib /include; \

/usr/bin/install -c -m 644 libintl.h /include/libintl.h; \

@LIBTOOL@ --mode=install \

/usr/bin/install -c -m 644 libintl.a /lib/libintl.a; \

else \

: ; \

fi

if test 'no' = yes; then \

test yes != no || /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /lib; \

temp=/lib/t-charset.alias; \

dest=/lib/charset.alias; \

if test -f /lib/charset.alias; then \

orig=/lib/charset.alias; \

sed -f ref-add.sed $orig > $temp; \

/usr/bin/install -c -m 644 $temp $dest; \

rm -f $temp; \

else \

if test yes = no; then \

orig=charset.alias; \

sed -f ref-add.sed $orig > $temp; \

/usr/bin/install -c -m 644 $temp $dest; \

rm -f $temp; \

fi; \

fi; \

/bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /share/locale; \

test -f /share/locale/locale.alias \

&& orig=/share/locale/locale.alias \

|| orig=./locale.alias; \

temp=/share/locale/t-locale.alias; \

dest=/share/locale/locale.alias; \

sed -f ref-add.sed $orig > $temp; \

/usr/bin/install -c -m 644 $temp $dest; \

rm -f $temp; \

else \

: ; \

fi

if test "bewan_adsl_status" = "gettext"; then \

/bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /share/gettext/intl; \

/usr/bin/install -c -m 644 VERSION /share/gettext/intl/VERSION; \

/usr/bin/install -c -m 644 ChangeLog.inst /share/gettext/intl/ChangeLog; \

dists="COPYING.LIB-2.0 COPYING.LIB-2.1 Makefile.in config.charset locale.alias ref-add.sin ref-del.sin gmo.h gettextP.h hash-string.h plural-exp.h eval-plural.h os2compat.h libgnuintl.h loadinfo.h bindtextdom.c dcgettext.c dgettext.c gettext.c finddomain.c loadmsgcat.c localealias.c textdomain.c l10nflist.c explodename.c dcigettext.c dcngettext.c dngettext.c ngettext.c plural.y plural-exp.c localcharset.c localename.c osdep.c os2compat.c intl-compat.c"; \

for file in $dists; do \

/usr/bin/install -c -m 644 ./$file \

/share/gettext/intl/$file; \

done; \

chmod a+x /share/gettext/intl/config.charset; \

dists="plural.c"; \

for file in $dists; do \

if test -f $file; then dir=.; else dir=.; fi; \

/usr/bin/install -c -m 644 $dir/$file \

/share/gettext/intl/$file; \

done; \

dists="xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c COPYING.LIB-2 gettext.h libgettext.h plural-eval.c"; \

for file in $dists; do \

rm -f /share/gettext/intl/$file; \

done; \

else \

: ; \

fi

make[2]: Leaving directory `/home/pascal/unicorn/adsl_status/intl'

Making install in po

make[2]: Entering directory `/home/pascal/unicorn/adsl_status/po'

/bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /share

installing fr.gmo as /share/locale/fr/LC_MESSAGES/bewan_adsl_status.mo

installing it.gmo as /share/locale/it/LC_MESSAGES/bewan_adsl_status.mo

if test "bewan_adsl_status" = "gettext"; then \

/bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /share/gettext/po; \

for file in Makefile.in.in Makevars remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot ; do \

/usr/bin/install -c -m 644 ./$file \

/share/gettext/po/$file; \

done; \

else \

: ; \

fi

make[2]: Leaving directory `/home/pascal/unicorn/adsl_status/po'

Making install in src

make[2]: Entering directory `/home/pascal/unicorn/adsl_status/src'

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../../amu -I../../include/ -I../intl -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2 -Wall -c main.c

main.c:10:21: gtk/gtk.h: Aucun fichier ou répertoire de ce type

In file included from main.c:12:

interface.h:5: error: parse error before '*' token

interface.h:5: warning: type defaults to `int' in declaration of `create_main_window'

interface.h:5: warning: data definition has no type or storage class

In file included from main.c:13:

support.h:9:21: gtk/gtk.h: Aucun fichier ou répertoire de ce type

In file included from main.c:13:

support.h:44: error: parse error before '*' token

support.h:44: error: parse error before '*' token

support.h:45: warning: type defaults to `int' in declaration of `lookup_widget'

support.h:45: warning: data definition has no type or storage class

support.h:51: warning: type defaults to `int' in declaration of `gchar'

support.h:51: error: parse error before '*' token

support.h:59: error: parse error before '*' token

support.h:59: error: parse error before '*' token

support.h:60: warning: type defaults to `int' in declaration of `create_pixmap'

support.h:60: warning: data definition has no type or storage class

In file included from main.c:14:

status.h:1: error: parse error before '*' token

status.h:2: error: parse error before '*' token

status.h:3: error: parse error before '*' token

status.h:4: error: parse error before '*' token

status.h:5: error: parse error before '*' token

status.h:6: error: parse error before '*' token

main.c: In function `main':

main.c:20: error: `GtkWidget' undeclared (first use in this function)

main.c:20: error: (Each undeclared identifier is reported only once

main.c:20: error: for each function it appears in.)

main.c:20: error: `main_window' undeclared (first use in this function)

main.c:27: warning: implicit declaration of function `gtk_set_locale'

main.c:28: warning: implicit declaration of function `gtk_init'

main.c:45: warning: implicit declaration of function `GTK_WIDGET'

main.c:51: warning: implicit declaration of function `gtk_widget_show'

main.c:53: warning: implicit declaration of function `gtk_main'

make[2]: *** [main.o] Erreur 1

make[2]: Leaving directory `/home/pascal/unicorn/adsl_status/src'

make[1]: *** [install-recursive] Erreur 1

make[1]: Leaving directory `/home/pascal/unicorn/adsl_status'

make[1]: Entering directory `/home/pascal/unicorn/unicorntest'

install -s -c unicorntest /bin

make[1]: Leaving directory `/home/pascal/unicorn/unicorntest'

make[1]: Entering directory `/home/pascal/unicorn/tools'

install -s -c unicorn_status /bin

install -s -c oam_ping /bin

make[1]: Leaving directory `/home/pascal/unicorn/tools'

for i in libm unicorn_pci unicorn_usb ; do make -C $i modules_install MODDIR=/home/pascal/unicorn/$i ; done

make[1]: Entering directory `/home/pascal/unicorn/libm'

make[1]: Rien à faire pour « modules_install ».

make[1]: Leaving directory `/home/pascal/unicorn/libm'

make[1]: Entering directory `/home/pascal/unicorn/unicorn_pci'

make CC=gcc -C /usr/src/linux SUBDIRS=/home/pascal/unicorn/unicorn_pci modules_install

make[2]: Entering directory `/usr/src/linux-2.6.5-7.108'

Makefile:438: .config: Aucun fichier ou répertoire de ce type

make[2]: Leaving directory `/usr/src/linux-2.6.5-7.108'

make[1]: Leaving directory `/home/pascal/unicorn/unicorn_pci'

make[1]: Entering directory `/home/pascal/unicorn/unicorn_usb'

make CC=gcc -C /usr/src/linux SUBDIRS=/home/pascal/unicorn/unicorn_usb modules_install

make[2]: Entering directory `/usr/src/linux-2.6.5-7.108'

Makefile:438: .config: Aucun fichier ou répertoire de ce type

make[2]: Leaving directory `/usr/src/linux-2.6.5-7.108'

make[1]: Leaving directory `/home/pascal/unicorn/unicorn_usb'

/sbin/depmod -ae

J'espere que c'est ce que tu me demandais sinon je m'en excuse d'avance parce que je suis un newb et j'ai encore du mal avec linux ; )

En tout cas merci pour ton aide et ta rapidité!!!

Link to comment
Share on other sites

make: *** [modules] Erreur 2

tu appelles ça un warning...

En fait ton module ne se compile pas, c'est pour ça qu'il n'est pas possoible de le charger

Il te faut gtk version devel a priori cherche dans les package de SuSE

Sinon, y avait pas un script configure dans le dossier, si oui, tu peux le lancer et voir ce qu'il te dit qu'il manque.

Link to comment
Share on other sites

1) Jamais de "insmod -f" sans savoir exactement ce que cela implique !

(PS : insmod peut effectivement prendre en argument un path...)

2) les "Rien à faire pour « all »." au début signifient que le "./configure" n'a pas été fait (faut lire le README et INSTALL, des fois)

3) comme l'a dit rem, "Error" n'est pas "Warning" ... "Error"=ne marche pas !

essaye de compiler avec succès le driver, ça marchera mieux arpès :D

Link to comment
Share on other sites

Le probleme c'est que c'est la premiere fois que je compile un truc donc ce qui parait logique pour vous ne l'est pas forcement pour moi!

Bon j'avoue j'ai un peu ignoré les messages d'erreur mais bon un peu d'indulgence ca fait meme pas un mois que je suis sous Linux :craint:

essaye de compiler avec succès le driver, ça marchera mieux arpès 

J'aimerais bien savoir comment :-D

J'installe le gtk et je vous tiens au courant!

Link to comment
Share on other sites

tu as bien installé les équivalents de :

/kernel-source-2.6.3-4mdk.i586.rpm

/gcc-3.3.2-6mdk.i586.rpm

/gcc-c++-3.3.2-6mdk.i586.rpm

/glibc-devel-2.3.3-10mdk.i586.rpm

/libglib2.0_0-devel-2.2.3-1mdk.i586.rpm

/libgpm1-devel-1.20.1-9mdk.i586.rpm

/libgtk+1.2-1.2.10-38mdk.i586.rpm

/ppp-2.4.1-13mdk.i586.rpm

/ppp-pppoatm-2.4.1-13mdk.i586.rpm

Link to comment
Share on other sites

Oui par contre j'ai pas trouvé l'equivalent du dernier!

Voici le make :

linux:/home/pascal/unicorn # make

for i in adsl_status unicorntest tools ; do make -C $i all ; done

make[1]: Entering directory `/home/pascal/unicorn/adsl_status'

make all-recursive

make[2]: Entering directory `/home/pascal/unicorn/adsl_status'

Making all in intl

make[3]: Entering directory `/home/pascal/unicorn/adsl_status/intl'

make[3]: Rien à faire pour « all ».

make[3]: Leaving directory `/home/pascal/unicorn/adsl_status/intl'

Making all in m4

make[3]: Entering directory `/home/pascal/unicorn/adsl_status/m4'

make[3]: Rien à faire pour « all ».

make[3]: Leaving directory `/home/pascal/unicorn/adsl_status/m4'

Making all in intl

make[3]: Entering directory `/home/pascal/unicorn/adsl_status/intl'

make[3]: Rien à faire pour « all ».

make[3]: Leaving directory `/home/pascal/unicorn/adsl_status/intl'

Making all in po

make[3]: Entering directory `/home/pascal/unicorn/adsl_status/po'

make[3]: Rien à faire pour « all ».

make[3]: Leaving directory `/home/pascal/unicorn/adsl_status/po'

Making all in src

make[3]: Entering directory `/home/pascal/unicorn/adsl_status/src'

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../../amu -I../../include/ -I../intl -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2 -Wall -c main.c

main.c:10:21: gtk/gtk.h: Aucun fichier ou répertoire de ce type

In file included from main.c:12:

interface.h:5: error: parse error before '*' token

interface.h:5: warning: type defaults to `int' in declaration of `create_main_window'

interface.h:5: warning: data definition has no type or storage class

In file included from main.c:13:

support.h:9:21: gtk/gtk.h: Aucun fichier ou répertoire de ce type

In file included from main.c:13:

support.h:44: error: parse error before '*' token

support.h:44: error: parse error before '*' token

support.h:45: warning: type defaults to `int' in declaration of `lookup_widget'

support.h:45: warning: data definition has no type or storage class

support.h:51: warning: type defaults to `int' in declaration of `gchar'

support.h:51: error: parse error before '*' token

support.h:59: error: parse error before '*' token

support.h:59: error: parse error before '*' token

support.h:60: warning: type defaults to `int' in declaration of `create_pixmap'

support.h:60: warning: data definition has no type or storage class

In file included from main.c:14:

status.h:1: error: parse error before '*' token

status.h:2: error: parse error before '*' token

status.h:3: error: parse error before '*' token

status.h:4: error: parse error before '*' token

status.h:5: error: parse error before '*' token

status.h:6: error: parse error before '*' token

main.c: In function `main':

main.c:20: error: `GtkWidget' undeclared (first use in this function)

main.c:20: error: (Each undeclared identifier is reported only once

main.c:20: error: for each function it appears in.)

main.c:20: error: `main_window' undeclared (first use in this function)

main.c:27: warning: implicit declaration of function `gtk_set_locale'

main.c:28: warning: implicit declaration of function `gtk_init'

main.c:45: warning: implicit declaration of function `GTK_WIDGET'

main.c:51: warning: implicit declaration of function `gtk_widget_show'

main.c:53: warning: implicit declaration of function `gtk_main'

make[3]: *** [main.o] Erreur 1

make[3]: Leaving directory `/home/pascal/unicorn/adsl_status/src'

make[2]: *** [all-recursive] Erreur 1

make[2]: Leaving directory `/home/pascal/unicorn/adsl_status'

make[1]: *** [all-recursive-am] Erreur 2

make[1]: Leaving directory `/home/pascal/unicorn/adsl_status'

make[1]: Entering directory `/home/pascal/unicorn/unicorntest'

make[1]: Rien à faire pour « all ».

make[1]: Leaving directory `/home/pascal/unicorn/unicorntest'

make[1]: Entering directory `/home/pascal/unicorn/tools'

make[1]: Rien à faire pour « all ».

make[1]: Leaving directory `/home/pascal/unicorn/tools'

for i in libm unicorn_pci unicorn_usb ; do make -C $i modules MODDIR=/home/pascal/unicorn/$i ; done

make[1]: Entering directory `/home/pascal/unicorn/libm'

make[1]: Rien à faire pour « modules ».

make[1]: Leaving directory `/home/pascal/unicorn/libm'

make[1]: Entering directory `/home/pascal/unicorn/unicorn_pci'

make CC=gcc -C /usr/src/linux SUBDIRS=/home/pascal/unicorn/unicorn_pci modules

make[2]: Entering directory `/usr/src/linux-2.6.5-7.108'

Makefile:438: .config: Aucun fichier ou répertoire de ce type

WARNING: Symbol version dump /usr/src/linux-2.6.5-7.108/Module.symvers is missing, modules will have CONFIG_MODVERSIONS disabled.

CC [M] /home/pascal/unicorn/unicorn_pci/unicorn_pcidrv.o

/home/pascal/unicorn/unicorn_pci/unicorn_pcidrv.c: In function `atm_send_complete':

/home/pascal/unicorn/unicorn_pci/unicorn_pcidrv.c:352: warning: unused variable `flags'

/home/pascal/unicorn/unicorn_pci/unicorn_pcidrv.c: In function `atm_recv_complete':

/home/pascal/unicorn/unicorn_pci/unicorn_pcidrv.c:424: warning: unused variable `flags'

/home/pascal/unicorn/unicorn_pci/unicorn_pcidrv.c: In function `unicorn_start_transmit':

/home/pascal/unicorn/unicorn_pci/unicorn_pcidrv.c:1930: warning: unused variable `flags'

/home/pascal/unicorn/unicorn_pci/unicorn_pcidrv.c: In function `unicorn_rcv_getcell':

/home/pascal/unicorn/unicorn_pci/unicorn_pcidrv.c:1968: warning: unused variable `flags'

/bin/sh: line 1: scripts/basic/fixdep: Aucun fichier ou r?pertoire de ce type

make[3]: *** [/home/pascal/unicorn/unicorn_pci/unicorn_pcidrv.o] Erreur 1

make[2]: *** [_module_/home/pascal/unicorn/unicorn_pci] Erreur 2

make[2]: Leaving directory `/usr/src/linux-2.6.5-7.108'

make[1]: *** [modules] Erreur 2

make[1]: Leaving directory `/home/pascal/unicorn/unicorn_pci'

make[1]: Entering directory `/home/pascal/unicorn/unicorn_usb'

make CC=gcc -C /usr/src/linux SUBDIRS=/home/pascal/unicorn/unicorn_usb modules

make[2]: Entering directory `/usr/src/linux-2.6.5-7.108'

Makefile:438: .config: Aucun fichier ou répertoire de ce type

WARNING: Symbol version dump /usr/src/linux-2.6.5-7.108/Module.symvers is missing, modules will have CONFIG_MODVERSIONS disabled.

CC [M] /home/pascal/unicorn/unicorn_usb/unicorn_usbdrv.o

/home/pascal/unicorn/unicorn_usb/unicorn_usbdrv.c:117: warning: `dump_urb' defined but not used

/bin/sh: line 1: scripts/basic/fixdep: Aucun fichier ou r?pertoire de ce type

make[3]: *** [/home/pascal/unicorn/unicorn_usb/unicorn_usbdrv.o] Erreur 1

make[2]: *** [_module_/home/pascal/unicorn/unicorn_usb] Erreur 2

make[2]: Leaving directory `/usr/src/linux-2.6.5-7.108'

make[1]: *** [modules] Erreur 2

make[1]: Leaving directory `/home/pascal/unicorn/unicorn_usb'

make: *** [modules] Erreur 2

Je crois bien que ca n'a rien changé!

Link to comment
Share on other sites

ok, le probleme vient toujours de gtk...

il faut que tu donne le bon chemin vers les library gtk car -I/usr/include/gtk-1.2 n'est pas bon...

essaye d'éditer la makefile et de remplacer le chemin (devrait i avoir une variavle $INCLUDE ou un truc dans le genre)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...