Compiling gtk-1.3.10 under win2k



I'm trying to compile the src package.

I have different problems:
The README.win32 included say that I need libiconv and libintl and that I
can
download these libraries from a link. I followed the link, but it doens't
work.
I download the src package for liniconv and compile it with Microsoft VC6
beta.
It works ok since there is a .mvc makefile.
I download the other library (libintl) from
http://sourceforge.net/project/showfiles.php?group_id=23617&release_id=46788

After same configuration errors, moving around the include file and the .lib
file
of these libraries in order to find them during compilation I obtain the
following error:

E:\downloads\glib-1.3.10>nmake -nologo -f makefile.msc sub-one THIS=glib
TARGET=
all
        cl -G5 -GF -MD -W3 -nologo -Ox -Zd -I . -I
.. -DHAVE_CONFIG_H -DGLIB_COM
PILATION -DG_LOG_DOMAIN=g_log_domain_glib -DG_ENABLE_DEBUG -I
..\../libintl -I .
.\../libiconv-1.7\include -LD -Felibglib-1.3-10.dll garray.obj
gasyncq
ueue.obj                 gbacktrace.obj          gbsearcharray.obj
gcache.
obj              gcompletion.obj                 gconvert.obj
gdatase
t.obj            gdate.obj               gerror.obj
gfileutils.obj
         ghash.obj               ghook.obj               giochannel.obj
 giowin32.obj            glist.obj               gmain.obj
gmarkup
.obj             gmem.obj                gmessages.obj           gnode.obj
         gprimes.obj             gqsort.obj              gqueue.obj
 gpattern.obj    grand.obj               grel.obj
gscanner.obj
         gshell.obj              gslist.obj              gspawn-win32.obj
 gstrfuncs.obj           gstring.obj             gthread.obj
gthread
pool.obj                 gtimer.obj              gtree.obj
gunibre
ak.obj           gunicollate.obj                 gunidecomp.obj
gunipro
p.obj            gutf8.obj               gutils.obj              gwin32.obj
         localcharset.obj ..\../libiconv-1.7\lib\iconv.lib
..\../libintl\intl.li
b user32.lib advapi32.lib wsock32.lib /link /machine:ix86
/implib:glib-1.3.lib
/def:glib.def
LIBC.lib(crt0dat.obj) : error LNK2005: __exit già definito in
MSVCRT.lib(MSVCR70
.dll)
LIBC.lib(crt0init.obj) : error LNK2005: ___xc_z già definito in
MSVCRT.lib(cinit
exe.obj)
LIBC.lib(crt0init.obj) : error LNK2005: ___xc_a già definito in
MSVCRT.lib(cinit
exe.obj)
LIBC.lib(crt0init.obj) : error LNK2005: ___xi_z già definito in
MSVCRT.lib(cinit
exe.obj)
LIBC.lib(crt0init.obj) : error LNK2005: ___xi_a già definito in
MSVCRT.lib(cinit
exe.obj)
LIBC.lib(crt0dat.obj) : warning LNK4006: __exit già definito in
MSVCRT.lib(MSVCR
70.dll); seconda definizione ignorata
LIBC.lib(crt0init.obj) : warning LNK4006: ___xc_z già definito in
MSVCRT.lib(cin
itexe.obj); seconda definizione ignorata
LIBC.lib(crt0init.obj) : warning LNK4006: ___xc_a già definito in
MSVCRT.lib(cin
itexe.obj); seconda definizione ignorata
LIBC.lib(crt0init.obj) : warning LNK4006: ___xi_z già definito in
MSVCRT.lib(cin
itexe.obj); seconda definizione ignorata
LIBC.lib(crt0init.obj) : warning LNK4006: ___xi_a già definito in
MSVCRT.lib(cin
itexe.obj); seconda definizione ignorata
   Creazione della libreria glib-1.3.lib e dell'oggetto glib-1.3.exp in
corso...

LINK : warning LNK4098: la libreria predefinita "MSVCRT" è in conflitto con
l'ut
ilizzo di altre librerie; utilizzare /NODEFAULTLIB:libreria
LINK : warning LNK4098: la libreria predefinita "LIBC" è in conflitto con
l'util
izzo di altre librerie; utilizzare /NODEFAULTLIB:libreria
libglib-1.3-10.dll : fatal error LNK1169: rilevato uno o più simboli
definiti pi
ù volte
NMAKE : errore irreversibile U1077: "cl" : codice restituito "0x2"
Stop.
NMAKE : errore irreversibile U1077:
"E:\PROGRA~1\MICROS~1.NET\VC7\BIN\nmake.exe"
 : codice restituito "0x2"
Stop.

I think that there is some problem between the compiled libintl library and
other
packages.

Why you don't put 3 .tar.gz   1) gtk.tar.gz 2) libiconv.tar.gz 3)
libintl.tar.gz that
extracted in the same directory (e.g. glib....) and in the right subdirs of
it, just
compile with nmake /f makefile.msc

I think that if you build the 3 package src distrib, a lot of people like me
that would start understanding gtk2 under win, have a better life.
I'm not sufficient experince for editing build scripts.

------------------------------------------
*  Dott. Caruso Antonio - PhD Student
*  e-mail: caruso iei pi cnr it, caruso di unipi it
*  www:    http://di.unipi.it/~caruso
* ----------------------------------------
*  Istituto di Elaborazione della Informazione
*
*  Area della Ricerca CNR di Pisa
*  Via G. Moruzzi,1  56124 Pisa. (ITALY)
*  - tel 39 050 315 2887
*  - fax 39 050 315 2810
------------------------------------------





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]