Hello,
 
did you download the right lib? So, there will be a folder called SAI/include/sai and you will get to all directory.
 
https://github.com/Broadcom-Switch/SAI/tree/master/include/sai
 
https://github.com/Broadcom-Switch/SAI/blob/master/include/sai/sai.h
 
Regards,
 
--
Ozgur Karatas
 
SDN Architecture
 
okara...@yandex.com
 
20.05.2016, 16:55, "Calvin Ference" <cfere...@inocybe.ca>:
Hi,
 
I followed the build instructions in the readme and I get this error:
 
/usr/bin/ld: cannot find -lopennsl
collect2: error: ld returned 1 exit status
make: *** [libsai.so.1.0] Error 1
 
Which makes sense since I don't have the OpenNSL library compiled in the first place, since it's what I'm trying to build.
 
Any suggestions? I feel like I'm missing something fundamental here.
 
As an FYI, when I try to compile OpenNSL, this is the error. Even if the headers were installed there wouldn't be anything to link to.
 
/root/opennsl/src/sai/brcm_sai_acl.c:19:17: fatal error: sai.h: No such file or directory
 #include <sai.h>
                 ^
compilation terminated.
make[1]: *** [brcm_sai_acl.o] Error 1
make[1]: Leaving directory `/root/opennsl/output/inocybe-x86-trident2/sai'
make: *** [sai] Error 2
root@appliance02:~/opennsl/output/inocybe-x86-trident2# 
 
Thanks
Calvin
_______________________________________________
opencompute-networking mailing list
Unsubscribe: http://lists.opencompute.org/mailman/options/opencompute-networking

opencompute-networking@lists.opencompute.org
http://lists.opencompute.org/mailman/listinfo/opencompute-networking

Reply via email to