Opened 9 years ago

Closed 9 years ago

#4229 closed defect (fixed)

Oscam suddenly cannot be build anymore with script that worked for years

Reported by: Dimmie Owned by:
Priority: critical Component: General
Severity: high Keywords:
Cc: Sensitive: no

Description

Oscam suddenly cannot be build anymore with script that worked for years

problem since 10772
till 10771 all was fine

Using debian 7 this is what happens:

Scanning dependencies of target oscam
[100%] Building C object CMakeFiles/oscam.dir/oscam.o
Linking C executable oscam
/usr/bin/ld: cannot find -liconv
collect2: error: ld returned 1 exit status
make[2]: * [oscam] Error 1
make[1]:
* [CMakeFiles/oscam.dir/all] Error 2
make: * [all] Error 2

Also simplebuild gives the same error.

Change History (9)

comment:1 by Jan Gruuthuse, 9 years ago

r10772 + simplebuild v2.42 + ubuntu 14.04.2 64-bit:
http://www.streamboard.tv/wbb2/thread.php?postid=545723#post545723

comment:2 by khimtiki, 9 years ago

Same on FreeBSD:

CONF    build/amd64-freebsd-ssl-pcsc/config.c
CC      oscam.c
LINK    Distribution/oscam-1.20-unstable_svn10772-amd64-freebsd-ssl-pcsc.debug
/usr/bin/ld: cannot find -liconv
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Last edited 9 years ago by khimtiki (previous) (diff)

comment:3 by AbrahaM, 9 years ago

Same on ubuntu, debian and stlinux toolchain.

Last edited 9 years ago by AbrahaM (previous) (diff)

comment:4 by stefansat sat, 9 years ago

I tried all platforms and oscam does not build anywhere since 10722.

please revert or made default that liconv is not required.

comment:5 by s3PP3L, 9 years ago

Same here on an RaspberryPi 2 with Debian jessie.

comment:6 by boneska, 9 years ago

soooo

on debian you need to install the pack libiconv

wget http://ftp.gnu.org/gnu/libiconv/libiconv-1.14.tar.gz
tar xvf libiconv-1.14.tar.gz
cd libiconv-1.14
./configure
make install

after this oscam can be built normal again and you can enable utf-8 support when you start oscam with the flag -u

comment:7 by Vitaliy69, 9 years ago

For crosscompilers:

wget ​http://ftp.gnu.org/gnu/libiconv/libiconv-1.14.tar.gz
tar xvf libiconv-1.14.tar.gz
cd libiconv-1.14
./configure --host=mipsel-linux-unknown-gnu --prefix=/opt/toolchains/mipsel-linux-unknown-gnu
make
sudo make install

Any problems? :) .bashrc in ~ must have var PATH to compilers binaries.

Last edited 9 years ago by Vitaliy69 (previous) (diff)

comment:8 by Aeon, 9 years ago

These issues should be fixed with r10773, no more external libiconv required on linux.

comment:9 by piddiw, 9 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.