gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] Build broken


From: Eric S. Raymond
Subject: Re: [gpsd-dev] Build broken
Date: Wed, 25 Mar 2015 07:04:34 -0400
User-agent: Mutt/1.5.23 (2014-03-12)

Hal Murray <address@hidden>:
> 
> scons: *** [libgps.so.22.0.0] Source file: ais_json.o is static and is not 
> compatible with shared target: libgps.so.22.0.0
> 
> In case it matters, that's on Fedora.  I've seen similar on other systems but 
> didn't investigate.
> 
> -------
> 
> >From scons -n libgps.so.22.0.0
> .....
> scons: done reading SConscript files.
> scons: Building targets ...
> rm -f libgps.so; ln -s libgps.so.22.0.0 libgps.so
> rm -f libgps.so.22; ln -s libgps.so.22.0.0 libgps.so.22
> rm -f libgps.so.22.0; ln -s libgps.so.22.0.0 libgps.so.22.0
> scons: done building targets.
> address@hidden work]$ ls -l libgps.so.22.0
> ls: cannot access libgps.so.22.0: No such file or directory
> address@hidden work]$ 
> 
> Looks like a bug in scons -n.  It's not actually telling me how to build the 
> target or giving me an error message.

-n is the dry-run option - show actions but don't execute them.  If
libgps.so.22.0.0 didn't exist before you ran 'scons -n libgps.so.22.0.0', 
this is exactly what I would expect to see.

I am not clear how this relates to "ais_json.o is static and is not 
compatible with shared target".  Are you getting this on all platforms?
It might relate to a post-2.0.1 feature, in which case I need to back out 
my most recent change to SConstruct.
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>



reply via email to

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