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 2010-07-01 15:06:35

Woutrrr
New member
Registered: 2010-07-01
Posts: 2

Problems compiling

Hi,

I'm trying to compile some software on my ch3snas but i'm getting some errors. The ./configure command stops with this error:

Code:

checking for library containing iconv... no
configure: error: cannot find iconv() function

But when I check my iconv version with 'iconv --version', I get:

Code:

iconv (GNU libiconv 1.11)
Copyright (C) 2000-2007 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Bruno Haible.

So it looks like I've got iconv, but still I get this error. Does somebody know how to fix this?

Offline

 

#2 2010-07-01 15:37:20

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

Re: Problems compiling

Some packages only look in standard locations and need a specific configure paramter to look in /ffp. For instance, I compile samba with --with-libiconv=/ffp

Offline

 

#3 2010-07-01 17:18:55

Woutrrr
New member
Registered: 2010-07-01
Posts: 2

Re: Problems compiling

Unfortunately, there is no option --with-libiconv. But when i use:

Code:

./configure --prefix=/ffp LDFLAGS=-L/ffp/lib

it still gives the same error. But a few lines earlier it says:

Code:

checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes

So it can find some libiconv files. In the config.log I see:

Code:

/mnt/HD_a2/home/compilestuff/gtmess-0.96beta3/conftest.c:65: undefined reference to `iconv'

Does this mean that there is some bug in the source ? or am I still missing some parameters.

ps. the program that I'm trying to compile is gtmess

Last edited by Woutrrr (2010-07-01 17:19:20)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB