Opened 14 years ago
Closed 14 years ago
#8755 closed defect (fixed)
trunk mythplugins r25594 fails to build
Reported by: | Owned by: | Janne Grunau | |
---|---|---|---|
Priority: | minor | Milestone: | 0.24 |
Component: | Plugin - MythZoneminder | Version: | Master Head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description (last modified by )
Looking at the autobuilds, something between 25575 and 25594 caused it to stop building automatically with the following error:
make[4]: Leaving directory `/build/buildd/mythplugins-0.24.0~trunk25594/mythzoneminder/mythzoneminder' cd mythzmserver/ && make -f Makefile make[4]: Entering directory `/build/buildd/mythplugins-0.24.0~trunk25594/mythzoneminder/mythzmserver' ccache g++ -c -pipe -march=i686 -std=c++98 -g -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -funit-at-a-time -D__STDC_CONSTANT_MACROS -g -Wall -W -D_GNU_SOURCE -DPREFIX="/usr" -DMMX -Di386 -D_FILE_OFFSET_BITS=64 -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include -I/usr/include -I/usr -I/usr/include -o main.o main.cpp ccache g++ -c -pipe -march=i686 -std=c++98 -g -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -funit-at-a-time -D__STDC_CONSTANT_MACROS -g -Wall -W -D_GNU_SOURCE -DPREFIX="/usr" -DMMX -Di386 -D_FILE_OFFSET_BITS=64 -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include -I/usr/include -I/usr -I/usr/include -o zmserver.o zmserver.cpp zmserver.cpp: In member function 'long long int ZMServer::getDiskSpace(const std::string&, long long int&, long long int&)': zmserver.cpp:381: error: aggregate 'statfs statbuf' has incomplete type and cannot be defined zmserver.cpp:391: error: invalid use of incomplete type 'struct statfs' zmserver.cpp:381: error: forward declaration of 'struct statfs' make[4]: *** [zmserver.o] Error 1 make[4]: Leaving directory `/build/buildd/mythplugins-0.24.0~trunk25594/mythzoneminder/mythzmserver' make[3]: *** [sub-mythzmserver-make_default] Error 2 make[3]: Leaving directory `/build/buildd/mythplugins-0.24.0~trunk25594/mythzoneminder' make[2]: *** [sub-mythzoneminder-make_default] Error 2 make[2]: *** Waiting for unfinished jobs.... cd theme/ && make -f Makefile
Attachments (1)
Change History (5)
Changed 14 years ago by
comment:2 Changed 14 years ago by
Description: | modified (diff) |
---|
wrapping in code blocks for readability
comment:3 Changed 14 years ago by
Yeah it's the move from -std=c99 to -std=c++98 that's causing it, dont know why but if you manually compile it with gcc and -std=c99 then it works.
comment:4 Changed 14 years ago by
Owner: | changed from paulh to Janne Grunau |
---|---|
Status: | new → assigned |
Note: See
TracTickets for help on using
tickets.
Buildlog