[Liblas-devel] Build errors: version 1.8.1

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Liblas-devel] Build errors: version 1.8.1

Rich Shepard
   I'm trying to build libLAS-1.8.1 on Slackware-14.1. Make fails about 55%
toward completion with this error:

[ 55%] Building C object apps/CMakeFiles/las2col.dir/las2col.c.o
/opt/slackbuilds/GIS/libLAS/libLAS-1.8.1/apps/las2col.c: In function ‘main’:
/opt/slackbuilds/GIS/libLAS/libLAS-1.8.1/apps/las2col.c:1048:9: warning:
passing argument 1 of ‘fsync’ makes integer from pointer without a cast
[enabled by default]
          fsync(files_out[i]);
          ^
In file included from
/opt/slackbuilds/GIS/libLAS/libLAS-1.8.1/apps/las2col.c:30:0:
/usr/include/unistd.h:978:12: note: expected ‘int’ but argument is of type
‘struct FILE *’
  extern int fsync (int __fd);
             ^
Linking C executable ../bin/Release/las2col
/usr/lib/gcc/i486-slackware-linux/4.8.2/../../../../i486-slackware-linux/bin/ld:
CMakeFiles/las2col.dir/las2col.c.o: undefined reference to symbol
'pthread_join@@GLIBC_2.0'
/usr/lib/gcc/i486-slackware-linux/4.8.2/../../../../i486-slackware-linux/bin/ld:
note: 'pthread_join@@GLIBC_2.0' is defined in DSO /lib/libpthread.so.0 so
try adding it to the linker command line
/lib/libpthread.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [bin/Release/las2col] Error 1
make[1]: *** [apps/CMakeFiles/las2col.dir/all] Error 2
make: *** [all] Error 2

   Please advise how I should fix this problem.

TIA,

Rich
_______________________________________________
Liblas-devel mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/liblas-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Liblas-devel] Build errors: version 1.8.1

Rich Shepard
On Mon, 29 Aug 2016, Rich Shepard wrote:

>  I'm trying to build libLAS-1.8.1 on Slackware-14.1. Make fails about 55%
> toward completion with this error:

   The SlackBuilds.org package maintainer discovered it's an underlinked
library and fixed it. 1.8.1 builds for me.

Rich
_______________________________________________
Liblas-devel mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/liblas-devel
Loading...