Код:
uname -a
FreeBSD bsd-pkg.test.host 10.0-RELEASE-p7 FreeBSD 10.0-RELEASE-p7 #0: Tue Jul 8 06:34:23 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
Код:
cd /usr/ports/net-im/uTox/
root@bsd-pkg:/usr/ports/net-im/uTox # make clean
===> Cleaning for uTox-0.1.3
root@bsd-pkg:/usr/ports/net-im/uTox # make
===> License GPLv3 accepted by the user
===> uTox-0.1.3 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by uTox-0.1.3 for building
===> Extracting for uTox-0.1.3
=> SHA256 Checksum OK for uTox-0.1.3.tar.gz.
===> Patching for uTox-0.1.3
===> Applying FreeBSD patches for uTox-0.1.3
===> uTox-0.1.3 depends on file: /usr/local/lib/libtoxcore.a - found
===> uTox-0.1.3 depends on file: /usr/local/include/linux/videodev2.h - found
===> uTox-0.1.3 depends on executable: gmake - found
===> uTox-0.1.3 depends on executable: pkgconf - found
===> uTox-0.1.3 depends on shared library: libdbus-1.so - found (/usr/local/lib/libdbus-1.so.3.8.6)
===> uTox-0.1.3 depends on shared library: libXft.so - found (/usr/local/lib/libXft.so.2.3.1)
===> Configuring for uTox-0.1.3
===> Building for uTox-0.1.3
gmake[1]: Вход в каталог `/usr/ports/net-im/uTox/work/notsecure-uTox-c943d2e'
cc -O2 -pipe -fno-strict-aliasing -I/usr/local/include/freetype2 -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/AL -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -g -pthread -std=gnu99 -o contextmenu.o -c contextmenu.c
cc -O2 -pipe -fno-strict-aliasing -I/usr/local/include/freetype2 -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/AL -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -g -pthread -std=gnu99 -o tox.o -c tox.c
In file included from contextmenu.c:1:
./main.h:143:1: error: unknown type name 'Tox_Options'
Tox_Options options;
^In file included from tox.c:1:
./main.h:143:1: error: unknown type name 'Tox_Options'
Tox_Options options;
^
1 error generated.
gmake[1]: *** [contextmenu.o] Ошибка 1
gmake[1]: *** Ожидание завершения заданий...
In file included from tox.c:327:
./tox_av.h:4:5: error: unknown type name 'ToxAvCSettings'; did you mean
'ToxAvCodecSettings'?
ToxAvCSettings peer_settings;
^~~~~~~~~~~~~~
ToxAvCodecSettings
/usr/local/include/tox/toxav.h:133:3: note: 'ToxAvCodecSettings' declared here
} ToxAvCodecSettings;
^
In file included from tox.c:327:
./tox_av.h:7:5: warning: implicit declaration of function
'toxav_get_peer_csettings' is invalid in C99
[-Wimplicit-function-declaration]
toxav_get_peer_csettings(arg, call_index, 0, &peer_settings);
^
./tox_av.h:9:34: error: no member named 'call_type' in 'struct
_ToxAvCodecSettings'
_Bool video = (peer_settings.call_type == TypeVideo);
~~~~~~~~~~~~~ ^
./tox_av.h:13:52: error: use of undeclared identifier 'av_jbufdc'
if(toxav_prepare_transmission(arg, call_index, av_jbufdc, av_VADd...
^
./tox_av.h:28:5: error: unknown type name 'ToxAvCSettings'; did you mean
'ToxAvCodecSettings'?
ToxAvCSettings peer_settings;
^~~~~~~~~~~~~~
ToxAvCodecSettings
/usr/local/include/tox/toxav.h:133:3: note: 'ToxAvCodecSettings' declared here
} ToxAvCodecSettings;
^
In file included from tox.c:327:
./tox_av.h:30:34: error: no member named 'call_type' in 'struct
_ToxAvCodecSettings'
_Bool video = (peer_settings.call_type == TypeVideo);
~~~~~~~~~~~~~ ^
./tox_av.h:108:5: error: unknown type name 'ToxAvCSettings'; did you mean
'ToxAvCodecSettings'?
ToxAvCSettings settings;
^~~~~~~~~~~~~~
ToxAvCodecSettings
/usr/local/include/tox/toxav.h:133:3: note: 'ToxAvCodecSettings' declared here
} ToxAvCodecSettings;
^
In file included from tox.c:327:
./tox_av.h:112:69: error: no member named 'call_type' in 'struct
_ToxAvCodecSettings'
postmessage(FRIEND_CALL_MEDIACHANGE, fid, call_index, (settings.call_t...
~~~~~~~~ ^
./tox_av.h:618:5: error: unknown type name 'ToxAvCSettings'; did you mean
'ToxAvCodecSettings'?
ToxAvCSettings dest;
^~~~~~~~~~~~~~
ToxAvCodecSettings
/usr/local/include/tox/toxav.h:133:3: note: 'ToxAvCodecSettings' declared here
} ToxAvCodecSettings;
^
In file included from tox.c:327:
./tox_av.h:696:76: error: too many arguments to function call, expected 3,
have 4
toxav_register_callstate_callback(av, callback_av_invite, av_OnInvite, NULL);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~
/usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL'
#define NULL ((void *)0)
^~~~~~~~~~~
/usr/local/include/tox/toxav.h:165:1: note:
'toxav_register_callstate_callback' declared here
void toxav_register_callstate_callback (ToxAVCallback callback, ToxAvC...
^
In file included from tox.c:327:
./tox_av.h:697:74: error: too many arguments to function call, expected 3,
have 4
toxav_register_callstate_callback(av, callback_av_start, av_OnStart, NULL);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~
/usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL'
#define NULL ((void *)0)
^~~~~~~~~~~
/usr/local/include/tox/toxav.h:165:1: note:
'toxav_register_callstate_callback' declared here
void toxav_register_callstate_callback (ToxAVCallback callback, ToxAvC...
^
In file included from tox.c:327:
./tox_av.h:698:76: error: too many arguments to function call, expected 3,
have 4
toxav_register_callstate_callback(av, callback_av_cancel, av_OnCancel, NULL);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~
/usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL'
#define NULL ((void *)0)
^~~~~~~~~~~
/usr/local/include/tox/toxav.h:165:1: note:
'toxav_register_callstate_callback' declared here
void toxav_register_callstate_callback (ToxAVCallback callback, ToxAvC...
^
In file included from tox.c:327:
./tox_av.h:699:76: error: too many arguments to function call, expected 3,
have 4
toxav_register_callstate_callback(av, callback_av_reject, av_OnReject, NULL);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~
/usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL'
#define NULL ((void *)0)
^~~~~~~~~~~
/usr/local/include/tox/toxav.h:165:1: note:
'toxav_register_callstate_callback' declared here
void toxav_register_callstate_callback (ToxAVCallback callback, ToxAvC...
^
In file included from tox.c:327:
./tox_av.h:700:70: error: too many arguments to function call, expected 3,
have 4
toxav_register_callstate_callback(av, callback_av_end, av_OnEnd, NULL);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~
/usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL'
#define NULL ((void *)0)
^~~~~~~~~~~
/usr/local/include/tox/toxav.h:165:1: note:
'toxav_register_callstate_callback' declared here
void toxav_register_callstate_callback (ToxAVCallback callback, ToxAvC...
^
In file included from tox.c:327:
./tox_av.h:702:78: error: too many arguments to function call, expected 3,
have 4
toxav_register_callstate_callback(av, callback_av_ringing, av_OnRinging, NULL);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~
/usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL'
#define NULL ((void *)0)
^~~~~~~~~~~
/usr/local/include/tox/toxav.h:165:1: note:
'toxav_register_callstate_callback' declared here
void toxav_register_callstate_callback (ToxAVCallback callback, ToxAvC...
^
In file included from tox.c:327:
./tox_av.h:703:80: error: too many arguments to function call, expected 3,
have 4
toxav_register_callstate_callback(av, callback_av_starting, av_OnStarting, NULL);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~
/usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL'
#define NULL ((void *)0)
^~~~~~~~~~~
/usr/local/include/tox/toxav.h:165:1: note:
'toxav_register_callstate_callback' declared here
void toxav_register_callstate_callback (ToxAVCallback callback, ToxAvC...
^
In file included from tox.c:327:
./tox_av.h:704:76: error: too many arguments to function call, expected 3,
have 4
toxav_register_callstate_callback(av, callback_av_ending, av_OnEnding, NULL);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~
/usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL'
#define NULL ((void *)0)
^~~~~~~~~~~
/usr/local/include/tox/toxav.h:165:1: note:
'toxav_register_callstate_callback' declared here
void toxav_register_callstate_callback (ToxAVCallback callback, ToxAvC...
^
In file included from tox.c:327:
./tox_av.h:706:92: error: too many arguments to function call, expected 3,
have 4
toxav_register_callstate_callback(av, callback_av_requesttimeout, av_OnRequestTimeout, NULL);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~
/usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL'
#define NULL ((void *)0)
^~~~~~~~~~~
/usr/local/include/tox/toxav.h:165:1: note:
'toxav_register_callstate_callback' declared here
void toxav_register_callstate_callback (ToxAVCallback callback, ToxAvC...
^
In file included from tox.c:327:
./tox_av.h:707:86: error: too many arguments to function call, expected 3,
have 4
toxav_register_callstate_callback(av, callback_av_peertimeout, av_OnPeerTimeout, NULL);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~
/usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL'
#define NULL ((void *)0)
^~~~~~~~~~~
/usr/local/include/tox/toxav.h:165:1: note:
'toxav_register_callstate_callback' declared here
void toxav_register_callstate_callback (ToxAVCallback callback, ToxAvC...
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
gmake[1]: *** [tox.o] Ошибка 1
gmake[1]: Выход из каталога `/usr/ports/net-im/uTox/work/notsecure-uTox-c943d2e'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make: stopped in /usr/ports/net-im/uTox