751

(388 odpowiedzi, napisanych Oprogramowanie / Software)

Witajcie, skompilowałem ponownie tvheadend, zakładka TV adapters sie pojawiła lecz niestety nie ma tam nic do wyboru. Włączenie tvheadend:

root@OpenWRT/# tvheadend -c /etctvheadend -C
Oct 19 08:52:09.504 [  ALERT] START: Configuration path /etctvheadend is not read/write:able by user (UID:0, GID:0) -- No such file or directory
Oct 19 08:52:09.509 [WARNING] access: Created default wide open access controle entry
Oct 19 08:52:09.749 [   INFO] charset: 119 entries loaded
Oct 19 08:52:09.755 [   INFO] epggrab: module eit created
Oct 19 08:52:09.758 [   INFO] epggrab: module uk_freesat created
Oct 19 08:52:09.760 [   INFO] epggrab: module uk_freeview created
Oct 19 08:52:09.762 [   INFO] epggrab: module viasat_baltic created
Oct 19 08:52:09.788 [   INFO] epggrab: module opentv-ausat created
Oct 19 08:52:09.791 [   INFO] epggrab: module opentv-skyuk created
Oct 19 08:52:09.794 [   INFO] epggrab: module opentv-skyit created
Oct 19 08:52:09.796 [   INFO] epggrab: module pyepg created
Oct 19 08:52:09.798 [   INFO] epggrab: module xmltv created
Oct 19 08:52:09.801 [   INFO] dvr: Creating new configuration ''
Oct 19 08:52:09.804 [WARNING] dvr: Output directory for video recording is not yet configured for DVR configuration "". Defaulting to to "/root". This can be changed from the web user interface.
Oct 19 08:52:09.807 [ NOTICE] START: HTS Tvheadend version 0.0.0~unknown started, running as PID:3221 UID:0 GID:0, settings located in 'No settings dir'

W rc.local mam wpisane:

insmod dvb-core
insmod dvb-usb
insmod dvb-usb-it913x

W czym problem?

752

(388 odpowiedzi, napisanych Oprogramowanie / Software)

Wracam, zainstałowałem tvheadend, wpisuje w konsoli:

tvheadend -c /etc/tvheadend -C

otrzymuje

root@OpenWRT/dev/dvb# tvheadend -c /etc/tvheadend -C
Oct 18 20:45:28.297 [WARNING] access: Created default wide open access controle entry
Oct 18 20:45:28.301 [   INFO] epggrab: module pyepg created
Oct 18 20:45:28.304 [   INFO] epggrab: module xmltv created
Oct 18 20:45:28.309 [   INFO] dvr: Creating new configuration ''
Oct 18 20:45:28.311 [WARNING] dvr: Output directory for video recording is not yet configured for DVR configuration "". Defaulting to to "/root". This can be changed from the web user interface.
Oct 18 20:45:28.314 [ NOTICE] START: HTS Tvheadend version 0.0.0~unknown started, running as PID:3142 UID:0 GID:0, settings located in '/etc/tvheadend'
Oct 18 20:51:25.576 [   INFO] epggrab: module pyepg created
Oct 18 20:51:25.579 [   INFO] epggrab: module xmltv created
Oct 18 20:51:25.583 [   INFO] epgdb: loaded v2
Oct 18 20:51:25.585 [   INFO] epgdb:   channels   0
Oct 18 20:51:25.587 [   INFO] epgdb:   brands     0
Oct 18 20:51:25.588 [   INFO] epgdb:   seasons    0
Oct 18 20:51:25.590 [   INFO] epgdb:   episodes   0
Oct 18 20:51:25.591 [   INFO] epgdb:   broadcasts 0
Oct 18 20:51:25.592 [   INFO] dvr: Creating new configuration ''
Oct 18 20:51:25.593 [WARNING] dvr: Output directory for video recording is not yet configured for DVR configuration "". Defaulting to to "/root". This can be changed from the web user interface.
Oct 18 20:51:25.595 [ NOTICE] START: HTS Tvheadend version 0.0.0~unknown started, running as PID:3181 UID:0 GID:0, settings located in '/etc/tvheadend'

Na stronie konfiguracyjnej tvheadend w zakładce DVB Inputs nie mam zakładki TV adapters hmm Jedynie IPTV.

753

(147 odpowiedzi, napisanych Inne)

Z innymi też nie działało sad

Update://

Packaged contents of /opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-2b649954346aa2e9c81834d500a25c528f31f829/ipkg-kirkwood/tvheadend into /opt/attitude_adjustment/bin/kirkwood/packages/tvheadend_20130903-2b649954346aa2e9c81834d500a25c528f31f829_kirkwood.ipk
rm -rf /opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/root-kirkwood/tmp-tvheadend
mkdir -p /opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/root-kirkwood/stamp /opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/root-kirkwood/tmp-tvheadend
install -d -m0755 /opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/root-kirkwood/tmp-tvheadend/etc/tvheadend
install -d -m0755 /opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/root-kirkwood/tmp-tvheadend/etc/init.d
install -m0755 ./files/tvheadend.init /opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/root-kirkwood/tmp-tvheadend/etc/init.d/tvheadend
install -d -m0755 /opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/root-kirkwood/tmp-tvheadend/lib/upgrade/keep.d
install -m0644 ./files/tvheadend.upgrade /opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/root-kirkwood/tmp-tvheadend/lib/upgrade/keep.d/tvheadend
install -d -m0755 /opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/root-kirkwood/tmp-tvheadend/usr/bin
install -m0755 /opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-2b649954346aa2e9c81834d500a25c528f31f829/build.linux/tvheadend /opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/root-kirkwood/tmp-tvheadend/usr/bin/
SHELL= /opt/attitude_adjustment/staging_dir/host/bin/flock /opt/attitude_adjustment/tmp/.root-copy.flock -c 'cp -fpR /opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/root-kirkwood/tmp-tvheadend/. /opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/root-kirkwood/'
rm -rf /opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/root-kirkwood/tmp-tvheadend
touch /opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/root-kirkwood/stamp/.tvheadend_installed
make[2]: Leaving directory `/opt/attitude_adjustment/package/tvheadend'
make[1]: Leaving directory `/opt/attitude_adjustment'

Czyżby się udało? W package mam plik tvheadend_20130903-2b649954346aa2e9c81834d500a25c528f31f829_kirkwood.ipkg.

754

(147 odpowiedzi, napisanych Inne)

Na linuxie? Podejrzałem plik edytorem nano, brak windowsowych końców lini. Makefile ode mnie: http://www.speedyshare.com/wJNwm/Makefile

755

(147 odpowiedzi, napisanych Inne)

gedit'em.

756

(147 odpowiedzi, napisanych Inne)

Package tvheadend is missing dependencies for the following libraries:
libcrypto.so.1.0.0
libcurl.so.4
libpthread.so.0
librt.so.0
libssl.so.1.0.0
libz.so.1
make[2]: *** [/opt/attitude_adjustment/bin/kirkwood/packages/tvheadend_"20130903"-2b649954346aa2e9c81834d500a25c528f31f829_kirkwood.ipk] Error 1
make[2]: Leaving directory `/opt/attitude_adjustment/package/tvheadend'
make[1]: *** [package/tvheadend/compile] Error 2
make[1]: Leaving directory `/opt/attitude_adjustment'
make: *** [package/tvheadend/compile] Error 2

757

(147 odpowiedzi, napisanych Inne)

find /opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-2b649954346aa2e9c81834d500a25c528f31f829/ipkg-kirkwood/tvheadend -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
Package tvheadend is missing dependencies for the following libraries:
libcurl.so.4
make[2]: *** [/opt/attitude_adjustment/bin/kirkwood/packages/tvheadend_"20130903"-2b649954346aa2e9c81834d500a25c528f31f829_kirkwood.ipk] Error 1
make[2]: Leaving directory `/opt/attitude_adjustment/package/tvheadend'
make[1]: *** [package/tvheadend/compile] Error 2
make[1]: Leaving directory `/opt/attitude_adjustment'
make: *** [package/tvheadend/compile] Error 2

+

include $(TOPDIR)/rules.mk

PKG_NAME:=tvheadend
PKG_DATE:="20130903"
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=git://github.com/tvheadend/tvheadend.git
PKG_SOURCE_VERSION:=2b649954346aa2e9c81834d500a25c528f31f829

PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_SOURCE_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.gz

PKG_VERSION:=$(PKG_DATE)-$(PKG_SOURCE_VERSION)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_SOURCE_VERSION)

include $(INCLUDE_DIR)/package.mk

define Package/tvheadend
  SECTION:=multimedia
  CATEGORY:=Multimedia
  TITLE:=Tvheadend is a TV streaming server for Linux
  DEPENDS:=+libopenssl +librt +zlib +TVHEADEND_AVAHI_SUPPORT:libavahi-client
  URL:=http://www.lonelycoder.com/hts/tvheadend_overview.html
endef

define Package/tvheadend/description
  Tvheadend is a TV streaming server for Linux supporting DVB, ATSC, IPTV,
  and Analog video (V4L) as input sources.
  Can be used as a backend to Showtime, XBMC and various other clients.
endef

define Package/tvheadend/config
  menu "Configuration"
  depends on PACKAGE_tvheadend
  source "$(SOURCE)/Config.in"
  endmenu
endef

ifeq ($(CONFIG_TVHEADEND_CWC_SUPPORT),)
  CONFIGURE_ARGS += --disable-cwc
endif

ifeq ($(CONFIG_TVHEADEND_V4L_SUPPORT),)
  CONFIGURE_ARGS += --disable-v4l
endif

ifeq ($(CONFIG_TVHEADEND_LINUXDVB_SUPPORT),)
  CONFIGURE_ARGS += --disable-linuxdvb
endif

ifeq ($(CONFIG_TVHEADEND_DVBSCAN_SUPPORT),)
  CONFIGURE_ARGS += --disable-dvbscan
endif

ifeq ($(CONFIG_TVHEADEND_AVAHI_SUPPORT),)
  CONFIGURE_ARGS += --disable-avahi
else
  CONFIGURE_ARGS += --enable-avahi
endif

CONFIGURE_ARGS += \
    --release \
    --enable-bundle \
    --enable-dvbcsa

define Package/tvheadend/install
    $(INSTALL_DIR) $(1)/etc/tvheadend
    $(INSTALL_DIR) $(1)/etc/init.d
    $(INSTALL_BIN) ./files/tvheadend.init $(1)/etc/init.d/tvheadend
    $(INSTALL_DIR) $(1)/lib/upgrade/keep.d
    $(INSTALL_DATA) ./files/tvheadend.upgrade $(1)/lib/upgrade/keep.d/tvheadend
    
    $(INSTALL_DIR) $(1)/usr/bin
    $(INSTALL_BIN) $(PKG_BUILD_DIR)/build.linux/tvheadend $(1)/usr/bin/
endef

$(eval $(call BuildPackage,tvheadend))

Ciężki przypadek? big_smile

758

(147 odpowiedzi, napisanych Inne)

A mogę coś zmienić, żeby udało się to skompilować? Tak na prawdę do szczęścia brakuje mi tylko tego big_smile

759

(147 odpowiedzi, napisanych Inne)

Na pewno nie dla mnie : D Mam jakieś szanse na tvheadend'a na kirkwooda?

760

(147 odpowiedzi, napisanych Inne)

Makefile nie ruszałem:

include $(TOPDIR)/rules.mk

PKG_NAME:=tvheadend
PKG_DATE:="20130903"
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=git://github.com/tvheadend/tvheadend.git
PKG_SOURCE_VERSION:=2b649954346aa2e9c81834d500a25c528f31f829

PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_SOURCE_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.gz

PKG_VERSION:=$(PKG_DATE)-$(PKG_SOURCE_VERSION)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_SOURCE_VERSION)

include $(INCLUDE_DIR)/package.mk

define Package/tvheadend
  SECTION:=multimedia
  CATEGORY:=Multimedia
  TITLE:=Tvheadend is a TV streaming server for Linux
  DEPENDS:=+libopenssl +librt +zlib +TVHEADEND_AVAHI_SUPPORT:libavahi-client +libcurl +libffmpeg-0.11 +libdvbcsa
  URL:=http://www.lonelycoder.com/hts/tvheadend_overview.html
endef

define Package/tvheadend/description
  Tvheadend is a TV streaming server for Linux supporting DVB, ATSC, IPTV,
  and Analog video (V4L) as input sources.
  Can be used as a backend to Showtime, XBMC and various other clients.
endef

define Package/tvheadend/config
  menu "Configuration"
  depends on PACKAGE_tvheadend
  source "$(SOURCE)/Config.in"
  endmenu
endef

ifeq ($(CONFIG_TVHEADEND_CWC_SUPPORT),)
  CONFIGURE_ARGS += --disable-cwc
endif

ifeq ($(CONFIG_TVHEADEND_V4L_SUPPORT),)
  CONFIGURE_ARGS += --disable-v4l
endif

ifeq ($(CONFIG_TVHEADEND_LINUXDVB_SUPPORT),)
  CONFIGURE_ARGS += --disable-linuxdvb
endif

ifeq ($(CONFIG_TVHEADEND_DVBSCAN_SUPPORT),)
  CONFIGURE_ARGS += --disable-dvbscan
endif

ifeq ($(CONFIG_TVHEADEND_AVAHI_SUPPORT),)
  CONFIGURE_ARGS += --disable-avahi
else
  CONFIGURE_ARGS += --enable-avahi
endif

CONFIGURE_ARGS += \
    --release \
    --enable-bundle \
    --enable-dvbcsa

define Package/tvheadend/install
    $(INSTALL_DIR) $(1)/etc/tvheadend
    $(INSTALL_DIR) $(1)/etc/init.d
    $(INSTALL_BIN) ./files/tvheadend.init $(1)/etc/init.d/tvheadend
    $(INSTALL_DIR) $(1)/lib/upgrade/keep.d
    $(INSTALL_DATA) ./files/tvheadend.upgrade $(1)/lib/upgrade/keep.d/tvheadend
    
    $(INSTALL_DIR) $(1)/usr/bin
    $(INSTALL_BIN) $(PKG_BUILD_DIR)/build.linux/tvheadend $(1)/usr/bin/
endef

$(eval $(call BuildPackage,tvheadend))

W katalogu tvheadend w package mam katalog files oraz 2 pliki Config.in i Twój Makefile.

761

(147 odpowiedzi, napisanych Inne)

W tym makefile jest już dodane libcurl.

762

(147 odpowiedzi, napisanych Inne)

Package tvheadend is missing dependencies for the following libraries:
libcurl.so.4
make[2]: *** [/opt/attitude_adjustment/bin/kirkwood/packages/tvheadend_"20130903"-2b649954346aa2e9c81834d500a25c528f31f829_kirkwood.ipk] Error 1
make[2]: Leaving directory `/opt/attitude_adjustment/package/tvheadend'
make[1]: *** [package/tvheadend/compile] Error 2
make[1]: Leaving directory `/opt/attitude_adjustment'
make: *** [package/tvheadend/compile] Error 2

763

(147 odpowiedzi, napisanych Inne)

find /opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-2b649954346aa2e9c81834d500a25c528f31f829/ipkg-kirkwood/tvheadend -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
Package tvheadend is missing dependencies for the following libraries:
libcurl.so.4
make[2]: *** [/opt/attitude_adjustment/bin/kirkwood/packages/tvheadend_"20130903"-2b649954346aa2e9c81834d500a25c528f31f829_kirkwood.ipk] Error 1
make[2]: Leaving directory `/opt/attitude_adjustment/package/tvheadend'
make[1]: *** [package/tvheadend/compile] Error 2
make[1]: Leaving directory `/opt/attitude_adjustment'
make: *** [package/tvheadend/compile] Error 2

764

(147 odpowiedzi, napisanych Inne)

Checking out files from the git repository...
Cloning into 'tvheadend-2b649954346aa2e9c81834d500a25c528f31f829'...
remote: Counting objects: 27484, done.
remote: Compressing objects: 100% (10336/10336), done.
remote: Total 27484 (delta 18841), reused 25447 (delta 16985)
Receiving objects: 100% (27484/27484), 16.25 MiB | 1.05 MiB/s, done.
Resolving deltas: 100% (18841/18841), done.
Note: checking out '2b649954346aa2e9c81834d500a25c528f31f829'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at 2b64995... transcoding: fixed copy & paste error, making it impossible to disable transcoding from the webui once enabled.
Packing checkout...
. /opt/attitude_adjustment/include/shell.sh; gzip -dc /opt/attitude_adjustment/dl/tvheadend-2b649954346aa2e9c81834d500a25c528f31f829.tar.gz | /bin/tar -C /opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-2b649954346aa2e9c81834d500a25c528f31f829/.. -xf - 

Applying ./patches/010-SHA1.patch using plaintext: 
patching file src/trap.c
Hunk #1 FAILED at 243.
1 out of 1 hunk FAILED -- saving rejects to file src/trap.c.rej
Patch failed!  Please fix ./patches/010-SHA1.patch!
make[2]: *** [/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-2b649954346aa2e9c81834d500a25c528f31f829/.prepared_55edbdc8fad142c7cea398f38719cb57] Error 1
make[2]: Leaving directory `/opt/attitude_adjustment/package/tvheadend'
make[1]: *** [package/tvheadend/compile] Error 2
make[1]: Leaving directory `/opt/attitude_adjustment'

Coś go boli jeszcze.

765

(147 odpowiedzi, napisanych Inne)

Witaj, usunąłem linie PKG_MD5SUM, lecz nie wiem jaki dać numer kompilacji hmm Bez tej lini podczas kompilacji na końcu otrzymuję:

make[3]: *** [build.linux/src/webui/statedump.o] Error 1
make[3]: Leaving directory `/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2'
make[2]: *** [/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/.built] Error 2
make[2]: Leaving directory `/opt/attitude_adjustment/package/tvheadend'
make[1]: *** [package/tvheadend/compile] Error 2
make[1]: Leaving directory `/opt/attitude_adjustment'
make: *** [package/tvheadend/compile] Error 2

Update:// Najnowsza to 3.4 i jakiś patch 3.4.27. Gdy wpisuje wersje 3.4 do makefile to otrzymuję:

Download failed.
--2013-10-18 18:27:43--  http://mirror2.openwrt.org/sources/tvheadend-3.4.tar.gz
Resolving mirror2.openwrt.org (mirror2.openwrt.org)... 46.4.11.11
Connecting to mirror2.openwrt.org (mirror2.openwrt.org)|46.4.11.11|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2013-10-18 18:27:44 ERROR 404: Not Found.

Download failed.
--2013-10-18 18:27:44--  http://downloads.openwrt.org/sources/tvheadend-3.4.tar.gz
Resolving downloads.openwrt.org (downloads.openwrt.org)... 78.24.191.177
Connecting to downloads.openwrt.org (downloads.openwrt.org)|78.24.191.177|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2013-10-18 18:27:44 ERROR 404: Not Found.

766

(147 odpowiedzi, napisanych Inne)

Potrzebuję więcej wskazówek.

767

(147 odpowiedzi, napisanych Inne)

Ponownie wpisałem make menuconfig, w multimedia zaznaczyłem tvheadend, dalem exit, save. Wpisałem ponownie make package/tvheadend/compile V=s i mam

bartekk@Linux-PC /opt/attitude_adjustment $ make package/tvheadend/compile V=s
make[1]: Entering directory `/opt/attitude_adjustment'
make[2]: Entering directory `/opt/attitude_adjustment/package/toolchain'
WARNING: skipping libssp -- package not selected
WARNING: skipping libstdcpp -- package not selected
WARNING: skipping libgfortran -- package not selected
WARNING: skipping ldd -- package not selected
WARNING: skipping ldconfig -- package not selected
make[2]: Leaving directory `/opt/attitude_adjustment/package/toolchain'
make[2]: Entering directory `/opt/attitude_adjustment/package/ocf-crypto-headers'
make[2]: Leaving directory `/opt/attitude_adjustment/package/ocf-crypto-headers'
make[2]: Entering directory `/opt/attitude_adjustment/package/zlib'
make[2]: Leaving directory `/opt/attitude_adjustment/package/zlib'
make[2]: Entering directory `/opt/attitude_adjustment/package/openssl'
WARNING: skipping openssl-util -- package not selected
make[2]: Leaving directory `/opt/attitude_adjustment/package/openssl'
make[2]: Entering directory `/opt/attitude_adjustment/package/tvheadend'
CFLAGS="-Os -pipe -march=armv5te -mtune=xscale -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  -I/opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/usr/include -I/opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/include -I/opt/attitude_adjustment/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/usr/include -I/opt/attitude_adjustment/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/include " CXXFLAGS="-Os -pipe -march=armv5te -mtune=xscale -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  -I/opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/usr/include -I/opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/include -I/opt/attitude_adjustment/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/usr/include -I/opt/attitude_adjustment/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/include " LDFLAGS="-L/opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/usr/lib -L/opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/lib -L/opt/attitude_adjustment/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/usr/lib -L/opt/attitude_adjustment/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/lib " make -j1 -C /opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/. AR=arm-openwrt-linux-uclibcgnueabi-ar AS="arm-openwrt-linux-uclibcgnueabi-gcc -c -Os -pipe -march=armv5te -mtune=xscale -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float" LD=arm-openwrt-linux-uclibcgnueabi-ld NM=arm-openwrt-linux-uclibcgnueabi-nm CC="arm-openwrt-linux-uclibcgnueabi-gcc" GCC="arm-openwrt-linux-uclibcgnueabi-gcc" CXX="arm-openwrt-linux-uclibcgnueabi-g++" RANLIB=arm-openwrt-linux-uclibcgnueabi-ranlib STRIP=arm-openwrt-linux-uclibcgnueabi-strip OBJCOPY=arm-openwrt-linux-uclibcgnueabi-objcopy OBJDUMP=arm-openwrt-linux-uclibcgnueabi-objdump SIZE=arm-openwrt-linux-uclibcgnueabi-size CROSS="arm-openwrt-linux-uclibcgnueabi-" ARCH="arm" ;
make[3]: Entering directory `/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2'
arm-openwrt-linux-uclibcgnueabi-gcc -MD -MP -Os -pipe -march=armv5te -mtune=xscale -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  -I/opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/usr/include -I/opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/include -I/opt/attitude_adjustment/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/usr/include -I/opt/attitude_adjustment/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/include  -Os -pipe -march=armv5te -mtune=xscale -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  -I/opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/usr/include   -I/opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/usr/include   -Wall -Werror -Wwrite-strings -Wno-deprecated-declarations -Wmissing-prototypes -fms-extensions -g -funsigned-char -O2  -D_FILE_OFFSET_BITS=64 -I./build.linux -I/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src -I/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2 -c -o build.linux/src/webui/statedump.o /opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c
cc1: note: someone does not honour COPTS correctly, passed 2 times
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c: In function 'dumpchannels':
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:60:3: error: unknown type name 'channel_t'
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:63:3: error: assignment from incompatible pointer type [-Werror]
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:63:3: error: request for member 'ch_name_link' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:63:3: error: request for member 'ch_name_link' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:63:3: error: request for member 'ch_name_link' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:63:3: error: request for member 'ch_name_link' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:63:3: error: request for member 'ch_name_link' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:63:3: error: request for member 'ch_name_link' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:65:39: error: request for member 'ch_name' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:65:52: error: request for member 'ch_id' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:71:8: error: request for member 'ch_refcount' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:72:8: error: request for member 'ch_zombie' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:73:8: error: request for member 'ch_number' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:74:8: error: request for member 'ch_icon' in something not a structure or union
cc1: all warnings being treated as errors

make[3]: *** [build.linux/src/webui/statedump.o] Error 1
make[3]: Leaving directory `/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2'
make[2]: *** [/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/.built] Error 2
make[2]: Leaving directory `/opt/attitude_adjustment/package/tvheadend'
make[1]: *** [package/tvheadend/compile] Error 2
make[1]: Leaving directory `/opt/attitude_adjustment'
make: *** [package/tvheadend/compile] Error 2

768

(147 odpowiedzi, napisanych Inne)

Tą, którą wysłałeś mi na maila tj. https://dev.openwrt.org/browser/package … /tvheadend

Update:// Odznaczyłem w menuconfig tvheadend. Kompilacja systemu przebiegła wg. mnie pomyślnie. Ponownie chciałem skompilować tvheadend i otrzymałem:

bartekk@Linux-PC /opt/attitude_adjustment $ make package/tvheadend/compile V=s
make[1]: Entering directory `/opt/attitude_adjustment'
make[2]: Entering directory `/opt/attitude_adjustment/package/toolchain'
WARNING: skipping libssp -- package not selected
WARNING: skipping libstdcpp -- package not selected
WARNING: skipping libgfortran -- package not selected
WARNING: skipping ldd -- package not selected
WARNING: skipping ldconfig -- package not selected
make[2]: Leaving directory `/opt/attitude_adjustment/package/toolchain'
make[2]: Entering directory `/opt/attitude_adjustment/package/ocf-crypto-headers'
make[2]: Leaving directory `/opt/attitude_adjustment/package/ocf-crypto-headers'
make[2]: Entering directory `/opt/attitude_adjustment/package/zlib'
make[2]: Leaving directory `/opt/attitude_adjustment/package/zlib'
make[2]: Entering directory `/opt/attitude_adjustment/package/openssl'
WARNING: skipping openssl-util -- package not selected
make[2]: Leaving directory `/opt/attitude_adjustment/package/openssl'
make[2]: Entering directory `/opt/attitude_adjustment/package/tvheadend'
WARNING: skipping tvheadend -- package not selected
make[2]: Leaving directory `/opt/attitude_adjustment/package/tvheadend'
make[1]: Leaving directory `/opt/attitude_adjustment'

769

(147 odpowiedzi, napisanych Inne)

Wklejam końcówkę kompilacji. Oczywiście błąd...

cc1: note: someone does not honour COPTS correctly, passed 2 times
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c: In function 'dumpchannels':
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:60:3: error: unknown type name 'channel_t'
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:63:3: error: assignment from incompatible pointer type [-Werror]
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:63:3: error: request for member 'ch_name_link' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:63:3: error: request for member 'ch_name_link' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:63:3: error: request for member 'ch_name_link' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:63:3: error: request for member 'ch_name_link' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:63:3: error: request for member 'ch_name_link' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:63:3: error: request for member 'ch_name_link' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:65:39: error: request for member 'ch_name' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:65:52: error: request for member 'ch_id' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:71:8: error: request for member 'ch_refcount' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:72:8: error: request for member 'ch_zombie' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:73:8: error: request for member 'ch_number' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:74:8: error: request for member 'ch_icon' in something not a structure or union
cc1: all warnings being treated as errors

make[4]: *** [build.linux/src/webui/statedump.o] Error 1
make[4]: Leaving directory `/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2'
make[3]: *** [/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/.built] Error 2
make[3]: Leaving directory `/opt/attitude_adjustment/package/tvheadend'
make[2]: *** [package/tvheadend/compile] Error 2
make[2]: Leaving directory `/opt/attitude_adjustment'
make[1]: *** [/opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/stamp/.package_compile] Error 2
make[1]: Leaving directory `/opt/attitude_adjustment'
make: *** [world] Error 2

oraz

bartekk@Linux-PC /opt/attitude_adjustment $ make package/tvheadend/compile V=s
make[1]: Entering directory `/opt/attitude_adjustment'
make[2]: Entering directory `/opt/attitude_adjustment/package/toolchain'
WARNING: skipping libssp -- package not selected
WARNING: skipping libstdcpp -- package not selected
WARNING: skipping libgfortran -- package not selected
WARNING: skipping ldd -- package not selected
WARNING: skipping ldconfig -- package not selected
make[2]: Leaving directory `/opt/attitude_adjustment/package/toolchain'
make[2]: Entering directory `/opt/attitude_adjustment/package/ocf-crypto-headers'
make[2]: Leaving directory `/opt/attitude_adjustment/package/ocf-crypto-headers'
make[2]: Entering directory `/opt/attitude_adjustment/package/zlib'
make[2]: Leaving directory `/opt/attitude_adjustment/package/zlib'
make[2]: Entering directory `/opt/attitude_adjustment/package/openssl'
WARNING: skipping openssl-util -- package not selected
make[2]: Leaving directory `/opt/attitude_adjustment/package/openssl'
make[2]: Entering directory `/opt/attitude_adjustment/package/tvheadend'
CFLAGS="-Os -pipe -march=armv5te -mtune=xscale -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  -I/opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/usr/include -I/opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/include -I/opt/attitude_adjustment/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/usr/include -I/opt/attitude_adjustment/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/include " CXXFLAGS="-Os -pipe -march=armv5te -mtune=xscale -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  -I/opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/usr/include -I/opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/include -I/opt/attitude_adjustment/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/usr/include -I/opt/attitude_adjustment/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/include " LDFLAGS="-L/opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/usr/lib -L/opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/lib -L/opt/attitude_adjustment/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/usr/lib -L/opt/attitude_adjustment/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/lib " make -j1 -C /opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/. AR=arm-openwrt-linux-uclibcgnueabi-ar AS="arm-openwrt-linux-uclibcgnueabi-gcc -c -Os -pipe -march=armv5te -mtune=xscale -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float" LD=arm-openwrt-linux-uclibcgnueabi-ld NM=arm-openwrt-linux-uclibcgnueabi-nm CC="arm-openwrt-linux-uclibcgnueabi-gcc" GCC="arm-openwrt-linux-uclibcgnueabi-gcc" CXX="arm-openwrt-linux-uclibcgnueabi-g++" RANLIB=arm-openwrt-linux-uclibcgnueabi-ranlib STRIP=arm-openwrt-linux-uclibcgnueabi-strip OBJCOPY=arm-openwrt-linux-uclibcgnueabi-objcopy OBJDUMP=arm-openwrt-linux-uclibcgnueabi-objdump SIZE=arm-openwrt-linux-uclibcgnueabi-size CROSS="arm-openwrt-linux-uclibcgnueabi-" ARCH="arm" ;
make[3]: Entering directory `/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2'
arm-openwrt-linux-uclibcgnueabi-gcc -MD -MP -Os -pipe -march=armv5te -mtune=xscale -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  -I/opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/usr/include -I/opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/include -I/opt/attitude_adjustment/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/usr/include -I/opt/attitude_adjustment/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/include  -Os -pipe -march=armv5te -mtune=xscale -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  -I/opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/usr/include   -I/opt/attitude_adjustment/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/usr/include   -Wall -Werror -Wwrite-strings -Wno-deprecated-declarations -Wmissing-prototypes -fms-extensions -g -funsigned-char -O2  -D_FILE_OFFSET_BITS=64 -I./build.linux -I/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src -I/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2 -c -o build.linux/src/webui/statedump.o /opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c
cc1: note: someone does not honour COPTS correctly, passed 2 times
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c: In function 'dumpchannels':
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:60:3: error: unknown type name 'channel_t'
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:63:3: error: assignment from incompatible pointer type [-Werror]
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:63:3: error: request for member 'ch_name_link' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:63:3: error: request for member 'ch_name_link' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:63:3: error: request for member 'ch_name_link' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:63:3: error: request for member 'ch_name_link' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:63:3: error: request for member 'ch_name_link' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:63:3: error: request for member 'ch_name_link' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:65:39: error: request for member 'ch_name' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:65:52: error: request for member 'ch_id' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:71:8: error: request for member 'ch_refcount' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:72:8: error: request for member 'ch_zombie' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:73:8: error: request for member 'ch_number' in something not a structure or union
/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/src/webui/statedump.c:74:8: error: request for member 'ch_icon' in something not a structure or union
cc1: all warnings being treated as errors

make[3]: *** [build.linux/src/webui/statedump.o] Error 1
make[3]: Leaving directory `/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2'
make[2]: *** [/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/tvheadend-3.2/.built] Error 2
make[2]: Leaving directory `/opt/attitude_adjustment/package/tvheadend'
make[1]: *** [package/tvheadend/compile] Error 2
make[1]: Leaving directory `/opt/attitude_adjustment'
make: *** [package/tvheadend/compile] Error 2
bartekk@Linux-PC /opt/attitude_adjustment $ 

W czym problem?

770

(388 odpowiedzi, napisanych Oprogramowanie / Software)

Czy u Ciebie w /dev/dvb też wykrywane są 2 adaptery?

771

(147 odpowiedzi, napisanych Inne)

Cezary napisał/a:

Nie skompilowałeś wcześniej systemu, prawda? Od razu chciałeś pakiet kompilować.

Ściągnąłem wszystko od nowa, bo wcześniej jakieś błędy były. Teraz nawet system nie chcę się skompilować. WRrrrrrrrrrr.

772

(147 odpowiedzi, napisanych Inne)

To mnie chyba niestety przerasta. Puściłem kompilowanie tvheadend'a i otrzymałem:

bartekk@Linux-PC /opt/attitude_adjustment $ make package/tvheadend/compile V=s
make[1]: Entering directory `/opt/attitude_adjustment'
make[2]: Entering directory `/opt/attitude_adjustment/package/toolchain'
cp -fpR /opt/attitude_adjustment/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/lib/libuClibc-*.so /opt/attitude_adjustment/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/lib/libcrypt-*.so /opt/attitude_adjustment/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/lib/libm-*.so /opt/attitude_adjustment/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/lib/libpthread-*.so /opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/toolchain/
cp: cannot stat '/opt/attitude_adjustment/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/lib/libuClibc-*.so': No such file or directory
cp: cannot stat '/opt/attitude_adjustment/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/lib/libcrypt-*.so': No such file or directory
cp: cannot stat '/opt/attitude_adjustment/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/lib/libm-*.so': No such file or directory
cp: cannot stat '/opt/attitude_adjustment/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/lib/libpthread-*.so': No such file or directory
make[2]: *** [/opt/attitude_adjustment/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/toolchain/.built] Error 1
make[2]: Leaving directory `/opt/attitude_adjustment/package/toolchain'
make[1]: *** [package/toolchain/compile] Error 2
make[1]: Leaving directory `/opt/attitude_adjustment'
make: *** [package/tvheadend/compile] Error 2

Przy okazji od nowa puściłem kompilacje samego środkowiska z V=s więc wynik wkleje jak się skończy.

773

(147 odpowiedzi, napisanych Inne)

bartekk@Linux-PC /opt/trunk $ make V=S
 make[1] world
 make[2] tools/install
 make[3] -C tools/patch compile
 make[3] -C tools/patch install
 make[3] -C tools/m4 compile
 make[3] -C tools/m4 install
 make[3] -C tools/sed compile
 make[3] -C tools/sed install
 make[3] -C tools/libtool compile
 make[3] -C tools/libtool install
 make[3] -C tools/autoconf compile
 make[3] -C tools/autoconf install
 make[3] -C tools/pkg-config compile
 make[3] -C tools/pkg-config install
 make[3] -C tools/xz compile
 make[3] -C tools/xz install
 make[3] -C tools/automake compile
 make[3] -C tools/automake install
 make[3] -C tools/gmp compile
 make[3] -C tools/gmp install
 make[3] -C tools/mpfr compile
 make[3] -C tools/mpfr install
 make[3] -C tools/mpc compile
 make[3] -C tools/mpc install
 make[3] -C tools/libelf compile
 make[3] -C tools/libelf install
 make[3] -C tools/flex compile
 make[3] -C tools/flex install
 make[3] -C tools/bison compile
 make[3] -C tools/bison install
 make[3] -C tools/mklibs compile
 make[3] -C tools/mklibs install
 make[3] -C tools/sstrip compile
 make[3] -C tools/sstrip install
 make[3] -C tools/ipkg-utils compile
 make[3] -C tools/ipkg-utils install
 make[3] -C tools/genext2fs compile
 make[3] -C tools/genext2fs install
 make[3] -C tools/e2fsprogs compile
 make[3] -C tools/e2fsprogs install
 make[3] -C tools/mtd-utils compile
 make[3] -C tools/mtd-utils install
 make[3] -C tools/mkimage compile
 make[3] -C tools/mkimage install
 make[3] -C tools/firmware-utils compile
 make[3] -C tools/firmware-utils install
 make[3] -C tools/patch-image compile
 make[3] -C tools/patch-image install
 make[3] -C tools/findutils compile
 make[3] -C tools/findutils install
 make[3] -C tools/quilt compile
 make[3] -C tools/quilt install
 make[3] -C tools/yaffs2 compile
 make[3] -C tools/yaffs2 install
 make[3] -C tools/flock compile
 make[3] -C tools/flock install
 make[3] -C tools/padjffs2 compile
 make[3] -C tools/padjffs2 install
 make[3] -C tools/mm-macros compile
 make[3] -C tools/mm-macros install
 make[3] -C tools/xorg-macros compile
 make[3] -C tools/xorg-macros install
 make[3] -C tools/xfce-macros compile
 make[3] -C tools/xfce-macros install
 make[3] -C tools/missing-macros compile
 make[3] -C tools/missing-macros install
 make[3] -C tools/cmake compile
 make[3] -C tools/cmake install
 make[3] -C tools/scons compile
 make[3] -C tools/scons install
make -r world: build failed. Please re-run make with V=s to see what's going on
make: *** [world] Error 1

774

(147 odpowiedzi, napisanych Inne)

Teraz otrzymuję takie coś:

bartekk@Linux-PC /opt/trunk $ make -j3 V=S
 make[1] world
 make[2] tools/install
 make[2] package/cleanup
 make[3] -C tools/patch compile
 make[3] -C tools/sed compile
 make[3] -C tools/xz compile
 make[3] -C tools/sstrip compile
 make[3] -C tools/genext2fs compile
 make[3] -C tools/firmware-utils compile
 make[3] -C tools/patch-image compile
 make[3] -C tools/findutils compile
 make[3] -C tools/flock compile
 make[3] -C tools/patch install
 make[3] -C tools/sed install
 make[3] -C tools/sstrip install
 make[3] -C tools/ipkg-utils compile
 make[3] -C tools/genext2fs install
 make[3] -C tools/mkimage compile
 make[3] -C tools/firmware-utils install
 make[3] -C tools/patch-image install
 make[3] -C tools/findutils install
 make[3] -C tools/yaffs2 compile
 make[3] -C tools/flock install
 make[3] -C tools/padjffs2 compile
 make[3] -C tools/cmake compile
 make[3] -C tools/scons compile
 make[3] -C tools/bc compile
 make[3] -C tools/lzma compile
 make[3] -C tools/m4 compile
 make[3] -C tools/libtool compile
 make[3] -C tools/pkg-config compile
 make[3] -C tools/xz install
 make[3] -C tools/ipkg-utils install
 make[3] -C tools/mkimage install
 make[3] -C tools/yaffs2 install
 make[3] -C tools/padjffs2 install
 make[3] -C tools/scons install
make -r world: build failed. Please re-run make with V=s to see what's going on
make: *** [world] Error 1

775

(147 odpowiedzi, napisanych Inne)

Fakt, wrzuciłem sobie trunka, chcę odpalić make menuconfig i dostaję:

bartekk@Linux-PC /opt/trunk $ make menuconfig
make: execvp: /opt/trunk/scripts/getver.sh: Permission denied
/bin/sh: 1: /opt/trunk/scripts/timestamp.pl: Permission denied
/bin/sh: 3: ./scripts/metadata.pl: Permission denied
Failed to build tmp/.config-package.in
/bin/sh: 1: ./scripts/metadata.pl: Permission denied
make: *** [prepare-tmpinfo] Error 1

Nie mam niby uprawnień, ale przecież na root'ie tego też nie mogę zrobić.