NetBSD Users Forum

NetBSD Users Forum

You are not logged in.

#1 2020-03-11 01:17:25

starsnet
Moderator
NetBSDFirefox 71.0

FreeSwitch on NetBSD: errors with png

Продолжаю компилить)
Получаю множественные ошибки с libpng:


/usr/pkg/include/png.h:1643:17: error: declaration for parameter 'png_byte' but no such parameter
PNG_EXPORT(218, png_byte, png_get_current_pass_number, (png_const_structrp));
                 ^
/usr/pkg/include/pngconf.h:287:65: note: in definition of macro 'PNG_FUNCTION'
#  define PNG_FUNCTION(type, name, args, attributes) attributes type name args
                                                                 ^~~~
/usr/pkg/include/pngconf.h:301:20: note: in expansion of macro 'PNG_EXPORT_TYPE'
       PNG_FUNCTION(PNG_EXPORT_TYPE(type), (PNGAPI name), PNGARG(args), \
                    ^~~~~~~~~~~~~~~
/usr/pkg/include/pngconf.h:311:4: note: in expansion of macro 'PNG_EXPORTA'
    PNG_EXPORTA(ordinal, type, name, args, PNG_EMPTY)
    ^~~~~~~~~~~
/usr/pkg/include/png.h:1643:1: note: in expansion of macro 'PNG_EXPORT'
PNG_EXPORT(218, png_byte, png_get_current_pass_number, (png_const_structrp));
^~~~~~~~~~
/usr/pkg/include/png.h:1642:17: error: declaration for parameter 'png_uint_32' but no such parameter
PNG_EXPORT(217, png_uint_32, png_get_current_row_number, (png_const_structrp));
                 ^
/usr/pkg/include/pngconf.h:287:65: note: in definition of macro 'PNG_FUNCTION'
#  define PNG_FUNCTION(type, name, args, attributes) attributes type name args

Offline

Registered users online in this topic: 0, guests: 1
[Bot] CCBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.224 seconds, 9 queries executed - Memory usage: 460.3 KiB (Peak: 962.91 KiB) ]