LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 04-21-2012, 03:52 AM   #1
GraysonPeddie
Member
 
Registered: Jul 2008
Location: Tallahassee, FL 32304
Distribution: Bebian Sid for server, KXStudio 12.04 Beta 1 for desktop
Posts: 33

Rep: Reputation: 1
Zarafa 7.0.6: Invalid Conversion from &gzFile_s*...


Running Debian Sid with Linux 3.3 kernel

I'm getting stuck with the error message for gzFile_s even with zlib1g-dev installed:

Code:
root@debian-server:/usr/src/zarafa-7.0.6# make
make  all-recursive
make[1]: Entering directory `/usr/src/zarafa-7.0.6'
Making all in common
make[2]: Entering directory `/usr/src/zarafa-7.0.6/common'
make  all-am
make[3]: Entering directory `/usr/src/zarafa-7.0.6/common'
/bin/bash ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.   -DBOOST_FILESYSTEM_VERSION=2 -DLINUX -I../mapi4linux/include -I../provider/common -I../libfreebusy   -g -O2   -g -rdynamic -Wall -Wno-write-strings  -DHAVE_CONFIG_H -pedantic -Wno-long-long  -Wno-variadic-macros -pthread -O2 -fno-strict-aliasing -DNDEBUG -DFORCE_CHARSET_CONVERSION -DUNICODE -MT platform.lo -MD -MP -MF .deps/platform.Tpo -c -o platform.lo platform.cpp
mkdir .libs
 g++ -DHAVE_CONFIG_H -I. -DBOOST_FILESYSTEM_VERSION=2 -DLINUX -I../mapi4linux/include -I../provider/common -I../libfreebusy -g -O2 -g -rdynamic -Wall -Wno-write-strings -DHAVE_CONFIG_H -pedantic -Wno-long-long -Wno-variadic-macros -pthread -O2 -fno-strict-aliasing -DNDEBUG -DFORCE_CHARSET_CONVERSION -DUNICODE -MT platform.lo -MD -MP -MF .deps/platform.Tpo -c platform.cpp  -fPIC -DPIC -o .libs/platform.o
mv -f .deps/platform.Tpo .deps/platform.Plo
/bin/bash ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.   -DBOOST_FILESYSTEM_VERSION=2 -DLINUX -I../mapi4linux/include -I../provider/common -I../libfreebusy   -g -O2   -g -rdynamic -Wall -Wno-write-strings  -DHAVE_CONFIG_H -pedantic -Wno-long-long  -Wno-variadic-macros -pthread -O2 -fno-strict-aliasing -DNDEBUG -DFORCE_CHARSET_CONVERSION -DUNICODE -MT platform.linux.lo -MD -MP -MF .deps/platform.linux.Tpo -c -o platform.linux.lo platform.linux.cpp
 g++ -DHAVE_CONFIG_H -I. -DBOOST_FILESYSTEM_VERSION=2 -DLINUX -I../mapi4linux/include -I../provider/common -I../libfreebusy -g -O2 -g -rdynamic -Wall -Wno-write-strings -DHAVE_CONFIG_H -pedantic -Wno-long-long -Wno-variadic-macros -pthread -O2 -fno-strict-aliasing -DNDEBUG -DFORCE_CHARSET_CONVERSION -DUNICODE -MT platform.linux.lo -MD -MP -MF .deps/platform.linux.Tpo -c platform.linux.cpp  -fPIC -DPIC -o .libs/platform.linux.o
mv -f .deps/platform.linux.Tpo .deps/platform.linux.Plo
/bin/bash ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.   -DBOOST_FILESYSTEM_VERSION=2 -DLINUX -I../mapi4linux/include -I../provider/common -I../libfreebusy   -g -O2   -g -rdynamic -Wall -Wno-write-strings  -DHAVE_CONFIG_H -pedantic -Wno-long-long  -Wno-variadic-macros -pthread -O2 -fno-strict-aliasing -DNDEBUG -DFORCE_CHARSET_CONVERSION -DUNICODE -MT md5.lo -MD -MP -MF .deps/md5.Tpo -c -o md5.lo md5.cpp
 g++ -DHAVE_CONFIG_H -I. -DBOOST_FILESYSTEM_VERSION=2 -DLINUX -I../mapi4linux/include -I../provider/common -I../libfreebusy -g -O2 -g -rdynamic -Wall -Wno-write-strings -DHAVE_CONFIG_H -pedantic -Wno-long-long -Wno-variadic-macros -pthread -O2 -fno-strict-aliasing -DNDEBUG -DFORCE_CHARSET_CONVERSION -DUNICODE -MT md5.lo -MD -MP -MF .deps/md5.Tpo -c md5.cpp  -fPIC -DPIC -o .libs/md5.o
mv -f .deps/md5.Tpo .deps/md5.Plo
/bin/bash ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.   -DBOOST_FILESYSTEM_VERSION=2 -DLINUX -I../mapi4linux/include -I../provider/common -I../libfreebusy   -g -O2   -g -rdynamic -Wall -Wno-write-strings  -DHAVE_CONFIG_H -pedantic -Wno-long-long  -Wno-variadic-macros -pthread -O2 -fno-strict-aliasing -DNDEBUG -DFORCE_CHARSET_CONVERSION -DUNICODE -MT base64.lo -MD -MP -MF .deps/base64.Tpo -c -o base64.lo base64.cpp
 g++ -DHAVE_CONFIG_H -I. -DBOOST_FILESYSTEM_VERSION=2 -DLINUX -I../mapi4linux/include -I../provider/common -I../libfreebusy -g -O2 -g -rdynamic -Wall -Wno-write-strings -DHAVE_CONFIG_H -pedantic -Wno-long-long -Wno-variadic-macros -pthread -O2 -fno-strict-aliasing -DNDEBUG -DFORCE_CHARSET_CONVERSION -DUNICODE -MT base64.lo -MD -MP -MF .deps/base64.Tpo -c base64.cpp  -fPIC -DPIC -o .libs/base64.o
mv -f .deps/base64.Tpo .deps/base64.Plo
/bin/bash ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.   -DBOOST_FILESYSTEM_VERSION=2 -DLINUX -I../mapi4linux/include -I../provider/common -I../libfreebusy   -g -O2   -g -rdynamic -Wall -Wno-write-strings  -DHAVE_CONFIG_H -pedantic -Wno-long-long  -Wno-variadic-macros -pthread -O2 -fno-strict-aliasing -DNDEBUG -DFORCE_CHARSET_CONVERSION -DUNICODE -MT ECLogger.lo -MD -MP -MF .deps/ECLogger.Tpo -c -o ECLogger.lo ECLogger.cpp
 g++ -DHAVE_CONFIG_H -I. -DBOOST_FILESYSTEM_VERSION=2 -DLINUX -I../mapi4linux/include -I../provider/common -I../libfreebusy -g -O2 -g -rdynamic -Wall -Wno-write-strings -DHAVE_CONFIG_H -pedantic -Wno-long-long -Wno-variadic-macros -pthread -O2 -fno-strict-aliasing -DNDEBUG -DFORCE_CHARSET_CONVERSION -DUNICODE -MT ECLogger.lo -MD -MP -MF .deps/ECLogger.Tpo -c ECLogger.cpp  -fPIC -DPIC -o .libs/ECLogger.o
ECLogger.cpp: In constructor ‚ECLogger_File::ECLogger_File(int, int, const char*, bool)‚:
ECLogger.cpp:169:14: error: invalid conversion from ‚gzFile_s* (*)(const char*, const char*)‚ to ‚ECLogger_File::open_func {aka void* (*)(const char*, const char*)}‚ [-fpermissive]
ECLogger.cpp:170:15: error: invalid conversion from ‚int (*)(gzFile) {aka int (*)(gzFile_s*)}‚ to ‚ECLogger_File::close_func {aka int (*)(void*)}‚ [-fpermissive]
ECLogger.cpp:171:16: error: invalid conversion from ‚int (*)(gzFile, const char*, ...) {aka int (*)(gzFile_s*, const char*, ...)}‚ to ‚ECLogger_File::printf_func {aka int (*)(void*, const char*, ...)}‚ [-fpermissive]
make[3]: *** [ECLogger.lo] Error 1
make[3]: Leaving directory `/usr/src/zarafa-7.0.6/common'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/zarafa-7.0.6/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/zarafa-7.0.6'
make: *** [all] Error 2
root@debian-server:/usr/src/zarafa-7.0.6#
Does anyone know of my solution to the problem? I'm trying to install Zarafa in Debian Sid, which is unsupported by Zarafa when I try to install the deb packages of Zarafa.
 
Old 05-04-2012, 08:02 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,160

Rep: Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643
Should be OK when you use some patches (or all) from e.g. zarafa-7.0.6-1.src.rpm
ftp://ftp.sunet.se/pub/Linux/distrib....0.6-1.src.rpm

Zarafa "patches only package" : zarafa-patches-7.0.6.tar.gz ( 3.3 kB.)
https://docs.google.com/open?id=0B7S...k15Z0Q4RHNTNlU

g++-4.5 / boost-1.42 was used for a compile test. ( Not Debian Sid.)

.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Zarafa Catalyses Software Development Collaboration by Launching git.zarafa.com LXer Syndicated Linux News 0 02-03-2012 04:50 PM
[SOLVED] Invalid Conversion from... Zssfssz Programming 4 01-21-2012 01:30 AM
invalid conversion from `int*' to `socklen_t*' r350 Programming 5 10-02-2011 06:34 PM
invalid conversion m.dehghan Programming 1 07-28-2011 06:18 AM
Invalid conversion from bool fsshl Programming 3 07-19-2011 07:42 PM


All times are GMT -5. The time now is 05:15 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration