[prev in list] [next in list] [prev in thread] [next in thread]
List: gtkmm
Subject: Re: glib compile error
From: "Fabian Jacquet" <fabian.jacquet () gmail ! com>
Date: 2008-06-25 14:45:48
Message-ID: 3241f6d10806250745r318b622lb26618dea69cab0d () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi,
It seems the problem comes from the glib.def file.
In some version of source, this file is not present and the compilation
failed because it doesn't find it.
In other version, it don't understand 'G_GNUC_MALLOC' statement.
I really don't know how compile it. Is this file important? Can I compile
without it?
2008/6/20 Fabian Jacquet <fabian.jacquet@gmail.com>:
> Hi all,
>
> I'm trying to recompile glib and I have this error:
>
>> G:\libxml++\glib 2.12\glib\glib>nmake -f makefile.msc
>>
>> Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
>> Copyright (C) Microsoft Corporation. All rights reserved.
>>
>> cl -G5 -GF -MD -W3 -nologo -Ox -Zd -FImsvc_recommended_pragmas.h
>> -I . -I
>> .. -DHAVE_CONFIG_H -DGLIB_COMPILATION -DG_LOG_DOMAIN=\"GLib\"
>> -DG_ENABLE_DEBUG
>> -Zm400 -I ..\../gettext-0.10.40/intl -I ..\../libiconv-1.7\include -I
>> ..\..\glib
>> \build\win32\dirent -LD -Felibglib-2.0-0.dll garray.obj
>> gasyncqueue.obj
>> gatomic.obj gbacktrace.obj gbase64.obj
>> gbookma
>> rkfile.obj gcache.obj gcompletion.obj
>> gconver
>> t.obj gdataset.obj gdate.obj gdir.obj
>> gerror.obj gfileutils.obj ghash.obj
>> ghook.o
>> bj gkeyfile.obj gmappedfile.obj
>> giochannel.obj
>> giowin32.obj glist.obj gmain.obj
>> gmarkup.obj gmem.obj gmessages.obj
>> gnode.o
>> bj goption.obj gprimes.obj gqsort.obj
>> gqueue.obj gpattern.obj gprintf.obj grand.obj
>> grel.obj gscanner.obj gshell.obj
>> gslice.
>> obj gslist.obj gspawn-win32.obj gstdio.obj
>> gstrfun
>> cs.obj gstring.obj gthread.obj
>> gthreadpool.obj
>> gtimer.obj gtree.obj
>> gunibreak.obj
>> gunicollate.obj gunidecomp.obj
>> guniprop.obj
>> gutf8.obj gutils.obj gwin32.obj
>> localcharset.obj glib.res ..\../libiconv-1.7\lib\iconv.lib
>> ..\../gettext-0.10.4
>> 0/intl\intl.lib gnulib\gnulib.lib
>> ..\..\glib\build\win32\dirent\dirent.lib user
>> 32.lib advapi32.lib shell32.lib wsock32.lib ole32.lib ws2_32.lib /link
>> /machine
>> :ix86 /implib:glib-2.0.lib /def:glib.def
>> cl : Command line warning D9002 : ignoring unknown option '-G5'
>> cl : Command line warning D9002 : ignoring unknown option '-Zd'
>> glib.def(112) : fatal error LNK1118: syntax error in 'G_GNUC_MALLOC'
>> statement
>> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
>> 8\VC\BIN\c
>> l.EXE"' : return code '0x2'
>> Stop.
>
>
> Can somebody help me?
[Attachment #5 (text/html)]
Hi,<br><br>It seems the problem comes from the glib.def file.<br>In some version of \
source, this file is not present and the compilation failed because it doesn't \
find it.<br>In other version, it don't understand 'G_GNUC_MALLOC' \
statement.<br> <br>I really don't know how compile it. Is this file important? \
Can I compile without it?<br><br><div class="gmail_quote">2008/6/20 Fabian Jacquet \
<<a href="mailto:fabian.jacquet@gmail.com">fabian.jacquet@gmail.com</a>>:<br> \
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); \
margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi all,<br><br>I'm trying to \
recompile glib and I have this error:<br><blockquote style="border-left: 1px solid \
rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" \
class="gmail_quote"> G:\libxml++\glib 2.12\glib\glib>nmake -f makefile.msc<br>
<br>Microsoft (R) Program Maintenance Utility Version 8.00.50727.762<br>Copyright (C) \
Microsoft Corporation. All rights \
reserved.<br><br> cl -G5 -GF -MD -W3 \
-nologo -Ox -Zd -FImsvc_recommended_pragmas.h -I . -I<br>
.. -DHAVE_CONFIG_H -DGLIB_COMPILATION -DG_LOG_DOMAIN=\"GLib\" \
-DG_ENABLE_DEBUG<br>-Zm400 -I ..\../gettext-0.10.40/intl -I \
..\../libiconv-1.7\include -I ..\..\glib<br>\build\win32\dirent -LD \
-Felibglib-2.0-0.dll garray.obj \
gasyncqueue.obj<br>
\
gatomic.obj \
gbacktrace.obj \
gbase64.obj \
gbookma<br>rkfile.obj \
gcache.obj \
gcompletion.obj \
gconver<br>t.obj \
gdataset.obj \
gdate.obj \
gdir.obj<br>
gerror.obj \
gfileutils.obj \
ghash.obj \
ghook.o<br>bj \
gkeyfile.obj \
gmappedfile.obj \
giochannel.obj<br> \
giowin32.obj \
glist.obj \
gmain.obj<br>
gmarkup.obj \
gmem.obj \
gmessages.obj \
gnode.o<br>bj \
goption.obj \
gprimes.obj \
gqsort.obj<br> gqueue.obj \
gpattern.obj gprintf.obj grand.obj<br>
grel.obj \
gscanner.obj \
gshell.obj \
gslice.<br>obj \
gslist.obj \
gspawn-win32.obj \
gstdio.obj \
gstrfun<br>cs.obj \
gstring.obj \
gthread.obj \
gthreadpool.obj<br>
\
gtimer.obj \
gtree.obj \
gunibreak.obj<br> \
gunicollate.obj \
gunidecomp.obj \
guniprop.obj<br> \
gutf8.obj \
gutils.obj \
gwin32.obj<br>
localcharset.obj glib.res ..\../libiconv-1.7\lib\iconv.lib \
..\../gettext-0.10.4<br>0/intl\intl.lib gnulib\gnulib.lib \
..\..\glib\build\win32\dirent\dirent.lib user<br>32.lib advapi32.lib shell32.lib \
wsock32.lib ole32.lib ws2_32.lib /link /machine<br>
> ix86 /implib:glib-2.0.lib /def:glib.def<br>cl : Command line warning D9002 : \
> ignoring unknown option '-G5'<br>cl : Command line warning D9002 : ignoring \
> unknown option '-Zd'<br>glib.def(112) : fatal error LNK1118: syntax error \
> in 'G_GNUC_MALLOC' statement<br>
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio \
8\VC\BIN\c<br>l.EXE"' : return code \
'0x2'<br>Stop.</blockquote><br>Can somebody help me? </blockquote></div><br>
_______________________________________________
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic