stsaz / fmedia

fast audio player/recorder/converter
BSD 2-Clause "Simplified" License
217 stars 21 forks source link

Ошибка компиляции git версии #2

Closed kmaximv closed 7 years ago

kmaximv commented 8 years ago

При попытке скомпилировать:

maksim@animal ~ $ mkdir firmdev && cd firmdev
maksim@animal ~/firmdev $ git clone https://github.com/stsaz/ffos
Cloning into 'ffos'...
remote: Counting objects: 635, done.
remote: Total 635 (delta 0), reused 0 (delta 0), pack-reused 635
Receiving objects: 100% (635/635), 125.18 KiB | 0 bytes/s, done.
Resolving deltas: 100% (486/486), done.
Checking connectivity... готово.
maksim@animal ~/firmdev $ git clone https://github.com/stsaz/ff
Cloning into 'ff'...
remote: Counting objects: 1579, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 1579 (delta 2), reused 1 (delta 1), pack-reused 1576
Receiving objects: 100% (1579/1579), 424.01 KiB | 299.00 KiB/s, done.
Resolving deltas: 100% (1203/1203), done.
Checking connectivity... готово.
maksim@animal ~/firmdev $ wget http://firmdev.com/ff-3pt.tar.xz
--2016-03-27 02:37:29--  http://firmdev.com/ff-3pt.tar.xz
Распознаётся firmdev.com (firmdev.com)… 209.99.16.94
Подключение к firmdev.com (firmdev.com)|209.99.16.94|:80... соединение установлено.
HTTP-запрос отправлен. Ожидание ответа... 200 OK
Длина: 3972508 (3,8M) [application/x-xz]
Сохранение в: «ff-3pt.tar.xz»

100%[======================================>] 3.972.508    685KB/s   за 6,2s   

2016-03-27 02:37:37 (630 KB/s) - «ff-3pt.tar.xz» сохранён [3972508/3972508]

maksim@animal ~/firmdev $ tar Jxf ff-3pt.tar.xz
maksim@animal ~/firmdev $ git clone https://github.com/stsaz/fmedia
Cloning into 'fmedia'...
remote: Counting objects: 1262, done.
remote: Total 1262 (delta 0), reused 0 (delta 0), pack-reused 1262
Receiving objects: 100% (1262/1262), 281.91 KiB | 241.00 KiB/s, done.
Resolving deltas: 100% (973/973), done.
Checking connectivity... готово.
maksim@animal ~/firmdev $ cd fmedia
maksim@animal ~/firmdev/fmedia $ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:../ff-3pt/linux-amd64
maksim@animal ~/firmdev/fmedia $ make install
mkdir -p ./ff-obj
gcc -fpic -DFF_OLDLIBC -O2 -g -ffunction-sections -fdata-sections  -fvisibility=hidden -c -Werror -Wall -Wextra -Wno-unused-parameter -pthread -I../ff -I../ff-3pt -I../ffos  ../ffos/FFOS/ffos.c -off-obj/ffos.o
In file included from ../ffos/FFOS/types.h:24:0,
                 from ../ffos/FFOS/file.h:8,
                 from ../ffos/FFOS/ffos.c:5:
../ffos/FFOS/unix/types.h:12:22: fatal error: byteswap.h: Нет такого файла или каталога
 #include <byteswap.h>
                      ^
compilation terminated.
make: *** [ff-obj/ffos.o] Ошибка 1
stsaz commented 8 years ago

byteswap.h входит в состав пакета glibc-headers. Проверьте, установлен ли он?