lists.zerezo.com
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
***BOGO*** Re: [Mingw-users] imlib2
- Date: Fri, 2 May 2008 08:13:54 +0200 (CEST)
- From: Vincent Torri <vtorri@xxxxxxxxxxxx>
- Subject: ***BOGO*** Re: [Mingw-users] imlib2
> first, in configure.in, there is no:
> AC_PROG_LIBTOOL
> it's
> AM_PROG_LIBTOOL
it's not a problem.
> i applied the changes anyway,
> and on make it starts off with these 'suspicious'warnings:
>
> $ make
> cd . && /bin/sh /c/test/imlib2/missing --run autoconf
> configure.in:33: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works,
> ...): suspicious cache-id, must contain _cv_ to be cached
> ../../lib/autoconf/general.m4:1987: AC_CACHE_VAL is expanded from...
> ../../lib/autoconf/general.m4:2000: AC_CACHE_CHECK is expanded from...
> aclocal.m4:659: AC_LIBTOOL_COMPILER_OPTION is expanded from...
> aclocal.m4:5318: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
> aclocal.m4:2713: _LT_AC_LANG_C_CONFIG is expanded from...
> aclocal.m4:2644: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
> aclocal.m4:226: AC_LIBTOOL_SETUP is expanded from...
> aclocal.m4:81: _AC_PROG_LIBTOOL is expanded from...
> aclocal.m4:61: AC_PROG_LIBTOOL is expanded from...
> aclocal.m4:6301: AM_PROG_LIBTOOL is expanded from...
> configure.in:33: the top level
> configure.in:33: warning: AC_CACHE_VAL(lt_prog_compiler_static_works,
> ...): suspicious cache-id, must contain _cv_ to be cached
> aclocal.m4:696: AC_LIBTOOL_LINKER_OPTION is expanded from...
> configure.in:33: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX,
> ...): suspicious cache-id, must contain _cv_ to be cached
> aclocal.m4:3717: _LT_AC_LANG_CXX_CONFIG is expanded from...
> aclocal.m4:2721: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
> aclocal.m4:1880: _LT_AC_TAGCONFIG is expanded from...
> configure.in:33: warning:
> AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...):
> suspicious cache-id, must contain _cv_ to be cached
> configure.in:33: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77,
> ...): suspicious cache-id, must contain _cv_ to be cached
> aclocal.m4:3978: _LT_AC_LANG_F77_CONFIG is expanded from...
> aclocal.m4:3884: AC_LIBTOOL_LANG_F77_CONFIG is expanded from...
> configure.in:33: warning:
> AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): suspicious
> cache-id, must contain _cv_ to be cached
> configure.in:33: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ,
> ...): suspicious cache-id, must contain _cv_ to be cached
> aclocal.m4:4034: _LT_AC_LANG_GCJ_CONFIG is expanded from...
> aclocal.m4:3986: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
> configure.in:33: warning:
> AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): suspicious
> cache-id, must contain _cv_ to be cached
> /bin/sh ./config.status --recheck
replace lines 30 to 33:
m4_undefine([AC_PROG_CXX])
m4_defun([AC_PROG_CXX],[])
m4_undefine([AC_PROG_F77])
m4_defun([AC_PROG_F77],[])
by
define([AC_LIBTOOL_LANG_CXX_CONFIG], [:])dnl
define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl
it should remove those warnings, I think.
>
> and at the end of make it error out like so:
>
> file.c:13:17: error: pwd.h: No such file or directory
> file.c: In function '__imlib_FileCanRead':
> file.c:234: error: 'S_IRGRP' undeclared (first use in this function)
> file.c:234: error: (Each undeclared identifier is reported only once
> file.c:234: error: for each function it appears in.)
> file.c:234: error: 'S_IROTH' undeclared (first use in this function)
> file.c: In function '__imlib_FileHomeDir':
> file.c:382: warning: implicit declaration of function 'getuid'
> file.c:387: warning: implicit declaration of function 'getpwuid'
> file.c:387: warning: assignment makes pointer from integer without a
> cast
> file.c:390: error: dereferencing pointer to incomplete type
> make[3]: *** [file.lo] Error 1
> make[3]: Leaving directory `/c/test/imlib2/src/lib'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/c/test/imlib2/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/c/test/imlib2'
> make: *** [all] Error 2
about that, i've written a small library, called 'evil', that tries to
implement win32 port of unix functions. I have to use it to port imlib2 to
windows. Imlib2 has never been intended to be run on windows. So it's
normal that the compilation is not straightforward on that platform.
> updates.c: In function '__imlib_MergeUpdate':
> updates.c:141: warning: visibility attribute not supported in this
> configuration; ignored
>
>
> and it finally rrored out on a string of these errors:
>
> asm_blend.S:28: Error: unknown pseudo-op: `.hidden'
> asm_blend.S:28: Warning: .type pseudo-op used outside of .def/.endef
> ignored.
> asm_blend.S:28: Error: junk at end of line, first unrecognized
> character is `_'
i don't know. It's a problem with the visibility feature of gcc 4.*. Is it
possible tho use it with __declspec ?
Vincent Torri
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users