From mint-bounce@lists.fishpool.fi Sun Feb 21 13:46:45 2010 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=LnxPKhPsq524i8LUp7iSNQHoe4d2TpD/sgQmgrC9Q9c=; b=LARncqH784TYScHQ87FQUrT79l5dv4FBX57j6Gk9eqWyNhodWa2g+D+jECh3pXxfjU eIv/1BYFO8hoamxsTAJpCFc5mojlwIr5RvuODkQDVD1AOk/d++qs78b3AZtxobq2yyFk Mxi3BT1g1ipG0IpjgTogx3zjNJ4qBiDyCmwlE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=GCjtGN6EPQP/bBOOsO5nowaZ0646L5qANRbOIan8BaMf4ixUuRok/+SnkJRKIG0Fn5 J7UFHAAuRkXrkWWdqTKKf/LsTQdatnvwIEZy7gsWbaLV2fOQ2ORXDm/+oTCOWIkQnnhv 5qL9xsbz4EQvMkiDkuKFBhcY4x5aSyRqKf/aQ= MIME-Version: 1.0 In-Reply-To: References: Date: Sun, 21 Feb 2010 19:44:35 +0100 Message-ID: Subject: Re: [MiNT] missing xversion.h From: Miro Kropacek To: Helmut Karlowski Cc: "mint@lists.fishpool.fi" Content-Type: multipart/alternative; boundary=0003255528ce4147f4048020b532 X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: miro.kropacek@gmail.com Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: --0003255528ce4147f4048020b532 Content-Type: text/plain; charset=ISO-8859-1 > > Yes, but xversion.sh should be run by make. It does it for me and > apparently for Alan. > You're right, now I see it. However, try to do clean cvs co of your branch and make in src.km -- xversion.h isn't generated: mikro@kubuntu:~/freemint/xaaes/src.km$ make CROSS=yes 040 /bin/sh xversion.sh xversion.h make buildxaaes xaaes=040 make[1]: Entering directory `/home/mikro/freemint/xaaes/src.km' cd .compile_040; make all make[2]: Entering directory `/home/mikro/freemint/xaaes/src.km/.compile_040' m68k-atari-mint-gcc -I.. -I../../../sys -D__KERNEL_MODULE__ -DMODULE_NAME=XaAES -DRSCNAME="xaaes.rsc" -DWIDGNAME="xaaeswdg.rsc" -DRSCHNAME="xaaes.h" -DWIDGHNAME="xaaeswdg.h" -DWDIALOG_WDLG=1 -DWDIALOG_LBOX=1 -DWDIALOG_FNTS=1 -DWDIALOG_FSLX=0 -DWDIALOG_PDLG=1 -DGENERATE_DIAGS=0 -DDEBUG_CONTROL=0 -DBOOTLOG=1 -m68040 -mshort -O2 -fomit-frame-pointer -Wall -Wmissing-prototypes -Winline -Wshadow -Wpointer-arith -Wcast-qual -c ../info.c -o info.o ../info.c:11:22: error: xversion.h: No such file or directory ../info.c: In function 'init_apgi_infotab': ../info.c:52: error: 'BDATETIME' undeclared (first use in this function) ../info.c:52: error: (Each undeclared identifier is reported only once ../info.c:52: error: for each function it appears in.) Purpose of that script is quite unclear, it compares date of every *.[ch] against (yet non-existing) file xversion.h ? -- MiKRO / Mystic Bytes http://mikro.atari.org --0003255528ce4147f4048020b532 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Yes, but xversio= n.sh should be run by make. It does it for me and apparently for Alan.
<= /blockquote>
You're right, now I see it. However, try to do clean cvs co of you= r branch and make in src.km -- xversion.h isn= 't generated:

mikro@kubuntu:~/freemint/xaaes/= src.km$ make CROSS=3Dyes 040
/bin/sh xversion.sh =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0
xversion.h =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0
ma= ke buildxaaes xaaes=3D040 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0
make[1]: Entering directory `/home/mikro/freemint= /xaaes/src.km'
cd .compile_040; make all =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0
make[2]: Entering directory `/hom= e/mikro/freemint/xaaes/src.km/.compi= le_040'
m68k-atari-mint-gcc -I.. -I../../../sys -D__KERNE= L_MODULE__ -DMODULE_NAME=3DXaAES -DRSCNAME=3D"xaaes.rsc" -DWIDGNA= ME=3D"xaaeswdg.rsc" -DRSCHNAME=3D"xaaes.h" -DWIDGHNAME= =3D"xaaeswdg.h" -DWDIALOG_WDLG=3D1 -DWDIALOG_LBOX=3D1 -DWDIALOG_F= NTS=3D1 -DWDIALOG_FSLX=3D0 -DWDIALOG_PDLG=3D1 -DGENERATE_DIAGS=3D0 -DDEBUG_= CONTROL=3D0 -DBOOTLOG=3D1 -m68040 -mshort -O2 -fomit-frame-pointer -Wall -W= missing-prototypes -Winline -Wshadow -Wpointer-arith -Wcast-qual -c ../info= .c -o info.o =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0
../info.c:11:22: error: xversion.h: No such file or directory =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0
../info.c: In function= 'init_apgi_infotab': =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0
../info.c:52: error: &= #39;BDATETIME' undeclared (first use in this function) =A0 =A0 =A0 =A0 = =A0 =A0 =A0
../info.c:52: error: (Each undeclared identifier is reported only once= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0
../info.c:52: error: for each fu= nction it appears in.) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0

Purpose of that script is quite unclea= r, it compares date of every *.[ch] against (yet non-existing) file xversio= n.h ?

--
MiKRO / Mystic Bytes
http://mikro.atari.org
--0003255528ce4147f4048020b532--