Smith, Stan
2013-02-05 21:43:06 UTC
Hello,
When building winOFED from trunk\ svn.3425 I find duplicate definitions of gettimeofday() link errors when building ulp\librdmacm?
Duplication is resultant from
ulp\librdmacm\src\cma_main.cpp:#include "../../../etc/user/gtod.c"
ulp\librdmacm\src\rsocket.cpp:#include "../../../etc/user/gtod.c"
Fixed by removing gtod.c include from rsocket.cpp
Signed-off by stan smith (***@intel.com<mailto:***@intel.com>)
--- C:/Users/scsmith/AppData/Local/Temp/rsocket.cpp-revBASE.svn000.tmp.cpp Thu Jan 24 15:02:56 2013
+++ C:/Users/scsmith/Documents/openIB-windows/ofw/gen1/trunk/ulp/librdmacm/src/rsocket.cpp Tue Feb 05 13:28:32 2013
@@ -60,8 +60,6 @@
#include <rdma/rsocket.h>
#include "cma.h"
#include "indexer.h"
-#include "../../../etc/user/gtod.c"
-
#define RS_OLAP_START_SIZE 2048
#define RS_MAX_TRANSFER 65536
#define RS_MAX_BACKLOG 256
When building winOFED from trunk\ svn.3425 I find duplicate definitions of gettimeofday() link errors when building ulp\librdmacm?
Duplication is resultant from
ulp\librdmacm\src\cma_main.cpp:#include "../../../etc/user/gtod.c"
ulp\librdmacm\src\rsocket.cpp:#include "../../../etc/user/gtod.c"
Fixed by removing gtod.c include from rsocket.cpp
Signed-off by stan smith (***@intel.com<mailto:***@intel.com>)
--- C:/Users/scsmith/AppData/Local/Temp/rsocket.cpp-revBASE.svn000.tmp.cpp Thu Jan 24 15:02:56 2013
+++ C:/Users/scsmith/Documents/openIB-windows/ofw/gen1/trunk/ulp/librdmacm/src/rsocket.cpp Tue Feb 05 13:28:32 2013
@@ -60,8 +60,6 @@
#include <rdma/rsocket.h>
#include "cma.h"
#include "indexer.h"
-#include "../../../etc/user/gtod.c"
-
#define RS_OLAP_START_SIZE 2048
#define RS_MAX_TRANSFER 65536
#define RS_MAX_BACKLOG 256