Menu

1.27 source files for optware compiling

Help
Ben
2010-02-01
2012-12-14
  • Ben

    Ben - 2010-02-01

    Hi Jeff,

    I would like to test the next version of linknx (1.27) on my DS207+.

    To create ipk file, I need 1.27 source files, but I don't know how to get them…
    And how should I modify the linknx.mk file ?

    Thanks per advance.

    Ben

     
  • jef2000

    jef2000 - 2010-02-01

    Hi,

    I just uploaded the 0.0.1.27 to the sourceforge download area. For the linknx.mk file, I think just changing the LINKNX_VERSION variable is enough.

    If you want to do it yourself from CVS, you first have to check out the project as explained here:
    https://sourceforge.net/scm/?type=cvs&group_id=207555
    I'm not very sure of the command line to generate the tgz archive, because I use Eclipse IDE and it's integrated in the build menu, but if I remember well, Eclipse uses a tool called "ant" to build project, and the file build.xml is an ant configuration file that will call "./configure" (to create the makefiles) and "make dist" (that uses the makefiles to create the tgz archive)

    Regards,

    Jean-François

     
  • Ben

    Ben - 2010-02-02

    Thanks for your answer !

    KR,

    Ben

     
  • Ben

    Ben - 2010-02-02

    Hi Jeff,

    Sorry, I need your help once again…

    The commande "make linknx-ipk" fails, here is the error message :

    checking for GNU Pth… *FAILED*
    +------------------------------------------------+
    | Unable to locate pthsem in any system-wide location (see $PATH).
    | Please specify the correct path to either a pthsem installation tree
    | (use -with-pth=DIR if you used -prefix=DIR for installing pthsem in
    | the past) or to a pthsem source tree (use -with-pth=DIR if DIR is a
    | path to a pthsem-X.Y.Z/ directory; but make sure the package is already
    | built, i.e., the "configure; make" step was already performed there).
    +------------------------------------------------+

    Please, what can I do ?

    Thanks,

    Ben

     
  • jef2000

    jef2000 - 2010-02-02

    You can try first:
    make pthsem-stage
    This command should install pthsem libs and include files somewhere in optware, where linknx should find it.

    Or perhaps try to compile and install pthsem on your PC (not in optware). If linknx is searching pthsem includes in the wrong place (in your system include dirs instead of in optware include dirs) it will find it and compile successfully.

     
  • Ben

    Ben - 2010-02-02

    My pc runs with ubuntu.
    I don't manage to install pthsem-stage using apt-get…

    Here is the complete compilation message :

    # make linknx-ipk
    make pthsem-stage
    make: entrant dans le répertoire « /home/benoit/optware/syno-x07 »
    make: Rien à faire pour « pthsem-stage ».
    make: quittant le répertoire « /home/benoit/optware/syno-x07 »
    rm -rf /home/benoit/optware/syno-x07/builds/linknx-0.0.1.27 /home/benoit/optware/syno-x07/builds/linknx
    zcat /home/benoit/optware/syno-x07/downloads/linknx-0.0.1.27.tar.gz | tar -C /home/benoit/optware/syno-x07/builds -xvf -
    linknx-0.0.1.27/
    linknx-0.0.1.27/missing
    linknx-0.0.1.27/Makefile.am
    linknx-0.0.1.27/config.h.in
    linknx-0.0.1.27/conf/
    linknx-0.0.1.27/conf/Makefile.am
    linknx-0.0.1.27/conf/Makefile.in
    linknx-0.0.1.27/conf/linknx_doc.tgz
    linknx-0.0.1.27/conf/linknx.xml
    linknx-0.0.1.27/acinclude.m4
    linknx-0.0.1.27/ticpp/
    linknx-0.0.1.27/ticpp/premake.lua
    linknx-0.0.1.27/ticpp/Makefile.am
    linknx-0.0.1.27/ticpp/tinyxml.h
    linknx-0.0.1.27/ticpp/ticpp.h
    linknx-0.0.1.27/ticpp/tutorial_ticpp.txt
    linknx-0.0.1.27/ticpp/ticpp.cpp
    linknx-0.0.1.27/ticpp/Makefile.in
    linknx-0.0.1.27/ticpp/tinystr.h
    linknx-0.0.1.27/ticpp/tinyxml.cpp
    linknx-0.0.1.27/ticpp/build_instructions.txt
    linknx-0.0.1.27/ticpp/tutorial_gettingStarted.txt
    linknx-0.0.1.27/ticpp/readme.txt
    linknx-0.0.1.27/ticpp/changes.txt
    linknx-0.0.1.27/ticpp/tinystr.cpp
    linknx-0.0.1.27/ticpp/tinyxmlerror.cpp
    linknx-0.0.1.27/ticpp/tinyxmlparser.cpp
    linknx-0.0.1.27/ticpp/ticpprc.h
    linknx-0.0.1.27/ticpp/dox
    linknx-0.0.1.27/ticpp/xmltest.cpp
    linknx-0.0.1.27/configure
    linknx-0.0.1.27/configure.ac
    linknx-0.0.1.27/src/
    linknx-0.0.1.27/src/suncalc.h
    linknx-0.0.1.27/src/emailgateway.cpp
    linknx-0.0.1.27/src/luacondition.cpp
    linknx-0.0.1.27/src/logger.cpp
    linknx-0.0.1.27/src/linknx.cpp
    linknx-0.0.1.27/src/persistentstorage.cpp
    linknx-0.0.1.27/src/ioport.h
    linknx-0.0.1.27/src/Makefile.am
    linknx-0.0.1.27/src/xmlserver.h
    linknx-0.0.1.27/src/emailgateway.h
    linknx-0.0.1.27/src/smsgateway.cpp
    linknx-0.0.1.27/src/knxconnection.h
    linknx-0.0.1.27/src/ruleserver.cpp
    linknx-0.0.1.27/src/ioport.cpp
    linknx-0.0.1.27/src/objectcontroller.h
    linknx-0.0.1.27/src/Makefile.in
    linknx-0.0.1.27/src/persistentstorage.h
    linknx-0.0.1.27/src/ruleserver.h
    linknx-0.0.1.27/src/luacondition.h
    linknx-0.0.1.27/src/knxconnection.cpp
    linknx-0.0.1.27/src/logger.h
    linknx-0.0.1.27/src/threads.cpp
    linknx-0.0.1.27/src/smsgateway.h
    linknx-0.0.1.27/src/common.c
    linknx-0.0.1.27/src/objectcontroller.cpp
    linknx-0.0.1.27/src/suncalc.cpp
    linknx-0.0.1.27/src/eibclient.c
    linknx-0.0.1.27/src/services.h
    linknx-0.0.1.27/src/timermanager.h
    linknx-0.0.1.27/src/common.h
    linknx-0.0.1.27/src/xmlserver.cpp
    linknx-0.0.1.27/src/threads.h
    linknx-0.0.1.27/src/services.cpp
    linknx-0.0.1.27/src/timermanager.cpp
    linknx-0.0.1.27/Makefile.in
    linknx-0.0.1.27/test/
    linknx-0.0.1.27/test/ObjectTest.cpp
    linknx-0.0.1.27/test/Makefile.am
    linknx-0.0.1.27/test/ExceptionDaysTest.cpp
    linknx-0.0.1.27/test/TimeSpecTest.cpp
    linknx-0.0.1.27/test/TimerManagerTest.cpp
    linknx-0.0.1.27/test/Makefile.in
    linknx-0.0.1.27/test/ObjectControllerTest.cpp
    linknx-0.0.1.27/test/testmain.cpp
    linknx-0.0.1.27/test/PeriodicTaskTest.cpp
    linknx-0.0.1.27/depcomp
    linknx-0.0.1.27/ChangeLog
    linknx-0.0.1.27/include/
    linknx-0.0.1.27/include/Makefile.am
    linknx-0.0.1.27/include/Makefile.in
    linknx-0.0.1.27/include/eibclient.h
    linknx-0.0.1.27/include/eibloadresult.h
    linknx-0.0.1.27/include/eibtypes.h
    linknx-0.0.1.27/linknx.spec
    linknx-0.0.1.27/install-sh
    linknx-0.0.1.27/aclocal.m4
    if test -n "" ; \
    then cat  | \
    patch -d /home/benoit/optware/syno-x07/builds/linknx-0.0.1.27 -p0 ; \
    fi
    if test "/home/benoit/optware/syno-x07/builds/linknx-0.0.1.27" != "/home/benoit/optware/syno-x07/builds/linknx" ; \
    then mv /home/benoit/optware/syno-x07/builds/linknx-0.0.1.27 /home/benoit/optware/syno-x07/builds/linknx ; \
    fi
    (cd /home/benoit/optware/syno-x07/builds/linknx; \
    AR=/home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-ar AS=/home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-as LD=/home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-ld NM=/home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-nm CC=/home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-gcc CPP="/home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-gcc -E" GCC=/home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-gcc CXX=/home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-g++ RANLIB=/home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-ranlib STRIP=/home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-strip \
    CPPFLAGS="-O2   -O2 -pipe -I/home/benoit/optware/syno-x07/staging/opt/include -DPATH_MAX=4096 -DLINE_MAX=2048 -DMB_LEN_MAX=16 " \
    LDFLAGS=" -L/home/benoit/optware/syno-x07/staging/opt/lib -Wl,-rpath,/opt/lib -Wl,-rpath-link,/home/benoit/optware/syno-x07/staging/opt/lib " \
    ./configure \
    -build=i386-pc-linux-gnu \
    -host=arm-marvell-linux-gnu \
    -target=arm-marvell-linux-gnu \
    -prefix=/opt \
    -disable-nls \
    -disable-static \
    -without-pth-test \
    )
    checking for a BSD-compatible install… /usr/bin/install -c
    checking whether build environment is sane… yes
    checking for gawk… no
    checking for mawk… mawk
    checking whether make sets $(MAKE)… yes
    checking for arm-marvell-linux-gnu-strip… /home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-strip
    checking for C++ compiler default output file name… a.out
    checking whether the C++ compiler works… yes
    checking whether we are cross compiling… yes
    checking for suffix of executables…
    checking for suffix of object files… o
    checking whether we are using the GNU C++ compiler… yes
    checking whether /home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-g++ accepts -g… yes
    checking for style of include used by make… GNU
    checking dependency style of /home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-g++… gcc3
    checking for arm-marvell-linux-gnu-gcc… /home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-gcc
    checking whether we are using the GNU C compiler… yes
    checking whether /home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-gcc accepts -g… yes
    checking for /home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-gcc option to accept ISO C89… none needed
    checking dependency style of /home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-gcc… gcc3
    checking for arm-marvell-linux-gnu-ranlib… /home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-ranlib
    checking how to run the C preprocessor… /home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-gcc -E
    checking for GNU Pth… *FAILED*
    +------------------------------------------------+
    | Unable to locate pthsem in any system-wide location (see $PATH).
    | Please specify the correct path to either a pthsem installation tree
    | (use -with-pth=DIR if you used -prefix=DIR for installing pthsem in
    | the past) or to a pthsem source tree (use -with-pth=DIR if DIR is a
    | path to a pthsem-X.Y.Z/ directory; but make sure the package is already
    | built, i.e., the "configure; make" step was already performed there).
    +------------------------------------------------+
    make: ***  Erreur 1

    Maybe it helps.

    I keep looking for a solution.

    Bye.

     
  • jef2000

    jef2000 - 2010-02-02

    You can try to modify the linknx.mk file from optware and add the following line just before "-without-pth-test \":
    -with-pth=/home/benoit/optware/syno-x07/builds/pthsem \

    (be carful to use the same indentation as other lines)

    Regards,

    Jean-François

     
  • Ben

    Ben - 2010-02-04

    Hi Jef,

    I've tried your solution, but it still fails with the same error message.

    I've managed to install pthsem using apt-get, but linknx-ipk compilation do not work.

    Is pthsem-stage different that pthsem ?

    Maybe it can help : eibd-compilation fails too :
    # make eibd-ipk
    make: *** Pas de règle pour fabriquer la cible « /home/benoit/optware/syno-x07/sources/eibd/busmonitor-flush.patch », nécessaire pour « /home/benoit/optware/syno-x07/builds/eibd/.configured ». Arrêt.

    Regards,

    Ben

     
  • Ronny

    Ronny - 2010-02-04

    Hi Ben,

    I have Ubuntu 9.10 running and also had issues with installing eibd. Mr. Martin Kögler gave me some instructions that worked for me. Maybe it helps for you as well:

    Preparation of the system (as root -> sudo):

    apt-get install build-essential fakeroot apt-get build-dep bcusdk

    As "normal" user:

    apt-get source bcusdk
    cd bcusdk-0.0.4
    dpkg-buildpackage -rfakeroo

    this creates deb packages which you can install with dpkg -i

    Hope it helps….
    Ronny

     
  • Ronny

    Ronny - 2010-02-04

    sorry - the last command line had a missing character - it must be:

    dpkg-buildpackage -rfakeroot

     
  • jef2000

    jef2000 - 2010-02-04

    Hi,

    The error message you get is due to the following line in eibd.mk :

    EIBD_PATCHES=$(EIBD_SOURCE_DIR)/busmonitor-flush.patch

    This is a patch for peaople who want to use the busmonitor program from eibd package and receive the packets without the delay of file buffering. You can remove the complete line if you're not interested by that.

    Forget about "make pthsem-stage". it's a command from optware just like "make pthsem-ipk", but instead of making an ipk package to install on the device, it will install the library and header files in a directory called "optware/syno-x07/staging" and that's where the "make linknx-ipk" will look to find the libraries it needs. But since the linknx.mk has a dependency to pthsem-stage, it will be done automatically when you do "make linknx-ipk".

    I'll try to make the ipk fro 0.0.1.27 during the next days and hope it will work for you

    Regards,

    Jean-François

     
  • Ben

    Ben - 2010-02-05

    Thanks Jef and Ronny for your help.

    For the moment, I am still not able to create linknx ipk file.
    I can't properly install pthsem or bcusdk (m68hc05-runtime is now missing).
    I keep looking for a solution.

    Bye.

    Ben

     
  • Ben

    Ben - 2010-02-09

    Hi all,

    Bcusdk, log4cpp and lua packages are now installed.
    Here the log of "make linknx-ipk" :

    # make linknx-ipk
    make pthsem-stage
    make: entrant dans le répertoire « /home/benoit/optware/syno-x07 »
    make: Rien à faire pour « pthsem-stage ».
    make: quittant le répertoire « /home/benoit/optware/syno-x07 »
    rm -rf /home/benoit/optware/syno-x07/builds/linknx-0.0.1.27 /home/benoit/optware/syno-x07/builds/linknx
    zcat /home/benoit/optware/syno-x07/downloads/linknx-0.0.1.27.tar.gz | tar -C /home/benoit/optware/syno-x07/builds -xvf -
    linknx-0.0.1.27/
    linknx-0.0.1.27/missing
    linknx-0.0.1.27/Makefile.am
    linknx-0.0.1.27/config.h.in
    linknx-0.0.1.27/conf/
    linknx-0.0.1.27/conf/Makefile.am
    linknx-0.0.1.27/conf/Makefile.in
    linknx-0.0.1.27/conf/linknx_doc.tgz
    linknx-0.0.1.27/conf/linknx.xml
    linknx-0.0.1.27/acinclude.m4
    linknx-0.0.1.27/ticpp/
    linknx-0.0.1.27/ticpp/premake.lua
    linknx-0.0.1.27/ticpp/Makefile.am
    linknx-0.0.1.27/ticpp/tinyxml.h
    linknx-0.0.1.27/ticpp/ticpp.h
    linknx-0.0.1.27/ticpp/tutorial_ticpp.txt
    linknx-0.0.1.27/ticpp/ticpp.cpp
    linknx-0.0.1.27/ticpp/Makefile.in
    linknx-0.0.1.27/ticpp/tinystr.h
    linknx-0.0.1.27/ticpp/tinyxml.cpp
    linknx-0.0.1.27/ticpp/build_instructions.txt
    linknx-0.0.1.27/ticpp/tutorial_gettingStarted.txt
    linknx-0.0.1.27/ticpp/readme.txt
    linknx-0.0.1.27/ticpp/changes.txt
    linknx-0.0.1.27/ticpp/tinystr.cpp
    linknx-0.0.1.27/ticpp/tinyxmlerror.cpp
    linknx-0.0.1.27/ticpp/tinyxmlparser.cpp
    linknx-0.0.1.27/ticpp/ticpprc.h
    linknx-0.0.1.27/ticpp/dox
    linknx-0.0.1.27/ticpp/xmltest.cpp
    linknx-0.0.1.27/configure
    linknx-0.0.1.27/configure.ac
    linknx-0.0.1.27/src/
    linknx-0.0.1.27/src/suncalc.h
    linknx-0.0.1.27/src/emailgateway.cpp
    linknx-0.0.1.27/src/luacondition.cpp
    linknx-0.0.1.27/src/logger.cpp
    linknx-0.0.1.27/src/linknx.cpp
    linknx-0.0.1.27/src/persistentstorage.cpp
    linknx-0.0.1.27/src/ioport.h
    linknx-0.0.1.27/src/Makefile.am
    linknx-0.0.1.27/src/xmlserver.h
    linknx-0.0.1.27/src/emailgateway.h
    linknx-0.0.1.27/src/smsgateway.cpp
    linknx-0.0.1.27/src/knxconnection.h
    linknx-0.0.1.27/src/ruleserver.cpp
    linknx-0.0.1.27/src/ioport.cpp
    linknx-0.0.1.27/src/objectcontroller.h
    linknx-0.0.1.27/src/Makefile.in
    linknx-0.0.1.27/src/persistentstorage.h
    linknx-0.0.1.27/src/ruleserver.h
    linknx-0.0.1.27/src/luacondition.h
    linknx-0.0.1.27/src/knxconnection.cpp
    linknx-0.0.1.27/src/logger.h
    linknx-0.0.1.27/src/threads.cpp
    linknx-0.0.1.27/src/smsgateway.h
    linknx-0.0.1.27/src/common.c
    linknx-0.0.1.27/src/objectcontroller.cpp
    linknx-0.0.1.27/src/suncalc.cpp
    linknx-0.0.1.27/src/eibclient.c
    linknx-0.0.1.27/src/services.h
    linknx-0.0.1.27/src/timermanager.h
    linknx-0.0.1.27/src/common.h
    linknx-0.0.1.27/src/xmlserver.cpp
    linknx-0.0.1.27/src/threads.h
    linknx-0.0.1.27/src/services.cpp
    linknx-0.0.1.27/src/timermanager.cpp
    linknx-0.0.1.27/Makefile.in
    linknx-0.0.1.27/test/
    linknx-0.0.1.27/test/ObjectTest.cpp
    linknx-0.0.1.27/test/Makefile.am
    linknx-0.0.1.27/test/ExceptionDaysTest.cpp
    linknx-0.0.1.27/test/TimeSpecTest.cpp
    linknx-0.0.1.27/test/TimerManagerTest.cpp
    linknx-0.0.1.27/test/Makefile.in
    linknx-0.0.1.27/test/ObjectControllerTest.cpp
    linknx-0.0.1.27/test/testmain.cpp
    linknx-0.0.1.27/test/PeriodicTaskTest.cpp
    linknx-0.0.1.27/depcomp
    linknx-0.0.1.27/ChangeLog
    linknx-0.0.1.27/include/
    linknx-0.0.1.27/include/Makefile.am
    linknx-0.0.1.27/include/Makefile.in
    linknx-0.0.1.27/include/eibclient.h
    linknx-0.0.1.27/include/eibloadresult.h
    linknx-0.0.1.27/include/eibtypes.h
    linknx-0.0.1.27/linknx.spec
    linknx-0.0.1.27/install-sh
    linknx-0.0.1.27/aclocal.m4
    if test -n "" ; \
    then cat  | \
    patch -d /home/benoit/optware/syno-x07/builds/linknx-0.0.1.27 -p0 ; \
    fi
    if test "/home/benoit/optware/syno-x07/builds/linknx-0.0.1.27" != "/home/benoit/optware/syno-x07/builds/linknx" ; \
    then mv /home/benoit/optware/syno-x07/builds/linknx-0.0.1.27 /home/benoit/optware/syno-x07/builds/linknx ; \
    fi
    (cd /home/benoit/optware/syno-x07/builds/linknx; \
    AR=/home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-ar AS=/home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-as LD=/home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-ld NM=/home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-nm CC=/home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-gcc CPP="/home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-gcc -E" GCC=/home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-gcc CXX=/home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-g++ RANLIB=/home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-ranlib STRIP=/home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-strip \
    CPPFLAGS="-O2   -O2 -pipe -I/home/benoit/optware/syno-x07/staging/opt/include -DPATH_MAX=4096 -DLINE_MAX=2048 -DMB_LEN_MAX=16 " \
    LDFLAGS=" -L/home/benoit/optware/syno-x07/staging/opt/lib -Wl,-rpath,/opt/lib -Wl,-rpath-link,/home/benoit/optware/syno-x07/staging/opt/lib " \
    ./configure \
    -build=i386-pc-linux-gnu \
    -host=arm-marvell-linux-gnu \
    -target=arm-marvell-linux-gnu \
    -prefix=/opt \
    -disable-nls \
    -disable-static \
    -without-pth-test \
    )
    checking for a BSD-compatible install… /usr/bin/install -c
    checking whether build environment is sane… yes
    checking for gawk… no
    checking for mawk… mawk
    checking whether make sets $(MAKE)… yes
    checking for arm-marvell-linux-gnu-strip… /home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-strip
    checking for C++ compiler default output file name… a.out
    checking whether the C++ compiler works… yes
    checking whether we are cross compiling… yes
    checking for suffix of executables…
    checking for suffix of object files… o
    checking whether we are using the GNU C++ compiler… yes
    checking whether /home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-g++ accepts -g… yes
    checking for style of include used by make… GNU
    checking dependency style of /home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-g++… gcc3
    checking for arm-marvell-linux-gnu-gcc… /home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-gcc
    checking whether we are using the GNU C compiler… yes
    checking whether /home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-gcc accepts -g… yes
    checking for /home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-gcc option to accept ISO C89… none needed
    checking dependency style of /home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-gcc… gcc3
    checking for arm-marvell-linux-gnu-ranlib… /home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-ranlib
    checking how to run the C preprocessor… /home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-gcc -E
    checking for GNU Pth… version 2.0.7, installed under /usr
    checking for grep that handles long lines and -e… /bin/grep
    checking for egrep… /bin/grep -E
    checking for ANSI C header files… yes
    checking for sys/types.h… yes
    checking for sys/stat.h… yes
    checking for stdlib.h… yes
    checking for string.h… yes
    checking for memory.h… yes
    checking for strings.h… yes
    checking for inttypes.h… yes
    checking for stdint.h… yes
    checking for unistd.h… yes
    checking argp.h usability… yes
    checking argp.h presence… yes
    checking for argp.h… yes
    checking for library containing argp_parse… none required
    checking for cppunit-config… no
    checking for Cppunit - version >= 1.9.6… checking for gawk… (cached) mawk
    checking for curl-config… no
    checking whether libcurl is usable… no
    checking for ANSI C header files… (cached) yes
    checking fcntl.h usability… yes
    checking fcntl.h presence… yes
    checking for fcntl.h… yes
    checking stddef.h usability… yes
    checking stddef.h presence… yes
    checking for stddef.h… yes
    checking for stdlib.h… (cached) yes
    checking for unistd.h… (cached) yes
    checking for struct tm.tm_gmtoff… yes
    checking for mysql_config executable… not found
    checking libesmtp.h usability… no
    checking libesmtp.h presence… no
    checking for libesmtp.h… no
    checking whether to use libesmtp… no
    checking for log4cpp-config… /usr/bin/log4cpp-config
    checking for log4cpp… yes
    checking for arm-marvell-linux-gnu-pkg-config… /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0… yes
    checking for LOG4CPP… yes
    checking for lua… yes
    checking for LUA… checking for LUA… yes
    checking for stdbool.h that conforms to C99… yes
    checking for _Bool… yes
    checking for an ANSI C-conforming const… yes
    checking for inline… inline
    checking for int16_t… yes
    checking for size_t… yes
    checking for uint16_t… yes
    checking for uint8_t… yes
    checking for ptrdiff_t… yes
    checking for pid_t… yes
    checking vfork.h usability… no
    checking vfork.h presence… no
    checking for vfork.h… no
    checking for fork… yes
    checking for vfork… yes
    checking for working fork… cross
    configure: WARNING: result yes guessed because of cross compilation
    checking for working vfork… (cached) yes
    checking return type of signal handlers… void
    checking for vprintf… yes
    checking for _doprnt… no
    checking for dup2… yes
    checking for memmove… yes
    checking for memset… yes
    checking for strchr… yes
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating src/Makefile
    config.status: creating ticpp/Makefile
    config.status: creating include/Makefile
    config.status: creating test/Makefile
    config.status: creating conf/Makefile
    config.status: creating config.h
    config.status: executing depfiles commands
    touch /home/benoit/optware/syno-x07/builds/linknx/.configured
    rm -f /home/benoit/optware/syno-x07/builds/linknx/.built
    make -C /home/benoit/optware/syno-x07/builds/linknx
    make: entrant dans le répertoire « /home/benoit/optware/syno-x07/builds/linknx »
    make  all-recursive
    make: entrant dans le répertoire « /home/benoit/optware/syno-x07/builds/linknx »
    Making all in ticpp
    make: entrant dans le répertoire « /home/benoit/optware/syno-x07/builds/linknx/ticpp »
    if /home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ticpp  -DTIXML_USE_TICPP -DTIXML_USE_STL -O2   -O2 -pipe -I/home/benoit/optware/syno-x07/staging/opt/include -DPATH_MAX=4096 -DLINE_MAX=2048 -DMB_LEN_MAX=16   -g -O2 -MT ticpp.o -MD -MP -MF ".deps/ticpp.Tpo" -c -o ticpp.o ticpp.cpp; \
    then mv -f ".deps/ticpp.Tpo" ".deps/ticpp.Po"; else rm -f ".deps/ticpp.Tpo"; exit 1; fi
    if /home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ticpp  -DTIXML_USE_TICPP -DTIXML_USE_STL -O2   -O2 -pipe -I/home/benoit/optware/syno-x07/staging/opt/include -DPATH_MAX=4096 -DLINE_MAX=2048 -DMB_LEN_MAX=16   -g -O2 -MT tinystr.o -MD -MP -MF ".deps/tinystr.Tpo" -c -o tinystr.o tinystr.cpp; \
    then mv -f ".deps/tinystr.Tpo" ".deps/tinystr.Po"; else rm -f ".deps/tinystr.Tpo"; exit 1; fi
    if /home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ticpp  -DTIXML_USE_TICPP -DTIXML_USE_STL -O2   -O2 -pipe -I/home/benoit/optware/syno-x07/staging/opt/include -DPATH_MAX=4096 -DLINE_MAX=2048 -DMB_LEN_MAX=16   -g -O2 -MT tinyxml.o -MD -MP -MF ".deps/tinyxml.Tpo" -c -o tinyxml.o tinyxml.cpp; \
    then mv -f ".deps/tinyxml.Tpo" ".deps/tinyxml.Po"; else rm -f ".deps/tinyxml.Tpo"; exit 1; fi
    if /home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ticpp  -DTIXML_USE_TICPP -DTIXML_USE_STL -O2   -O2 -pipe -I/home/benoit/optware/syno-x07/staging/opt/include -DPATH_MAX=4096 -DLINE_MAX=2048 -DMB_LEN_MAX=16   -g -O2 -MT tinyxmlerror.o -MD -MP -MF ".deps/tinyxmlerror.Tpo" -c -o tinyxmlerror.o tinyxmlerror.cpp; \
    then mv -f ".deps/tinyxmlerror.Tpo" ".deps/tinyxmlerror.Po"; else rm -f ".deps/tinyxmlerror.Tpo"; exit 1; fi
    if /home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../ticpp  -DTIXML_USE_TICPP -DTIXML_USE_STL -O2   -O2 -pipe -I/home/benoit/optware/syno-x07/staging/opt/include -DPATH_MAX=4096 -DLINE_MAX=2048 -DMB_LEN_MAX=16   -g -O2 -MT tinyxmlparser.o -MD -MP -MF ".deps/tinyxmlparser.Tpo" -c -o tinyxmlparser.o tinyxmlparser.cpp; \
    then mv -f ".deps/tinyxmlparser.Tpo" ".deps/tinyxmlparser.Po"; else rm -f ".deps/tinyxmlparser.Tpo"; exit 1; fi
    rm -f libticpp.a
    ar cru libticpp.a ticpp.o tinystr.o tinyxml.o tinyxmlerror.o tinyxmlparser.o
    /home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-ranlib libticpp.a
    make: quittant le répertoire « /home/benoit/optware/syno-x07/builds/linknx/ticpp »
    Making all in src
    make: entrant dans le répertoire « /home/benoit/optware/syno-x07/builds/linknx/src »
    if /home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../include -I../ticpp -I/usr/include   -I/usr/include/lua5.1   -O2   -O2 -pipe -I/home/benoit/optware/syno-x07/staging/opt/include -DPATH_MAX=4096 -DLINE_MAX=2048 -DMB_LEN_MAX=16   -g -O2 -MT linknx.o -MD -MP -MF ".deps/linknx.Tpo" -c -o linknx.o linknx.cpp; \
    then mv -f ".deps/linknx.Tpo" ".deps/linknx.Po"; else rm -f ".deps/linknx.Tpo"; exit 1; fi
    if /home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../include -I../ticpp -I/usr/include   -I/usr/include/lua5.1   -O2   -O2 -pipe -I/home/benoit/optware/syno-x07/staging/opt/include -DPATH_MAX=4096 -DLINE_MAX=2048 -DMB_LEN_MAX=16   -g -O2 -MT logger.o -MD -MP -MF ".deps/logger.Tpo" -c -o logger.o logger.cpp; \
    then mv -f ".deps/logger.Tpo" ".deps/logger.Po"; else rm -f ".deps/logger.Tpo"; exit 1; fi
    if /home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../include -I../ticpp -I/usr/include   -I/usr/include/lua5.1   -O2   -O2 -pipe -I/home/benoit/optware/syno-x07/staging/opt/include -DPATH_MAX=4096 -DLINE_MAX=2048 -DMB_LEN_MAX=16   -g -O2 -MT ruleserver.o -MD -MP -MF ".deps/ruleserver.Tpo" -c -o ruleserver.o ruleserver.cpp; \
    then mv -f ".deps/ruleserver.Tpo" ".deps/ruleserver.Po"; else rm -f ".deps/ruleserver.Tpo"; exit 1; fi
    if /home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../include -I../ticpp -I/usr/include   -I/usr/include/lua5.1   -O2   -O2 -pipe -I/home/benoit/optware/syno-x07/staging/opt/include -DPATH_MAX=4096 -DLINE_MAX=2048 -DMB_LEN_MAX=16   -g -O2 -MT objectcontroller.o -MD -MP -MF ".deps/objectcontroller.Tpo" -c -o objectcontroller.o objectcontroller.cpp; \
    then mv -f ".deps/objectcontroller.Tpo" ".deps/objectcontroller.Po"; else rm -f ".deps/objectcontroller.Tpo"; exit 1; fi
    objectcontroller.cpp: In constructor `StringObjectValue::StringObjectValue(const std::string&)':
    objectcontroller.cpp:875: warning: comparison is always false due to limited range of data type
    if /home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include -I../ticpp -I/usr/include   -I/usr/include/lua5.1   -O2   -O2 -pipe -I/home/benoit/optware/syno-x07/staging/opt/include -DPATH_MAX=4096 -DLINE_MAX=2048 -DMB_LEN_MAX=16   -g -O2 -MT common.o -MD -MP -MF ".deps/common.Tpo" -c -o common.o common.c; \
    then mv -f ".deps/common.Tpo" ".deps/common.Po"; else rm -f ".deps/common.Tpo"; exit 1; fi
    if /home/benoit/optware/syno-x07/toolchain/gcc-3.4.3-glibc-2.3.2/bin/arm-marvell-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include -I../ticpp -I/usr/include   -I/usr/include/lua5.1   -O2   -O2 -pipe -I/home/benoit/optware/syno-x07/staging/opt/include -DPATH_MAX=4096 -DLINE_MAX=2048 -DMB_LEN_MAX=16   -g -O2 -MT eibclient.o -MD -MP -MF ".deps/eibclient.Tpo" -c -o eibclient.o eibclient.c; \
    then mv -f ".deps/eibclient.Tpo" ".deps/eibclient.Po"; else rm -f ".deps/eibclient.Tpo"; exit 1; fi
    eibclient.c: In function `EIBSocketRemote':
    eibclient.c:228: internal compiler error: in arm_print_operand, at config/arm/arm.c:12208
    Please submit a full bug report,
    with preprocessed source if appropriate.
    Send email to mrvlgccbug@gmail.com for instructions.
    {standard input}: Assembler messages:
    {standard input}:236: Warning: partial line at end of file ignored
    make: ***  Erreur 1
    make: quittant le répertoire « /home/benoit/optware/syno-x07/builds/linknx/src »
    make: ***  Erreur 1
    make: quittant le répertoire « /home/benoit/optware/syno-x07/builds/linknx »
    make: ***  Erreur 2
    make: quittant le répertoire « /home/benoit/optware/syno-x07/builds/linknx »
    make: ***  Erreur 2

    I think I don't use the right version of eibd.
    Which one should I install ?

    Here is the log of "make eibd-ipk" :

    7# make eibd-ipk
    make: *** Pas de règle pour fabriquer la cible « /home/benoit/optware/syno-x07/sources/eibd/busmonitor-flush.patch », nécessaire pour « /home/benoit/optware/syno-x07/builds/eibd/.configured ». Arrêt.
    root@benoit-ubuntu:/home/benoit/optware/syno-x07# cp /home/benoit/Téléchargements/eibd.mk /home/benoit/optware/make/
    root@benoit-ubuntu:/home/benoit/optware/syno-x07# make eibd-ipk
    make: *** Pas de règle pour fabriquer la cible « /home/benoit/optware/syno-x07/sources/eibd/busmonitor-flush.patch », nécessaire pour « /home/benoit/optware/syno-x07/builds/eibd/.configured ». Arrêt.
    root@benoit-ubuntu:/home/benoit/optware/syno-x07# make eibd-ipk

    Thanks per advance,

    Ben

     
  • jef2000

    jef2000 - 2010-02-10

    Hi,

    The error message "eibclient.c:228: internal compiler error: in arm_print_operand, at config/arm/arm.c:12208" suggest that there's an error in the compiler itself. The file "eibclient.c" is a file from linknx and has been compiled without problem on a lot of different platforms. I have no idea how to solve it.
    Usually, I prefer to cross compile (run a compiler on my x86 PC that will produce a binary for the target NAS device). That usually causes other problems, but with optware it has proven to works quite good.

    In the mean time, I compiled linknx 0.0.1.27 for different platforms. You can find it here:
    https://sourceforge.net/projects/linknx/files/linknx-bin/linknx-0.0.1.27/

    Best regards,

    Jean-François

     
  • Ben

    Ben - 2010-05-20

    Hi Jef,

    I've tried several linuxc versions for cross compiling with optware (syno-x07 target) and I still have this issue :
    eibclient.c:228: internal compiler error: in arm_print_operand, at config/arm/arm.c:12208

    Which os/version do you use ?

    Thanks,
    Ben

     
  • Ben

    Ben - 2010-05-22

    Hi Jef,

    Could you send me the toolchain-syno-x07.mk you use please ?

    Thanks,

    Ben

     
  • Ben

    Ben - 2010-05-25

    Hi Jef,

    Thank you so much for your files.
    But I still have the same issue :-((
    It's maybe due to the latest release of synology toolchain for x07 series…
    Could you give me the gcc343_glibc232_88f5281.tbz file you downloaded by installing optware (in /optware/downloads) ?

    Kind regards,

    Ben

     
  • Ben

    Ben - 2010-05-25

    Hi Jef,

    Forget my previous post.
    Sorry.

    I don't know how to solve my problem, I don't know what to do now…

    I keep looking for a solution.

    Bye.

    Ben

     
  • Ben

    Ben - 2010-05-31

    Hi Jef,

    I'm still trying cross compiling, but it still fails.

    Which linux version do you use ?

    Cheers,

    Ben

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.