[Mono-list] mcs can't build a file larger than 65536 bytes

david@novembar.com david@novembar.com
Mon, 5 Aug 2002 15:08:19 +0200


Hi, 
 
  I'm trying to compile gtk# on Mandrake linux 8.1 with 
kernel-2.4.18.8.1mdk-1-3mdk. 
 
When compiling mcs-0.13, after install mono-0.13, i get this error: 
 
make -f makefile.gnu 
for i in jay mcs class nunit nunit/src/NUnitConsole ; do \ 
        (cd $i; make -f makefile.gnu all) || exit 1; \ 
done 
make[1]: Cambiando a directorio `/pub/gnome2/source/mcs-0.13/jay' 
make -f makefile linux 
make[2]: Cambiando a directorio `/pub/gnome2/source/mcs-0.13/jay' 
cc    -c -o closure.o closure.c 
cc    -c -o error.o error.c 
cc    -c -o lalr.o lalr.c 
cc    -c -o lr0.o lr0.c 
cc    -c -o main.o main.c 
cc    -c -o mkpar.o mkpar.c 
cc    -c -o output.o output.c 
cc    -c -o reader.o reader.c 
cc    -c -o symtab.o symtab.c 
cc    -c -o verbose.o verbose.c 
cc    -c -o warshall.o warshall.c 
cc -o jay  closure.o error.o lalr.o lr0.o main.o mkpar.o output.o reader.o 
symtab.o verbose.o warshall.o 
make[2]: Saliendo directorio `/pub/gnome2/source/mcs-0.13/jay' 
make[1]: Saliendo directorio `/pub/gnome2/source/mcs-0.13/jay' 
make[1]: Cambiando a directorio `/pub/gnome2/source/mcs-0.13/mcs' 
../jay/jay -ctv < ../jay/skeleton.cs cs-parser.jay > cs-parser.cs 
../jay/jay: 2 rules never reduced 
../jay/jay: 29 shift/reduce conflicts, 1 reduce/reduce conflict. 
mcs --fatal --target exe -o mcs.exe assign.cs attribute.cs driver.cs 
cs-parser.cs cs-tokenizer.cs tree.cs location.cs cfold.cs class.cs codegen.cs 
const.cs constant.cs decl.cs delegate.cs enum.cs ecore.cs expression.cs 
genericparser.cs interface.cs literal.cs modifiers.cs namespace.cs 
parameter.cs pending.cs report.cs rootcontext.cs statement.cs support.cs 
typemanager.cs 
/pub/gnome2/install/bin/mcs: line 2: 10544 File size limit exceeded               
/pub/gnome2/install/bin/mono /pub/gnome2/install/bin/mcs.exe "$@" 
make[1]: *** [mcs.exe] Error 153 
make[1]: Saliendo directorio `/pub/gnome2/source/mcs-0.13/mcs' 
make: *** [all] Error 1 
 
mcs.exe has a size of 65536. If i try to compile gtk# i get the same error in 
generator/codegen.exe 
 
I think mono/mcs can't build a file larger than 65536. 
 
Anybody knows what happens? 
 
Thanks for your help, david