[linux-lvm] K=2.4.3 - LVM0.9.1.B7 compiling problem.

Patrick Caulfield caulfield at sistina.com
Wed Apr 25 08:01:39 UTC 2001


On Tue, Apr 24, 2001 at 10:45:06AM -0500, AJ Lewis wrote:
> On Tue, Apr 24, 2001 at 12:19:45PM -0300, Ernesto Silva wrote:
> > Hi,
> > 
> > 	In order to make things right I downloaded the 2.4.3 kernel and
> > compiled it (i386).
> > 
> > 	With the new kernel running (lvm-mod load ok) I'm trying to compile lvm
> > tools, but there are lots of warinigs, all the same thing, the first of them is:
> > -----------------------------------------------------------
> > gcc -c -pipe -g -O2 -Wall -DDEBUG -I ../../tools/lib -I ../../tools - debug.o
> > debug.c
> > In file included from ../../tools/lib/liblvm.h:97
> > 		from basename.c:34
> > ../../tools/lib/lvm_log.h:47:59: warning: nothing can be pasted after this token
>  <...snip...> 
> > Does anyone had a problem like this before???
> 
> Hmm...I don't get that at all!  Which version of GCC are you using?  Did you
> download the 0.9.1_beta7 tarball or grab something from the cvs?

I get similar warnings with gcc 3.0 from CVS. The indicated line has changed but
the actual error is the same I think:

lvm_config.c:113:7: warning: pasting ""error: "" and ""error in config file: not in section at line %d"" does not give a valid preprocessing token
lvm_config.c:117:7: warning: pasting ""error: "" and ""couldn't put %s:%s = %s into config"" does not give a valid preprocessing token
lvm_config.c:162:9: warning: pasting ""warning: "" and ""unknown variable %s:%s in config file"" does not give a valid preprocessing token
lvm_config.c:172:5: warning: pasting ""warning: "" and ""more than one value for %s:%s, using most recent"" does not give a valid preprocessing token
lvm_config.c:186:5: warning: pasting ""warning: "" and ""more than one value for %s:%s, using most recent"" does not give a valid preprocessing token
lvm_config.c:342:3: warning: pasting ""warning: "" and ""'%s' not a recognised boolean value, assuming false"" does not give a valid preprocessing token


patrick




More information about the linux-lvm mailing list