Re: Link Error with DAOS 1.0

Olivier, Jeffrey V
 

This small patch gets me past that error:

 

jvolivie-desk1:[~/daos_1.0]$ git diff

diff --git a/src/control/lib/spdk/spdk.go b/src/control/lib/spdk/spdk.go

index 28b55e537..bbc3d43c6 100644

--- a/src/control/lib/spdk/spdk.go

+++ b/src/control/lib/spdk/spdk.go

@@ -30,6 +30,7 @@ package spdk

/*

#cgo LDFLAGS: -lspdk_env_dpdk -lrte_mempool -lrte_mempool_ring -lrte_bus_pci

#cgo LDFLAGS: -lrte_pci -lrte_ring -lrte_mbuf -lrte_eal -lrte_kvargs -ldl -lnuma

+#cgo LDFLAGS: -lisal

 #include "stdlib.h"

#include "spdk/stdinc.h"

 

But then it runs into an issue with hwloc.

 

build/src/control/src/github.com/daos-stack/daos/src/control/lib/netdetect/netdetect.go:156:48: could not determine kind of name for C.HWLOC_TOPOLOGY_FLAG_IO_DEVICES

 

It looks like hwloc version 1.5 which should work but perhaps there is something new on Ubuntu 20.04 that we only resolved on master.  

 

-Jeff

 

From: <daos@daos.groups.io> on behalf of "Olivier, Jeffrey V" <jeffrey.v.olivier@...>
Reply-To: "daos@daos.groups.io" <daos@daos.groups.io>
Date: Wednesday, June 24, 2020 at 5:52 PM
To: "daos@daos.groups.io" <daos@daos.groups.io>
Subject: Re: [daos] Link Error with DAOS 1.0

 

Hi Archie,

 

I don’t know if 1.0 has been tried with Ubuntu 20.04 though it does work with 18.04.   I will give it a try locally and see what I can find out.

 

-Jeff

 

From: <daos@daos.groups.io> on behalf of Archie Morningstar <archiemorningstar88@...>
Reply-To: "daos@daos.groups.io" <daos@daos.groups.io>
Date: Wednesday, June 24, 2020 at 12:29 PM
To: "daos@daos.groups.io" <daos@daos.groups.io>
Subject: Re: [daos] Link Error with DAOS 1.0

 

[Edited Message Follows]

Sorry for not having that:
Ubuntu 20.04 LTS

Archie

Join daos@daos.groups.io to automatically receive all group messages.