User:Vincent/fpcbuildserver

From Lazarus wiki
< User:Vincent
Revision as of 08:21, 24 October 2012 by Vincent (talk | contribs) (Fix for cannot find -lpthread)
Jump to navigationJump to search

Installed plugins

  • javadoc
  • Maven Integration plugin (required by instant-messaging plugin)
  • Jenkins instant-messaging plugin
  • Jenkins Subversion Plug-in
  • Config AutoRefresh Plugin
  • ViewVC Plugin
  • Jenkins IRC Plugin

Building FPC trunk on Ubuntu 12.04.1

I got this linking error while building fpmake

/usr/local/bin/ld: cannot find -lpthread

This can be fixed by adding OPT=-Fl/usr/lib/i386-linux-gnu. Adding this to fpc.cfg helps for compiling normal applications, but not make all in the fpc/trunk directory, because -n is passed in that case.

I am looking for a way to teach ld to look in /usr/lib/i386-linux-gnu