Calvin, OpenNSL (https://github.com/Broadcom-Switch/OpenNSL) is a binary blob with headers; there's nothing to compile. The supported platforms (ie precompiled libs and kernel mods) are located in the bin directory in the repo. If your platform is not there, you need to open a ticket with Broadcom directly. From your earlier email, I want to clarify that OpenNSL is not an OCP project; it was submitted but not acted upon. +--+ Carlos
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
[email protected] http://lists.opencompute.org/mailman/listinfo/opencompute-networking
