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-06-10 18:08:19

jordan_d
Member
From: France
Registered: 2008-05-31
Posts: 22

trying to make a package for ffp 0.5, compilation issues

Hi, I am trying to compile a c/c++ library (taglib) for ffp0.5, and I have some difficulties to do this. I know the question has already been asked, but I don't find any answer that satisfy me. Could someone help me?

i have gcc and make installed, but when i type ./configure , it outputs this:

Code:

# ./configure
checking build system type... armv5tejl-unknown-linux-gnu
checking host system type... armv5tejl-unknown-linux-gnu
checking target system type... armv5tejl-unknown-linux-gnu
checking for a BSD-compatible install... /ffp/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... admin/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

I wonder if I have to launch autoconf. I tried, and that is the output:

Code:

# type autom4te
autom4te is a tracked alias for /ffp/bin/autom4te

# autoconf
exec: /ffp/bin/autom4te: No such file or directory

Does someone have an idea? thanks

Offline

 

#2 2008-06-10 18:17:41

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: trying to make a package for ffp 0.5, compilation issues

See `config.log' for more details.

Offline

 

#3 2008-06-10 18:22:00

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: trying to make a package for ffp 0.5, compilation issues

jordan_d wrote:

checking build system type... armv5tejl-unknown-linux-gnu
checking host system type... armv5tejl-unknown-linux-gnu
checking target system type... armv5tejl-unknown-linux-gnu

These are wrong (but it's normal that they are detected incorrectly). Try passing the following to configure:

Code:

--host=arm-unknown-linux-uclibc

Offline

 

#4 2008-06-10 18:33:45

jordan_d
Member
From: France
Registered: 2008-05-31
Posts: 22

Re: trying to make a package for ffp 0.5, compilation issues

Thank you fonz. I tried as you said, but it's not enough. I looked `config.log' for more details, but I don't really know what i'm looking for. however this is what I found:

Code:

arm-unknown-linux-uclibc-gcc: error trying to exec 'as': execvp: No such file or directory

Offline

 

#5 2008-06-10 18:49:20

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: trying to make a package for ffp 0.5, compilation issues

install binutils.

note that gcc is only a small piece in the toolchain. if unsure, I strongly recommend to install all packages.

Offline

 

#6 2008-06-10 19:09:56

jordan_d
Member
From: France
Registered: 2008-05-31
Posts: 22

Re: trying to make a package for ffp 0.5, compilation issues

Thanks a lot! this was very stupid, I forgot binutils, uclibc, and kernel headers... in fact i installed them some times ago but I had to reinstall everything so they weren't here anymore. Hum. i'm sorry to disturb you. Now, go for the next step: compilation, and packaging. Hope I'll succeed.

Thank you again.

Offline

 

#7 2008-06-10 19:41:32

jordan_d
Member
From: France
Registered: 2008-05-31
Posts: 22

Re: trying to make a package for ffp 0.5, compilation issues

It compiled, and then I could make the package for ffp0.5 thanks to this thread: http://dns323.kood.org/forum/t2341-crea … ckage.html. Thank you again, now that I understood how to make packages, I think i'll be able to contribute more.

See you.


Attachments:
Attachment Icon taglib-1.5.tgz, Size: 263,388 bytes, Downloads: 252

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB