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 2008-08-21 22:47:23

Opperpanter
Member
From: Eindhoven, Netherlands.
Registered: 2008-08-11
Posts: 89

Compiling libpar2 for funplug ffp 0.5

Hi,

Has anyone managed to compile a libpar2 package foor funplug 0.5? I would also be glad with just the package, without an answer to the error below!

I keep getting this error when I am trying to build it using the download source scripts from fonze and running ./Make.sh libpar2

Code:

par1fileformat.h:42: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::sethash'
par1fileformat.h:56: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hashfull'
par1fileformat.h:57: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hash16k'
commandline.cpp: In member function 'bool CommandLine::Parse(int, char**)':
commandline.cpp:110: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [commandline.lo] Error 1
make[1]: Leaving directory `/ffp/build/funplug/work/libpar2-0.2/libpar2-0.2'
make: *** [all] Error 2

EDIT: See attached logfile.

SRC_URI: can't find direct download link, so I downloaded the source.tgz into build/funplug/distfiles manually
PV: 0.2
PR: no file
configure_args: empty file

Last edited by Opperpanter (2008-08-21 22:56:28)


Attachments:
Attachment Icon libpar2-0.2-1.log, Size: 22,619 bytes, Downloads: 266

Offline

 

#2 2008-08-22 02:02:20

bzhou
Member
Registered: 2008-02-15
Posts: 171

Re: Compiling libpar2 for funplug ffp 0.5

Not for funplug 0.5, but libpar2 is in optware/dns323 ipkg feed, see http://www.nslu2-linux.org/wiki/Optware/dns323 for setup instruction.

There are two patches used in the build, may or may not help you: http://trac.nslu2-linux.org/optware/bro … s/libpar2/

Offline

 

#3 2008-08-22 10:05:13

forre
Member
Registered: 2008-04-22
Posts: 26

Re: Compiling libpar2 for funplug ffp 0.5

I fixed my problems with segmentation fault by recompiling and installing following packages (and in that order):
- gcc
- uclibc
- make
- autoconf
- automake

Opperpanter wrote:

configure_args: empty file

You should have at following lines in configure_args

Code:

--prefix=$CPREFIX
--infodir=$CPREFIX/share/info
--mandir=$CPREFIX/share/man

and following line in destdir.sh

Code:

make DESTDIR=$D install

Offline

 

#4 2008-08-22 21:47:55

Opperpanter
Member
From: Eindhoven, Netherlands.
Registered: 2008-08-11
Posts: 89

Re: Compiling libpar2 for funplug ffp 0.5

Thanks, it goes a little bit better now, but still some error:

Code:

par1fileformat.h:42: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::sethash'
par1fileformat.h:56: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hashfull'
par1fileformat.h:57: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hash16k'
{standard input}: Assembler messages:
{standard input}:264: Error: undefined local label `.L52'
{standard input}:267: Error: undefined local label `.L52'
{standard input}:271: Error: undefined local label `.L52'
{standard input}:274: Error: undefined local label `.L52'
g++: Internal error: Segmentation fault (program cc1plus)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [commandline.lo] Error 1
make[1]: Leaving directory `/ffp/build/funplug/work/libpar2-0.2/libpar2-0.2'
make: *** [all] Error 2

Could you just attach your compiled version as well?
Thanks.

Offline

 

#5 2008-08-22 21:49:41

Opperpanter
Member
From: Eindhoven, Netherlands.
Registered: 2008-08-11
Posts: 89

Re: Compiling libpar2 for funplug ffp 0.5

bzhou wrote:

Not for funplug 0.5, but libpar2 is in optware/dns323 ipkg feed, see http://www.nslu2-linux.org/wiki/Optware/dns323 for setup instruction.

There are two patches used in the build, may or may not help you: http://trac.nslu2-linux.org/optware/bro … s/libpar2/

Thanks, but I am not familiar with optware. I suppose this can't be used interchangeably with funplug packages?

Offline

 

#6 2008-08-23 05:25:01

bzhou
Member
Registered: 2008-02-15
Posts: 171

Re: Compiling libpar2 for funplug ffp 0.5

Opperpanter wrote:

Thanks, but I am not familiar with optware. I suppose this can't be used interchangeably with funplug packages?

No. But outside of dns-323 circle, more people actually use ipkg. IMHO ipkg manages dependencies better than ffp.

Offline

 

#7 2008-08-23 14:51:26

Opperpanter
Member
From: Eindhoven, Netherlands.
Registered: 2008-08-11
Posts: 89

Re: Compiling libpar2 for funplug ffp 0.5

bzhou wrote:

Opperpanter wrote:

Thanks, but I am not familiar with optware. I suppose this can't be used interchangeably with funplug packages?

No. But outside of dns-323 circle, more people actually use ipkg. IMHO ipkg manages dependencies better than ffp.

U thought so, but I think it's just cool to have our own thingy smile

Offline

 

#8 2008-08-23 22:13:14

bzhou
Member
Registered: 2008-02-15
Posts: 171

Re: Compiling libpar2 for funplug ffp 0.5

Opperpanter wrote:

bzhou wrote:

Opperpanter wrote:

Thanks, but I am not familiar with optware. I suppose this can't be used interchangeably with funplug packages?

No. But outside of dns-323 circle, more people actually use ipkg. IMHO ipkg manages dependencies better than ffp.

U thought so, but I think it's just cool to have our own thingy smile

Yeah, having your own thingy can always be fun.

see also
http://dns323.kood.org/forum/t2385-funp … tions.html
http://dns323.kood.org/forum/t2764-Pack … otate.html

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB