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


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

Re: Linking problem (using CMake)

From Kevin Nathan <knathan@project54.com>
Newsgroups comp.os.linux.development.apps
Subject Re: Linking problem (using CMake)
Date 2012-01-05 11:32 -0700
Message-ID <20120105113224.4d1fa1c2@efreet.linux> (permalink)
References <20120105000841.0ca8d27e@efreet.linux> <87lipma0zh.fsf@araminta.anjou.terraraq.org.uk>

Show all headers | 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