[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-xfs
Subject:    Re: compile errors
From:       Russell Cattelan <cattelan () thebarn ! com>
Date:       2000-04-27 13:11:12
[Download RAW message or body]

Enrique Alonso de Armas wrote:
you could try removing the -Wno-unknown-pragmas option.
you will get some warning messages but it shouldn't fail the compile.

The easiest thing would be to upgrade gcc.



> Hi all,
> I'm trying to compile linux-xfs.
> I have gcc version 2.7.2.3. Do I  need to upgrade?
> I get the following while compiling:
> ........................................................
> make[2]: Entering directory \
> `/images1/enrique/xfs/cvsxfs/linux-2.3-xfs/linux/fs/xfs' make[2]: Circular \
> pseudo-inc/sys/vfs.h <- pseudo-inc/sys/vnode.h dependency dropped. gcc -D__KERNEL__ \
> -I/images1/enrique/xfs/cvsxfs/linux-2.3-xfs/linux/include -Wall -Wstrict-prototypes \
> -O2 -fomit-frame-pointer -pipe -fno-strength-reduce  -DCPU=686   -DMODULE \
> -DMODVERSIONS -include \
> /images1/enrique/xfs/cvsxfs/linux-2.3-xfs/linux/include/linux/modversions.h -g3 \
> -Wno-unused  -Wno-unknown-pragmas -Wno-parentheses -Wno-uninitialized -I./linux \
>                 -I./pseudo-inc -I. -D_KERNEL -funsigned-char   -DEXPORT_SYMTAB -c \
>                 xfs_alloc.c
> cc1: Invalid option `'
> make[2]: *** [xfs_alloc.o] Error 1
> make[2]: Leaving directory `/images1/enrique/xfs/cvsxfs/linux-2.3-xfs/linux/fs/xfs'
> make[1]: *** [_modsubdir_xfs] Error 2
> make[1]: Leaving directory `/images1/enrique/xfs/cvsxfs/linux-2.3-xfs/linux/fs'
> make: *** [_mod_fs] Error 2
> Exit 2
> ..........................................................
> 
> thank you
> 
> ------------------------------------
> Enrique Alonso de Armas
> ealonso@alum.etsii.upm.es
> enrique@dorka.bindar.es
> http://www.bindar.es
> http://www.alum.etsii.upm.es/pgp.txt
> Network/Unix Adm
> ------------------------------------
> 
> Linux rules!
> (this is a .signature virus, please add me to your signature
> file and help me to live)

--
Russell Cattelan
cattelan@thebarn.com


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic