Jump to content


matteo.animale

Member Since 14 Oct 2011
Offline Last Active 28 Jan 2014 00:35
-----

Posts I've Made

In Topic: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit

20 November 2013 - 18:18

 

and remeber to add to change libnl2-dev in libnl-3 in packages to install.

 

My intent was to say libnl-3-dev ... sorry again :D


In Topic: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit

20 November 2013 - 12:52

I use Ubuntu 12.04 and during install the package libnl2-dev create symlinks

 

libnl-genl.so -> libnl-genl.so.2.0.0

libnl.so -> libnl.so.2.0.0

 

Now in Ubuntu 13.10 need create symlinks manual, but why during install package libnl-3-dev not create symlinks, I don't know.

 

cd /lib/i386-linux-gnu

ln -s libnl-3.so  libnl.so

ln -s libnl-genl-3.so  libnl-genl.so

 

Location file /usr/include/libnl3/netlink/netlink.h

Yes, also create symlink for the directory netlink

 

sudo ln -s /usr/include/libnl3/netlink /usr/include/netlink

 

 

Ok, I was just creating symlinks for libnl.so.2 and libnl-genl.so.2 in /usr/lib during you was writing your reply :D :

sudo ln -s /usr/lib/libnl.so.2 /usr/lib/libnl.so
sudo ln -s /usr/lib/libnl-genl.so.2 /usr/lib/libnl-genl.so

Now it's ok.

We are on the road on kubuntu 13.10 amd64!!!

 

I'll report soon what really goes

My mistake, the right code for  (k)ubuntu 13.10 x64 is:

sudo ln -s /lib/x86_64-linux-gnu/libnl-3.so /usr/lib/libnl.so
sudo ln -s /lib/x86_64-linux-gnu/libnl-genl-3.so.200 /usr/lib/libnl-genl.so

and remeber to add to change libnl2-dev in libnl-3 in packages to install.

 

Last thing: in build_openpliPC.sh at section "final step: installing E2 conf files" add as first instruction:

sudo ln -sf `ls /lib/x86_64-linux-gnu/libc-2.??.so`  /lib/libc.so.6

In Topic: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit

18 November 2013 - 15:46

Ok, I was just creating symlinks for libnl.so.2 and libnl-genl.so.2 in /usr/lib during you was writing your reply :D :

sudo ln -s /usr/lib/libnl.so.2 /usr/lib/libnl.so
sudo ln -s /usr/lib/libnl-genl.so.2 /usr/lib/libnl-genl.so

Now it's ok.

We are on the road on kubuntu 13.10 amd64!!!

 

I'll report soon what really goes


In Topic: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit

18 November 2013 - 14:55

Ok, I'm on 13.10 amd64 and libnl2 isn't there too, so I think we are in the same situation (but 64bit version).

In my system netlink include directory is in /usr/include/libnl3... so I created a symlink:

sudo ln -s /usr/include/libnl3/netlink /usr/include/netlink

and that's ok.

 

Now I got this error during libs linking in Build OpenPliPC section:

In file included from /usr/include/c++/4.8/ext/hash_map:60:0,
                 from ../lib/dvb/epgcache.h:18,
                 from enigma.cpp:95:
/usr/include/c++/4.8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
 #warning \
  ^
  CXX      xmlgenerator.o
  CXX      version_info.o
  CXXLD    enigma2
/usr/bin/ld: cannot find -lnl
/usr/bin/ld: cannot find -lnl-genl
collect2: error: ld returned 1 exit status
make[2]: *** [enigma2] Error 1
make[2]: Leaving directory `/home/enigma/Downloads/git/enigma2pc/enigma2/main'
make[1]: *** [install] Error 2
rm version-intermediate.h
make[1]: Leaving directory `/home/enigma/Downloads/git/enigma2pc/enigma2/main'
make: *** [install-recursive] Error 1

An error occured while building OpenPliPC - section make install

In my system libnl.so.2 and libnl-genl.so.2 are in /usr/lib.

May u check where netlink/netlink.h and these two libs are in your 13.10 i686 system please?


In Topic: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit

18 November 2013 - 09:41

@Raider05 you are wellcome, I really appreciate every person that work on these project, I'd like to give some help too.

 

Your last commit in build_libs.sh, adding libnl-3-dev autoremove libnl2-dev package. Using libnl-3-dev package break OpenPliPC make section:

 

  CXX      dvb/streamserver.o
  CXX      dvb/pmtparse.o
dvb/pmtparse.cpp: In member function ‘virtual RESULT eDVBPMTParser::eStreamData::getCaIds(std::vector<int>&, std::vector<int>&) const’:
dvb/pmtparse.cpp:540:29: warning: value computed is not used [-Wunused-value]
  for (unsigned int i = 0; i < caIds.size(), i < ecmPids.size(); i++)
                             ^
  CXX      dvb/ca_connector.o
In file included from dvb/ca_connector.cpp:1:0:
../lib/dvb/ca_connector.h:6:29: fatal error: netlink/netlink.h: No such file or directory
 #include <netlink/netlink.h>
                             ^
compilation terminated.
make[3]: *** [dvb/ca_connector.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/home/enigma/Downloads/git/enigma2pc/enigma2/lib'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/enigma/Downloads/git/enigma2pc/enigma2/lib'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/enigma/Downloads/git/enigma2pc/enigma2/lib'
make: *** [install-recursive] Error 1

An error occured while building OpenPliPC - section make install

 

In "Build ad install libbluray" and "Build ad install pythonwifi" sections, the erasing old build dir require root permissions I think.