Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.development.apps > #343

Re: Linking problem (using CMake)

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsreader4.netcologne.de!news.netcologne.de!newsfeed.kamp.net!newsfeed.kamp.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Kevin Nathan <knathan@project54.com>
Newsgroups comp.os.linux.development.apps
Subject Re: Linking problem (using CMake)
Date Thu, 5 Jan 2012 11:32:24 -0700
Lines 26
Message-ID <20120105113224.4d1fa1c2@efreet.linux> (permalink)
References <20120105000841.0ca8d27e@efreet.linux> <87lipma0zh.fsf@araminta.anjou.terraraq.org.uk>
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Trace individual.net 1pmGt2mzdhRgLg5yzBMS9QsAAtCa5xXmHjPndXTrbdORcmerzj
Cancel-Lock sha1:OXaAz2Di9LuJVjqNKoJ2ISjQKkA=
X-Newsreader Claws Mail 3.7.10 (GTK+ 2.22.1; i686-pc-linux-gnu)
X-Face %/gp4MCQT=`#JS##?-]V9ksid6OSR@(wbF"bK6wSLO$u,%(N@X~bVhAD+\A_[gRhx*T6=fq "N_5H8.v[&;q0iw!s_wuL05B0xg#OYUkbn#@&U_]fL%o==~2sphc?*L+bicO!POJLG#p'N.]J0/p_w Z^(.kOB%Ob914-V>?GI;
Xref x330-a1.tempe.blueboxinc.net comp.os.linux.development.apps:343

Show key headers only | View raw


On Thu, 05 Jan 2012 10:37:54 +0000
Richard Kettlewell <rjk@greenend.org.uk> wrote:

>If Tag is in libtypes.a then you need to ensure that libtypes.a appears
>after everything that uses it on the linker command line.  How you
>achieve that with cmake I have no idea.
>

That was it! I was under the mistaken assumption (of course) that libs
referenced by other libs needed to be *after* the others on the link
line. This will be a lesson well-remembered after all this pulling
of hair and gnashing of teeth! :-)  (Although I will remain curious why
it worked in 'auction' and not in 'clerk', but it won't bother me!)

Thank you very much, Richard!


-- 
Kevin Nathan (Arizona, USA)  
Linux Potpourri -- http://www.project54.com/linux/

Open standards. Open source. Open minds. 
The command line is the front line.
Linux 2.6.37.6-0.9-desktop
 11:25am  up  19:35,  14 users,  load average: 0.19, 0.40, 0.41

Back to comp.os.linux.development.apps | Previous | NextPrevious in thread | Find similar


Thread

Linking problem (using CMake) Kevin Nathan <knathan@project54.com> - 2012-01-05 00:08 -0700
  Re: Linking problem (using CMake) Richard Kettlewell <rjk@greenend.org.uk> - 2012-01-05 10:37 +0000
    Re: Linking problem (using CMake) Kevin Nathan <knathan@project54.com> - 2012-01-05 11:32 -0700

csiph-web