Difference between revisions of "User:Vincent/fpcbuildserver"

From Lazarus wiki
(Created page with "== Installed plugins == * javadoc * Maven Integration plugin (required by instant-messaging plugin) * Jenkins instant-messaging plugin * Jenkins Subversion Plug-in * Config Au...")
 
(Fix for cannot find -lpthread)
Line 7: Line 7:
 
* ViewVC Plugin
 
* ViewVC Plugin
 
* Jenkins IRC 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

Revision as of 07:21, 24 October 2012

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