[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compilation problem under SuSE 9.0



Hello,

* Joerg Schilling <schilling@fokus.fraunhofer.de> [040228 22:28]:
> Date: Sat, 28 Feb 2004 22:28:58 +0100 (CET)
> From: Joerg Schilling <schilling@fokus.fraunhofer.de>
> Subject: Re: Compilation problem under SuSE 9.0
> 
> >From: Plamen.Neykov@t-online.de (Plamen Neykov)
> 
> >I have problem compiling the cdrtools 2.01a25 under SuSE 9.0.
> >The error message is:
> 
> >/usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../../../i586-suse-linux/bin/ld: cannot find -lscg
> 
> >and in libscg I get the following error message:
> 
> >        ==> COMPILING "OBJ/i686-linux-cc/scsihack.o"
> >In file included from scsihack.c:127:
> >scsi-linux-sg.c: In function `sg_settimeout':
> >scsi-linux-sg.c:1135: error: `HZ' undeclared (first use in this function)
> >scsi-linux-sg.c:1135: error: (Each undeclared identifier is reported only once
> >scsi-linux-sg.c:1135: error: for each function it appears in.)
> >make[2]: *** [OBJ/i686-linux-cc/scsihack.o] Error 1
> >make[2]: Leaving directory `/root/src/cdrtools-2.01/libscg'
> >make[1]: *** [all] Error 2
> >make[1]: Leaving directory `/root/src/cdrtools-2.01/libscg'
> 
> 
> If SuSE comes with defective include files, you need to send a bug report
> to SuSE.....

Are you sure about this? HZ is no longer a constant value. To get
the value for HZ one needs to call a function, since it can change
during runtime :-o

-- 
   Dipl.-Ing. Erik Kunze               Phone: +49 - 89 - 32 14 07 41
   PHILOSYS Software GmbH              Fax:   +49 - 89 - 32 14 07 12
   Edisonstr. 6                        Email: Erik.Kunze@philosys.de
   D-85716 Unterschleissheim           WWW:   www.philosys.de/~kunze

 PGP-Key: http://blackhole.pca.dfn.de:11371/pks/lookup?op=get&search=0xD5759581



Reply to: