Skip to content

Instantly share code, notes, and snippets.

@beheerderdag
Last active November 1, 2017 12:54
Show Gist options
  • Save beheerderdag/de32fb5067da7234d579d00586388642 to your computer and use it in GitHub Desktop.
Save beheerderdag/de32fb5067da7234d579d00586388642 to your computer and use it in GitHub Desktop.
irods-b2stage-gridftp-make-error
irods-4.18 and lateest b2stage-gridftp.
root# make
[ 10%] Building C object CMakeFiles/globus_gridftp_server_iRODS.dir/DSI/globus_gridftp_server_iRODS.c.o
/home/rods/iRODS_DSI/B2STAGE-GridFTP/DSI/globus_gridftp_server_iRODS.c: In function globus_l_gfs_iRODS_start:
/home/rods/iRODS_DSI/B2STAGE-GridFTP/DSI/globus_gridftp_server_iRODS.c:706: error: too few arguments to function clientLogin
make[2]: *** [CMakeFiles/globus_gridftp_server_iRODS.dir/DSI/globus_gridftp_server_iRODS.c.o] Error 1
make[1]: *** [CMakeFiles/globus_gridftp_server_iRODS.dir/all] Error 2
make: *** [all] Error 2
root# diff globus_gridftp_server_iRODS.c globus_gridftp_server_iRODS.c.old
38d37
< #include <dlfcn.h>
572c571
< const char *errorName;
---
> char *errorName;
611d609
<
655,657c653
< } else {
< iRODS_handle->defResource = NULL;
< }
---
> };
688d683
< globus_gfs_log_message(GLOBUS_GFS_LOG_INFO, "iRODS_handle->hostname = [%s] iRODS_handle->port = [%i] myRodsEnv.rodsUserName = [%s] myRodsEnv.rodsZone = [%s] iRODS_handle->user = [%s] iRODS_handle->zone = [%s]\n", iRODS_handle->hostname, iRODS_handle->port, myRodsEnv.rodsUserName, myRodsEnv.rodsZone, iRODS_handle->user, iRODS_handle->zone);
691,692d685
< //iRODS_handle->conn = _rcConnect("localhost", 1247, "rods", "tempZone", "rods", "tempZone", &errMsg, 0, 0);
< globus_gfs_log_message(GLOBUS_GFS_LOG_INFO,"iRODS DSI: _rcConnect returned %i", 0);
703c696
< #ifdef IRODS_42
---
> #ifdef IRODS_HEADER_HPP
1144,1145c1137
<
< if (iRODS_handle->fd > 0) {
---
> if (iRODS_handle->fd >= 0) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment