DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2012-02-27 17:05:24

mflash
Member
Registered: 2012-01-06
Posts: 7

mkvtoolnix

I'm trying a mkvtoolnix 5.0.1 ffp package founded in Kylek repository, but I'm having problems (each mkvmerge command I use, also a simple mkvmerge -i filename, returns a segmentation fault problem)... Can anyone compile the latest 5.3.0 version for our DNS-320? I've just removed ffpbuildenv but I'm in need of it. Also, does anyone knows how to create a Virtual Machine with ffpbuildenv to compile sw for our DNS-320?
Thank you in advance smile

Offline

 

#2 2012-02-29 09:39:34

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: mkvtoolnix

I can tell you that I didn't use ffpbuildenv to compile mkvtoolnix. It is not really needed, although it does simplify things when you recompile stuff often.

A lot of time has passed since I tackled mkvtoolnix. I know that it had a humongous amount of dependencies, including boost which takes forever to build :p

I'll try to retrace my steps and give a sort of how-to once I figured it out.

Offline

 

#3 2012-02-29 17:03:38

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: mkvtoolnix

Ok, I figured I'd start compiling mkvtoolnix again for ffp-0.7-arm, but of course I ran into trouble.

This page (http://www.bunkus.org/videotools/mkvtoolnix/source.html) lists the prerequisites pretty nicely and also tells you how to start building mkvtoolnix.

But, apparently the latest version (including 5.3.0) makes use of some C++11 features, which are only available with gcc 4.6. That compiler is not available yet for funplug, and I am not willing to try and compile it smile

All I can offer you is build an older version.

Offline

 

#4 2012-03-01 10:49:26

memiks
Member
Registered: 2011-09-02
Posts: 72

Re: mkvtoolnix

Hello I currently try to compile gcc 4.6.2 from fonz source script.

I modified one or two thinks to be able to compile it.

I will published the package on my repo and status here when I finished wink

Have a nice day wink

Offline

 

#5 2012-03-02 10:34:02

memiks
Member
Registered: 2011-09-02
Posts: 72

Re: mkvtoolnix

memiks wrote:

Hello I currently try to compile gcc 4.6.2 from fonz source script.

I modified one or two thinks to be able to compile it.

I will published the package on my repo and status here when I finished wink

Have a nice day wink

Hello I compiled GCC 4.6.2, you can find the package on my repo : http://ffp.memiks.fr/pkg/

In order to update gcc you must add my repo and execute this command : slacker -Uu
of course you can update all packages listed if you want wink

Mémiks.

Offline

 

#6 2012-03-27 22:51:27

Wojtek54
New member
Registered: 2012-03-27
Posts: 1

Re: mkvtoolnix

Hello,
since GCC 4.6.2 is already there, can you please build mkvtoolnix for ffp-0.7-arm? Or at least build an older version? Thanks in advance smile

Offline

 

#7 2013-04-27 21:26:49

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: mkvtoolnix

I finally was able to compile mkvtoolnix 6.1.0 for ffp-0.7-arm.
You can find it in my repository here, or via slacker.

Please note that it has a couple of dependencies:
- boost-1.51.0-arm-1.txz
- curl-7.27.0-arm-1.txz
- OpenSSL
- Zlib

The first two packages are available on my server, the other two are standard packages from fonz' repository.

I've been using mkvinfo, mkvextract and mkvmerge a couple of times now and everything seems to be working just fine.

Enjoy!

Offline

 

#8 2013-11-18 10:54:58

denx
Member
Registered: 2009-06-04
Posts: 11

Re: mkvtoolnix

Hi Kylek,

I'm a fan of your work made on ffp based machines. I use my DNS-320 (ffp 0.7) for many reasons and I found a new goal: split up giant mkv movies to fit on my android tablet. The mkvtoolnix would be the best choice (and I hope it won't be too big chunk for an embedded machine).

I've tried your repo as you described in your previous post but mkvmerge failed:

mkvmerge --version
mkvmerge: can't resolve symbol '_ZNSt8__detail15_List_node_base7_M_hookEPS0_'

I used the versions you mention of your libs and 1.0.0e of openssl, and 1.2.5 of zlib from this repo: http://www.inreto.de/ffp/0.7/arm/packages

I tried to avoid manual compilation - since I have very slight experience in that area - so I searched for packaged solution.

Could you please let me know where I failed the process?

Thanks for your help in advance.

denx


DNS-320 - ffp0.7 - 2+0.5 TB

Offline

 

#9 2013-11-18 18:17:43

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: mkvtoolnix

I have a mkvtoolnix here. I guess I compiled it on request, and never got feedback if it actually worked. Can't remember.

Offline

 

#10 2013-11-20 14:11:40

denx
Member
Registered: 2009-06-04
Posts: 11

Re: mkvtoolnix

Thanks Mijzelf for the quick reply. I've managed to hunt all the dependencies (lzo, flac, ogg, etc) but the situation is similar:

# mkvmerge --version
mkvmerge: can't resolve symbol '_ZSt11_Hash_bytesPKvjj'

Maybe the other packages made the problem what I found in other repositories.


DNS-320 - ffp0.7 - 2+0.5 TB

Offline

 

#11 2013-11-20 15:29:22

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: mkvtoolnix

Meanwhile I found the original request. At the end it worked. The 'little trick' at the end is lost in cyberspace, but I think it was something like

Code:

export LC_ALL="C"

Offline

 

#12 2013-11-21 11:55:01

denx
Member
Registered: 2009-06-04
Posts: 11

Re: mkvtoolnix

I found your discussion about the topic earlier but it seems the circle is closed. smile (I mean the 2 forum thread points to each other.)

I've tried the export but I had no luck. I also tried to grep for the missing symbol but nothing found. The other forum thread is more about recompiling the source code of packages (gcc version differeces, etc) but I hoped I can solve the issue without compilation. sad


DNS-320 - ffp0.7 - 2+0.5 TB

Offline

 

#13 2013-11-21 13:09:43

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: mkvtoolnix

(I mean the 2 forum thread points to each other.)

Now we only need to have a Wikipedia entry to be really 'internet ready'. smile

The other forum thread is more about recompiling the source code of packages (gcc version differeces, etc)

In that case you misunderstood. It's about libraries. Mkvtoolnix is written in c++, and that means a libc++ (containing standard c++ library functions) is needed. That library ships with either gcc-solibs or gcc, depending on how far the package creator splitted up the stuff.

To compile mkvtoolnix I needed gcc 4.6 (apparently the 4.5 had a bug, or 4.6 has new language support), and it linked against a libc++ which is not provided by Fonz. So you have to install that lib, and possibly that means you have to install gcc 4.6.

Offline

 

#14 2013-11-27 16:11:51

denx
Member
Registered: 2009-06-04
Posts: 11

Re: mkvtoolnix

Mijzelf wrote:

So you have to install that lib, and possibly that means you have to install gcc 4.6.

I haven't found this anywhere. (The first 2 result on Google is this and the other forum thread in this topic.)

Do you have a packaged version of gcc 4.6 and libc++ for ffp 0.7?

Thanks,
denx

Last edited by denx (2013-11-27 16:12:20)


DNS-320 - ffp0.7 - 2+0.5 TB

Offline

 

#15 2013-11-27 18:24:42

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: mkvtoolnix

Don't you have uwsiteloader installed? It's in Memiks repository.

Offline

 

#16 2013-11-28 10:55:20

denx
Member
Registered: 2009-06-04
Posts: 11

Re: mkvtoolnix

Thanks Mijzelf! You are The Man! smile

gcc 4.6 solved all the issues. I do have uwsiteloader but Memiks' repo wasn't in my list.

Thanks again!

PS: splitting a huge mkv on my NAS looks really slow to me - but I have time! smile


DNS-320 - ffp0.7 - 2+0.5 TB

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB