On Sun, Apr 9, 2017 at 11:53 PM, riya khanna via iovisor-dev < iovisor-dev@lists.iovisor.org> wrote:
> Hi, > > I'm trying to rune example "sudo python > /usr/share/bcc/examples/tracing/task_switch.py" in bcc > > commit: 69ceaca09a992a59dced4130a1321335b64c2ea2 > > I see this error: > > LLVM ERROR: Program used external function '__memset' which could not > be resolved! > > followed (old) build instructions here: (build llvm + clang) > https://github.com/iovisor/bcc/blob/v0.3.0/INSTALL.md > > $ llvm-config --version > 3.8.0 > > Any pointers as to what could be missing here? Thanks! > > -Riya > > Any chance you do not have kernel-headers or source (either in package form from your distro or with the correct pointer in either /lib/modules/4.1.8/build or /lib/modules/4.1.8/source) so llvm cannot find the definition for __memset? It's a bit of a wild-guess since I have not seen this error, but thought it might be a possibility.
_______________________________________________ iovisor-dev mailing list iovisor-dev@lists.iovisor.org https://lists.iovisor.org/mailman/listinfo/iovisor-dev