Started getting Undefined symbols for architecture i386 "_getline"

37 views
Skip to first unread message

Woofbeans

unread,
Jan 13, 2015, 4:08:00 PM1/13/15
to android-...@googlegroups.com
I've previously been able to successfully build the Lollipop AOSP (for hammerhead) but now for some reason I've started getting this error message and don't know how/where to fix it

Undefined symbols for architecture i386:

  "_getline", referenced from:

      _write_numa_topology in libperf.a(header.o)

      _write_cpu_topology in libperf.a(header.o)

      _write_total_mem in libperf.a(header.o)

      _write_cpudesc in libperf.a(header.o)

      _copyfile in libperf.a(util.o)

      _hist_entry__srcline_snprintf in libperf.a(sort.o)

      _machine__create_kernel_maps in libperf.a(machine.o)

      ...

ld: symbol(s) not found for architecture i386

Glenn Kasten

unread,
Jan 14, 2015, 11:04:48 AM1/14/15
to android-...@googlegroups.com
Those look like kernel symbols from the tools/perf subdirectory of kernel.
This android-building group is more about building the Android platform, not kernel.
Try android-kernel group?

Woofbeans

unread,
Jan 19, 2015, 1:00:57 PM1/19/15
to android-...@googlegroups.com
It is the Android Platform I am building, not the Kernel.
Reply all
Reply to author
Forward
0 new messages