[ofw] rsocket.c & gtod.c duplicate include error.

Smith, Stan stan.smith at intel.com
Tue Feb 5 13:43:06 PST 2013


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 (stan.smith at intel.com<mailto:stan.smith at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20130205/e7f9e921/attachment.html>


More information about the ofw mailing list