Re: vdr-epg-daemon-1.1.128 compiles fine on f26 but not on higher fedora version

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

 



On 09/02/18 15:01 -0000, Martin Gansser wrote:
Hi,

vdr-epg-daemon-1.1.128 compiles fine on f26 but not on higher fedora version,
something changed on F27 and rawhide, program


make[1]: Entering directory '/home/martin/rpmbuild/BUILD/vdr-epg-daemon-1.1.128/epglv'
gcc -c -I/usr/include/mysql -fPIC -L/usr/lib64/mysql -L/usr/lib64/ -lmariadb -lz -lm -lpthread -lssl -lcrypto -DMYSQL_DYNAMIC_PLUGIN -DDEBUG_MYSQL=0 -ggdb -fno-
stack-protector -O -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-
gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c++11 -D__STDC_FORMAT_MACROS
-shared src/epglvbase.c -o src/epglvbase.o
cc1: warning: command line option '-std=c++11' is valid for C++/ObjC++ but not for C
In file included from src/epglv.h:16:0,
                from src/epglvbase.c:10:
/usr/include/mysql/my_global.h:3:2: warning: #warning This file should not be included by clients, include only <mysql.h> [-Wcpp]
#warning This file should not be included by clients, include only <mysql.h>
 ^~~~~~~

This suggests the package is not using the mariadb API correctly, and
should be including a different header.

In file included from src/epglv.h:17:0,
                from src/epglvbase.c:10:
/usr/include/mysql/my_sys.h:3:2: warning: #warning This file should not be included by clients, include only <mysql.h> [-Wcpp]
#warning This file should not be included by clients, include only <mysql.h>
 ^~~~~~~
In file included from src/epglvbase.c:10:0:
src/epglv.h:21:10: fatal error: m_ctype.h: No such file or directory
#include <m_ctype.h>
         ^~~~~~~~~~~

And this is probably for the same reason: <m_ctype.h> is not part of
the public API for mariadb clients.

Did you try replacing <my_global.h> and <my_sys.h> and <m_ctype.h>
with <mysql.h> ?
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux