Selon Jean-Pierre Pourrez <[EMAIL PROTECTED]>:
> Plusieurs Makefiles font référence directement à "gcc" pour compiler.
> Il me semble que l'emploi de $(CC) serait plus correct.
OK.
Selon Jean-Pierre Pourrez <[EMAIL PROTECTED]>:
> bazooka:~# find eagle-usb-2.0.0 -name "Makefile*" -exec grep -Hn gcc {} \;
> eagle-usb-2.0.0/driver/firmware/Makefile:32: gcc $(CFLAGS) builddsp.c -o
> buildDSP
> eagle-usb-2.0.0/driver/user/Makefile:21: gcc $(CFLAGS) $< -o $@
> eagle-usb-2.0.0/pppoa/Makefile:26: gcc -o pppoa pppoa.o if.o debug.o
> common.o ppp.o
> eagle-usb-2.0.0/pppoa/Makefile:29: gcc $(CFLAGS)
> '-DVERSION="$(VERSION)"' -c -o pppoa.o pppoa.c
> eagle-usb-2.0.0/pppoa/Makefile:32: gcc $(CFLAGS)
> '-DVERSION="$(VERSION)"' -c -o ppp.o ppp.c
> eagle-usb-2.0.0/pppoa/Makefile:35: gcc $(CFLAGS)
> '-DVERSION="$(VERSION)"' -c -o if.o if.c
> eagle-usb-2.0.0/pppoa/Makefile:38: gcc $(CFLAGS)
> '-DVERSION="$(VERSION)"' -c -o common.o common.c
> eagle-usb-2.0.0/pppoa/Makefile:41: gcc $(CFLAGS)
> '-DVERSION="$(VERSION)"' -c -o debug.o debug.c
Done.
Selon Jean-Pierre Pourrez <[EMAIL PROTECTED]>:
> Autre point:
> Quand la première fois, on fait "make" on recommande de faire "You have to
> run ./autogen.sh first!"
> Mais configure.in semble utiliser autoconf version 2.50 (Mandrake ?)
> Mais la très populaire Debian Sarge n'a pas cette version.
> Peut-être vaut-il mieux inviter à faire "./configure"
No. autoconf must be executed to create "./configure" file.
extract of
http://www.gnu.org/software/autoconf/manual/autoconf-2.57/html_node/autoconf_17.html#SEC17
Macro: AC_PREREQ (version)
Ensure that a recent enough version of Autoconf is being used. If the
version of Autoconf being used to create configure is earlier than version,
print an error message to the standard error output and do not create
configure. For example: AC_PREREQ(2.57)
This macro is the only macro that may be used before AC_INIT, but for
consistency, you are invited not to do so.
Selon Jean-Pierre Pourrez <[EMAIL PROTECTED]>:
> Pour le paquet Debian eagle-usb-modules, pour le script "postinst",
> je suggère de faire "update-modules" plutôt que "depmod -a -F
> System.map-2.4.27 _KVERS_".
> Cela enlèvera un message d'avertissement.
No I can't use "update-modules". It's not the same thing.
"depmod" recreate "System.map" (dependencies between kernel module are
calculated with modules' symbols)
"update-modules" (debian modutils) recreate "/etc/modules.conf" (merge of
/etc/modutils/* )
Thank you. I find the bug. I forget "g" in the sed command !
The good command is "depmod -a -F System.map-2.4.27 2.4.27" of course.
mcoolive.