[Mono-bugs] [Bug 630000] New: mkbundle fails unable to find glib.h

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Aug 10 11:22:24 EDT 2010



           Summary: mkbundle fails unable to find glib.h
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.6.x
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: duane at wandless.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: Development
           Blocker: ---

# mono --version
Mono JIT compiler version 2.6.7 (tarball Wed Jul 14 11:57:56 MDT 2010)

Create a simple hello world CS app.  gmcs this into an executable.

# cd /Library/Frameworks/Mono.framework/
# find . -name glib.h

# AS="as -arch i386" mkbundle2 -o hello main.exe --deps
(same issue with just mkbundle)
(AS export is required)

OS is: Darwin
Sources: 1 Auto-dependencies: True
   embedding: ..../junk/main.exe
as -arch i386 -o temp.o temp.s 
cc -g -o hello -Wall temp.c `pkg-config --cflags --libs mono`  temp.o
In file included from temp.c:2:
error: glib.h: No such file or directory
In file included from
                 from temp.c:2:
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘typedef’
. omitted ...
error: expected declaration specifiers or ‘...’ before ‘gpointer’
temp.c:4: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
temp.c:5: error: ‘assembly_data_main_exe’ undeclared here (not in a function)

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list