[Gtk-sharp-list] Problem compiling

Ricardo Kirkner mono@kirkner.com.ar
09 Aug 2002 17:06:57 -0300


Hello. I am new to this list, and also new to the mono/gtk# world. I was
trying to compile the gtk# 0.3 release, when i came across this problem.
Since i found no information elsewhere, now i write to this list, to see
if someone can help me out here. (btw, mono and mcs compiled perfectly
v. 0.13 used)

Compiling stops with these lines on the standard output:

Name: fs Type: XFontStruct* in method Unload  in Object XFontCache
Name: display Type: Display* ctor  in Object XFontCache
Name: display Type: Display* ctor Name: display Type: Display* ctor
Interface property detected  in Object TreeModelSort
Name: AtkObject*, gboolean Type: void   in callback AtkFocusHandler ****
Stubbing it out ****
rettype: poptContext method  in Object Program
Name: pclass Type: GnomeProgramClass* in method InstallProperty  in
Object Program
Ellipsis parameter in method Init  in Object Program
Generation Summary:
	Enums: 163
	Structs: 110
	Boxed: 13
	Opaques: 42
	Interfaces: 18
	Callbacks: 68
	Objects: 187
	Properties: 496
	Signals: 312
	Methods: 1815
	Constructors: 205
	Throttled: 94
	Ignored: 1198
Total Nodes: 4721
make[1]: Leaving directory `/home/ricardo/gtk-sharp-0.3/generator'
make[1]: Entering directory `/home/ricardo/gtk-sharp-0.3/glib'
mcs --unsafe --target library -o glib-sharp.dll --recurse '*.cs'
syntax error, expecting OPEN_BRACKET STAR IDENTIFIER
./generated/boolObjectObjectSignal.cs (31,124), Token:259 detail:   :
Parsing error 
Mono.CSharp.yyParser.yyException
irrecoverable syntax errorMono.CSharp.yyParser.yyExceptionin <0x0086b>
Mono.CSharp.CSharpParser:yyparse (Mono.CSharp.yyParser.yyInput)
in <0x0006b> Mono.CSharp.CSharpParser:parse ()

syntax error, expecting IDENTIFIER
./generated/boolObjectObjectintintuintSignal.cs(30) error CS1002:
Expecting `;'
/usr/local/bin/mcs: line 2:  6763 Killed                 
/usr/local/bin/mono /usr/local/bin/mcs.exe "$@"
make[1]: *** [glib-sharp.dll] Error 137
make[1]: Leaving directory `/home/ricardo/gtk-sharp-0.3/glib'
make: *** [binding] Error 1

after that, i find in the glib/generated directory these files:

[gtk-sharp-0.3]$ ls glib/generated/ -l
total 2108
-rw-rw-r--    1 ricardo  ricardo  4398046512557 Aug  9 16:54
boolObjectboolSignal.cs
-rw-rw-r--    1 ricardo  ricardo  4398046512621 Aug  9 16:54
boolObjectintintSignal.cs
-rw-rw-r--    1 ricardo  ricardo  4398046512660 Aug  9 16:54
boolObjectintstringSignal.cs
-rw-rw-r--    1 ricardo  ricardo  4398046512850 Aug  9 16:54
boolObjectObjectintintuintSignal.cs
-rw-rw-r--    1 ricardo  ricardo  4398046512606 Aug  9 16:54
boolObjectObjectSignal.cs
-rw-rw-r--    1 ricardo  ricardo  4398046512437 Aug  9 16:54
boolObjectSignal.cs
-rw-rw-r--    1 ricardo  ricardo  4398046512569 Aug  9 16:54
intObjectdoubleSignal.cs
-rw-rw-r--    1 ricardo  ricardo  4398046512423 Aug  9 16:54
intObjectSignal.cs
-rw-rw-r--    1 ricardo  ricardo  4398046512611 Aug  9 16:54
stringObjectdoubleSignal.cs
-rw-rw-r--    1 ricardo  ricardo  4398046512707 Aug  9 16:54
voidObjectboolboolboolSignal.cs
-rw-rw-r--    1 ricardo  ricardo  4398046512527 Aug  9 16:54
voidObjectboolSignal.cs
-rw-rw-r--    1 ricardo  ricardo  4398046512553 Aug  9 16:54
voidObjectdoubleSignal.cs
-rw-rw-r--    1 ricardo  ricardo  4398046512604 Aug  9 16:54
voidObjectintboolSignal.cs
-rw-rw-r--    1 ricardo  ricardo  4398046512745 Aug  9 16:54
voidObjectintintintintSignal.cs
-rw-rw-r--    1 ricardo  ricardo  4398046512567 Aug  9 16:54
voidObjectIntPtrSignal.cs
-rw-rw-r--    1 ricardo  ricardo  4398046512514 Aug  9 16:54
voidObjectintSignal.cs
-rw-rw-r--    1 ricardo  ricardo  4398046512666 Aug  9 16:54
voidObjectObjectboolSignal.cs
-rw-rw-r--    1 ricardo  ricardo  4398046512884 Aug  9 16:54
voidObjectObjectintintintintSignal.cs
-rw-rw-r--    1 ricardo  ricardo  4398046512715 Aug  9 16:54
voidObjectObjectObjectSignal.cs
-rw-rw-r--    1 ricardo  ricardo  4398046512576 Aug  9 16:54
voidObjectObjectSignal.cs
-rw-rw-r--    1 ricardo  ricardo  4398046512666 Aug  9 16:54
voidObjectObjectuintSignal.cs
-rw-rw-r--    1 ricardo  ricardo  4398046512301 Aug  9 16:54
voidObjectSignal.cs
-rw-rw-r--    1 ricardo  ricardo  4398046512643 Aug  9 16:54
voidObjectstringboolSignal.cs
-rw-rw-r--    1 ricardo  ricardo  4398046512630 Aug  9 16:54
voidObjectstringintSignal.cs
-rw-rw-r--    1 ricardo  ricardo  4398046512553 Aug  9 16:54
voidObjectstringSignal.cs
-rw-rw-r--    1 ricardo  ricardo  4398046512669 Aug  9 16:54
voidObjectstringstringSignal.cs
-rw-rw-r--    1 ricardo  ricardo  4398046512785 Aug  9 16:54
voidObjectstringstringstringSignal.cs
-rw-rw-r--    1 ricardo  ricardo  4398046512657 Aug  9 16:54
voidObjectuintIntPtrSignal.cs
-rw-rw-r--    1 ricardo  ricardo  4398046512527 Aug  9 16:54
voidObjectuintSignal.cs
-rw-rw-r--    1 ricardo  ricardo  4398046512643 Aug  9 16:54
voidObjectuintstringSignal.cs
-rw-rw-r--    1 ricardo  ricardo  4398046512797 Aug  9 16:54
voidObjectuintuintuintuintSignal.cs

nevertheless, mu disk is not filled up, so something must have gone
wrong at the filesystem level, and those files are just junk

I am using RedHat 7.3 with XFS filesystem.

If anyone can help me out here, i will be grateful.

PD: i am anxious to start contributing to the mono/gtk# project

Thankx

Ricardo Kirkner