Good day!
I do not have the answer to your question, but as a data point I do routinely
compile virtuoso on my mac (10.9.3) and do not have this problem.
I notice that you have three flags that I do not: "-arch i386 -arch x86_64
-mmacosx-version-min=10.7".
Those probably come from environment variables, as your configure was bare. (I
have MACOSX_DEPLOYMENT_TARGET=10.9 )
The fact that you compile in both 32 and 64 bits may be relevant, since the
error seems to pertain to int vs int32 definitions.
I hope this gives you some pointers. Best,
Marc-Antoine Parent
Le 2014-07-03 à 16:51, Bruno Carvalho <bment...@gmail.com> a écrit :
> I am having problems compiling the source code (git clone) in my MacOs.
>
> All dependencies are ok.
>
> The error (after ./configure and at make):
>
> /Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
>
> /bin/sh ../../bin/libtool.macosx --tag=CC --mode=compile gcc
> -DHAVE_CONFIG_H -I. -I../../libsrc/Dk -fno-strict-aliasing -O2 -Wall
> -DNDEBUG -DPOINTER_64 -I/usr/local/virtuoso-opensource/libsrc/Xml.new
> -DOPENSSL_NO_KRB5 -I../../libsrc -I../../libsrc/Dk -I../../libsrc/zlib -I.
> -I../../libsrc/langfunc -I../../libsrc/plugin -I../../libsrc/Tidy
> -I../../libsrc/Xml.new -I../../libsrc/odbcsdk/include -DVAD -DDBP -DBIF_XPER
> -DOPSYS=\"Darwin\" -DHOST=\"x86_64-apple-darwin13.2.0\" -O -arch i386 -arch
> x86_64 -mmacosx-version-min=10.7 -MT libwi_la-auxfiles.lo -MD -MP -MF
> .deps/libwi_la-auxfiles.Tpo -c -o libwi_la-auxfiles.lo `test -f 'auxfiles.c'
> || echo './'`auxfiles.c
>
> gcc -DHAVE_CONFIG_H -I. -I../../libsrc/Dk -fno-strict-aliasing -O2 -Wall
> -DNDEBUG -DPOINTER_64 -I/usr/local/virtuoso-opensource/libsrc/Xml.new
> -DOPENSSL_NO_KRB5 -I../../libsrc -I../../libsrc/Dk -I../../libsrc/zlib -I.
> -I../../libsrc/langfunc -I../../libsrc/plugin -I../../libsrc/Tidy
> -I../../libsrc/Xml.new -I../../libsrc/odbcsdk/include -DVAD -DDBP -DBIF_XPER
> -DOPSYS=\"Darwin\" -DHOST=\"x86_64-apple-darwin13.2.0\" -O -arch i386 -arch
> x86_64 -mmacosx-version-min=10.7 -MT libwi_la-auxfiles.lo -MD -MP -MF
> .deps/libwi_la-auxfiles.Tpo -c auxfiles.c -fno-common -DPIC -o
> .libs/libwi_la-auxfiles.o
>
> auxfiles.c:75:7: error: redefinition of 'cp_unremap_quota' with a different
> type: 'long' vs 'int'
>
> int32 cp_unremap_quota;
>
> ^
>
> ./wifn.h:1293:12: note: previous definition is here
>
> extern int cp_unremap_quota;
>
> ^
>
> auxfiles.c:76:7: error: redefinition of 'cp_unremap_quota_is_set' with a
> different type: 'long' vs 'int'
>
> int32 cp_unremap_quota_is_set;
>
> ^
>
> ./wifn.h:1294:17: note: previous definition is here
>
> extern int cp_unremap_quota_is_set;
>
> ^
>
> 2 errors generated.
>
> make[3]: *** [libwi_la-auxfiles.lo] Error 1
>
> make[2]: *** [all] Error 2
>
> make[1]: *** [all-recursive] Error 1
>
> make: *** [all-recursive] Error 1
>
> Thanks in advance,
>
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft_______________________________________________
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users