gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-users] Problems building gpsd 3.18.1 from source on Ubuntu 18.


From: Gary E. Miller
Subject: Re: [gpsd-users] Problems building gpsd 3.18.1 from source on Ubuntu 18.04 LTS
Date: Tue, 19 Feb 2019 14:25:53 -0800

Yo Rich!

On Tue, 19 Feb 2019 12:25:53 -0800
Rich Wales <address@hidden> wrote:

> > /Building from source is trivial the second time you do it./  
> 
> I'm getting the following error (highlighted in red below).  Any
> suggestions?

How did you try to compile?  I need a lot more context.

Usually the problem is explicit in the configure step, so to debug we
need the output of the entire build process.

Here is my build script:

scons --clean
scons distclean
scons --config=force timing=True  && scons install

> x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions
> -Wl,-Bsymbolic-functions -specs=/usr/share/dpkg/no-link.specs
> -Wl,-z,relro -o gps/packet.cpython-36m-x86_64-linux-gnu.so
> crc24q-py_3_6_5_final_0.cpython-36m-x86_64-linux-gnu.so
> driver_greis_checksum-py_3_6_5_final_0.cpython-36m-x86_64-linux-gnu.so
> driver_rtcm2-py_3_6_5_final_0.cpython-36m-x86_64-linux-gnu.so
> gpspacket-py_3_6_5_final_0.cpython-36m-x86_64-linux-gnu.so
> hex-py_3_6_5_final_0.cpython-36m-x86_64-linux-gnu.so
> isgps-py_3_6_5_final_0.cpython-36m-x86_64-linux-gnu.so
> os_compat-py_3_6_5_final_0.cpython-36m-x86_64-linux-gnu.so
> packet-py_3_6_5_final_0.cpython-36m-x86_64-linux-gnu.so -L. -lrt
> x86_64-linux-gnu-gcc: error: /usr/share/dpkg/no-link.specs: No such
> file or directory
> scons: *** [gps/packet.cpython-36m-x86_64-linux-gnu.so] Error 1
> scons: building terminated because of errors.

Odd, I have no /usr/share/dpkg either, and it works fine for me.

I'm not sure where this part of your command line came from:
    -specs=/usr/share/dpkg/no-link.specs

It is not from gpsd.  Do you have any CFLAGS, or similar, set?

I assume you have read build.txt.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin

Attachment: pgpJ3xpeuOlV2.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]