[Mono-bugs] [Bug 350482] New: Compiling with eglib broken

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Dec 21 18:33:54 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=350482


           Summary: Compiling with eglib broken
           Product: Mono: Runtime
           Version: SVN
          Platform: PowerPC-64
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: andreas.faerber at web.de
         QAContact: mono-bugs at ximian.com
          Found By: ---


Compiling Mono --with-glib=embedded fails with:

 gcc -arch ppc64 -DHAVE_CONFIG_H -I. -I../.. -I../../../../mono/mono/io-layer
-I../../../../mono/eglib/src -I../../eglib/src
-DMONO_BINDIR=\"/Users/andreas/Mono/latest64/bin\" -I../../../../mono
-I/Users/andreas/Mono/latest64/include -no-cpp-precomp -D_THREAD_SAFE
-DGC_MACOSX_THREADS -DPLATFORM_MACOSX -DUSE_MMAP -DUSE_MUNMAP
-DGetCurrentProcess=MonoGetCurrentProcess
-DGetCurrentThread=MonoGetCurrentThread -DCreateEvent=MonoCreateEvent
-fno-strict-aliasing -g -Wall -Wunused -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings
-MT collection.lo -MD -MP -MF .deps/collection.Tpo -c
./../../../mono/mono/io-layer/collection.c  -fno-common -DPIC -o
libs/collection.o
In file included from ../../../../mono/mono/io-layer/wapi-private.h:115,
                 from ../../../../mono/mono/io-layer/shared.h:13,
                 from ../../../../mono/mono/io-layer/collection.h:20,
                 from ../../../../mono/mono/io-layer/collection.c:18:
./../../../mono/mono/io-layer/process-private.h:31: error: '_POSIX_PATH_MAX'
undeclared here (not in a function)
./../../../mono/mono/io-layer/collection.c: In function
'_wapi_collection_init':
./../../../mono/mono/io-layer/collection.c:68: error: 'PTHREAD_STACK_MIN'
undeclared (first use in this function)
./../../../mono/mono/io-layer/collection.c:68: error: (Each undeclared
identifier is reported only once
./../../../mono/mono/io-layer/collection.c:68: error: for each function it
appears in.)
make[3]: *** [collection.lo] Error 1

glib's glibconfig.h has #include <limits.h> but eglib apparently hasn't.


-- 
Configure bugmail: https://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