Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 05 Apr 2016 02:31 PM by  Tim Miller
LTIB build fails dhcp_wifi
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Tim Miller
New Member
New Member
Posts:2


--
04 Apr 2016 05:45 PM

    I'm new to this forum and this product.  I'm trying to build LTIB for the first time on a VMWare Ubuntu 14.04 VM, and I'm running in to a problem.

     I believe I've installed all of the required packages.

    I did have to install the usb_1.0.0_dev package in order to get past a usbutils (I think) build failure. I'm not sure if I should have don't that, but it seems to have fixed the usb issue.

     Now my build is failing on dhcp_wifi, and I don't now why?

    Here's the dhcp-wifi section of the build output.

    Processing: dhcp-wifi
    =======================
    Build path taken because: directory build, build key set, no prebuilt rpm,

    rpmbuild --dbpath /home/snc/Downloads/1027480_LogicPD_Linux_BSP_2.4-4/rootfs//var/lib/rpm --target arm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /home/snc/Downloads/1027480_LogicPD_Linux_BSP_2.4-4/rpm' --define '_prefix /usr' --define '_base_dir /opt' --define '_ltib_basedir ltib' --define '_host_prefix /opt/ltib' --define '_tmppath /home/snc/Downloads/1027480_LogicPD_Linux_BSP_2.4-4/tmp' --define '_rpmdir /home/snc/Downloads/1027480_LogicPD_Linux_BSP_2.4-4/rpm/RPMS' --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit /home/snc/Downloads/1027480_LogicPD_Linux_BSP_2.4-4/dist/lfs-5.1/dhcp/dhcp-wifi.spec
    Building target platforms: arm
    Building for target arm
    Executing(%build): /bin/sh -e /home/snc/Downloads/1027480_LogicPD_Linux_BSP_2.4-4/tmp/rpm-tmp.43428
    + umask 022
    + cd /home/snc/Downloads/1027480_LogicPD_Linux_BSP_2.4-4/rpm/BUILD
    + cd dhcp-3.0.3b1
    + ./configure
    UNIX name: Linux machine: x86_64

    Unknown system. If this is an SCO system running ODT 3.0 or
    higher, type ``./configure sco''. Otherwise, this is a
    configuration that isn't supported or hasn't been tested.

    Supported configurations are:
    aix AIX 4.1.5.0
    ultrix ULTRIX 4.2A or higher
    bsdos BSDI BSD/OS 2.1
    alphaosf DEC Alpha OSF/1
    linux Linux
    sunos4 Sunos 4.1.4 (earlier releases may work)
    sunos5-cc Solaris 2.4 or higher with Sun cc
    sunos5-gcc Solaris 2.4 or higher with gcc
    netbsd NetBSD 1.1 or higher
    freebsd FreeBSD
    openbsd OpenBSD (i386/alpha)
    hpux HP-UX
    qnx QNX 4.2 or higher
    NEXTSTEP NeXTSTEP
    sco SCO Open Server
    error: Bad exit status from /home/snc/Downloads/1027480_LogicPD_Linux_BSP_2.4-4/tmp/rpm-tmp.43428 (%build)


    RPM build errors:
    Bad exit status from /home/snc/Downloads/1027480_LogicPD_Linux_BSP_2.4-4/tmp/rpm-tmp.43428 (%build)
    Build time for dhcp-wifi: 0 seconds

    Failed building dhcp-wifi

    Thanks in advance for your help.

     Tim

     

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    05 Apr 2016 01:57 PM
    We haven't tested everything with Ubuntu 14, we have only tested Ubuntu 12 and we integrated that in to our virtual machine. Since it hasn't been thoroughly tested, any builds on Ubuntu 14 are not considered stable because we don't know what issues, if any, may occur.

    Having stated that, can you confirm that you have run ltib_setup.sh and the following libraries are installed?

    build-essential
    lib32z1
    lib32ncurses5
    lib32bz2-1.0
    usbutils
    libusb-1.0-0
    python-m2crypto

    Tim Miller
    New Member
    New Member
    Posts:2


    --
    05 Apr 2016 02:31 PM
    I ran ltib_setup.sh.

    All of those packages are installed except python-m2crypto. I installed that and tried to build again. I had the same problem.

    I appreciate your help with 14 despite the fact that you've only tested 12. Looks like I'll be using your VM until you've tested on 14. Any idea when that might be?

    Thanks,
    Tim
    You are not authorized to post a reply.