Re: [ros-users] openrave fails to build with linker error

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: Antons Rebguns
Date:  
To: ros-users
Subject: Re: [ros-users] openrave fails to build with linker error
Hi Rosen,

It looks like it tries to find gfortranbegin when generating some octave
bindings:

Scanning dependencies of target orcreate_octave
make[3]: Leaving directory
`/home/robotlab/ros/wg-ros-pkg-unreleased/stacks/openrave_planning/openrave/openrave_svn/build'
make[3]: Entering directory
`/home/robotlab/ros/wg-ros-pkg-unreleased/stacks/openrave_planning/openrave/openrave_svn/build'
[ 89%] Generating orcreate.mex
/usr/bin/ld: cannot find -lgfortranbegin

There were new system dependencies for rosoct (octave3.0-headers package
which bring the whole fortran compiler). I just tried removing gfortran
package and OpenRAVE compiled just fine. I guess it just skips
that orcreate.mex generation if it doesn't find the right dependencies.

Anton

On Tue, Jul 20, 2010 at 7:37 PM, Rosen Diankov <>wrote:

> hi antons,
>
> i'm not sure how gfortranbegin is getting included into the build
> flags... have you tried removing the openrave_svn/build directory and
> building from scratch?
>
> rosen,
>
> 2010/7/20 Antons Rebguns <>:
> > Hi folks,
> > I just updated my openrave installation and it fails to build with the
> > following error:
> > /usr/bin/ld: cannot find -lgfortranbegin
> > I do have gfortrun installed and I can find a static lib at this
> location:
> > /usr/lib/gcc/x86_64-linux-gnu/4.4/libgfortranbegin.a
> > I am on Ubuntu 10.04 with current ROS C-turtle.
> > Does anybody have an idea what's going wrong?
> > Thanks,
> > Anton
> > _______________________________________________
> > ros-users mailing list
> >
> > https://code.ros.org/mailman/listinfo/ros-users
> >
> >
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users
>