Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix makefiles so that 'file truncated' error does not happen #10

Closed
gentoobionic opened this issue Jan 23, 2014 · 3 comments
Closed

Fix makefiles so that 'file truncated' error does not happen #10

gentoobionic opened this issue Jan 23, 2014 · 3 comments

Comments

@gentoobionic
Copy link
Owner

No description provided.

@gentoobionic
Copy link
Owner Author

./libc/libc.so: file not recognized: File truncated
collect2: ld returned 1 exit status
make: *** [libm/libm.so] Error 1
make: *** Waiting for unfinished jobs....
./libc//libc.so: file not recognized: File truncated
collect2: ld returned 1 exit status
make: *** [libstdc++/libstdc++.so] Error 1
././libc/bionic//dlmalloc.o: In function mmap_resize': dlmalloc.c:(.text+0x988): undefined reference tomremap'
././libc/bionic//dlmalloc.o: In function release_unused_segments': dlmalloc.c:(.text+0x24e9): undefined reference tomunmap'
././libc/bionic//dlmalloc.o: In function sys_trim': dlmalloc.c:(.text+0x2886): undefined reference tomremap'
dlmalloc.c:(.text+0x28a2): undefined reference to munmap' ././libc/bionic//dlmalloc.o: In functiondlfree':
dlmalloc.c:(.text+0x4a53): undefined reference to munmap' ././libc/bionic//malloc_debug_common.o: In functionmalloc_init_impl':
malloc_debug_common.c:(.text+0xacd): undefined reference to getpid' ././libc/bionic//pthread_debug.o: In functiondebug_realloc':
pthread_debug.c:(.text+0x501): undefined reference to munmap' ././libc/bionic//pthread_debug.o: In functiontraverseTree':
pthread_debug.c:(.text+0x8ee): undefined reference to gettid' pthread_debug.c:(.text+0x903): undefined reference togetpid'
pthread_debug.c:(.text+0x948): undefined reference to gettid' pthread_debug.c:(.text+0x94f): undefined reference togetpid'
pthread_debug.c:(.text+0xa18): undefined reference to gettid' ././libc/bionic//pthread_debug.o: In functionmutex_lock_checked':
pthread_debug.c:(.text+0xc14): undefined reference to gettid' ././libc/bionic//pthread_debug.o: In functionmutex_unlock_checked':
pthread_debug.c:(.text+0xd89): undefined reference to gettid' ././libc/bionic//pthread_debug.o: In functionpush_most_recently_locked':
pthread_debug.c:(.text+0x10fd): undefined reference to gettid' ././libc/bionic//pthread_debug.o: In functionremove_most_recently_locked':
pthread_debug.c:(.text+0x1144): undefined reference to gettid' ././libc/bionic//pthread_debug.o:pthread_debug.c:(.text+0x11b5): more undefined references togettid' follow
././libc/bionic//pthread_debug.o: In function pthread_debug_init': pthread_debug.c:(.text+0x1219): undefined reference togetpid'
././libc/bionic//pthread_debug.o: In function pthread_debug_mutex_lock_check': pthread_debug.c:(.text+0x1287): undefined reference togettid'
././libc/bionic//pthread_debug.o: In function pthread_debug_mutex_unlock_check': pthread_debug.c:(.text+0x12f1): undefined reference togettid'
././libc/unistd//sysconf-dynamic.o: In function line_parser_getc': sysconf-dynamic.c:(.text+0x3c5): undefined reference toread'
././libc/unistd//sysconf-dynamic.o: In function line_parser_gets': sysconf-dynamic.c:(.text+0x44a): undefined reference toclose'
././libc/unistd//sysconf-dynamic.o: In function line_parser_done': sysconf-dynamic.c:(.text+0x4a7): undefined reference toclose'
././libc/bionic//pthread-dynamic.o: In function _init_thread': pthread-dynamic.c:(.text+0x44b): undefined reference tosched_setscheduler'
././libc/bionic//pthread-dynamic.o: In function mkstack': pthread-dynamic.c:(.text+0x4fa): undefined reference tomprotect'
pthread-dynamic.c:(.text+0x510): undefined reference to munmap' ././libc/bionic//pthread-dynamic.o: In functionpthread_create':
pthread-dynamic.c:(.text+0x666): undefined reference to munmap' ././libc/bionic//pthread-dynamic.o: In functionpthread_exit':
pthread-dynamic.c:(.text+0xb63): undefined reference to sigprocmask' pthread-dynamic.c:(.text+0xb74): undefined reference to_exit_thread'
././libc/bionic//pthread-dynamic.o: In function pthread_getschedparam': pthread-dynamic.c:(.text+0xdda): undefined reference tosched_getparam'
pthread-dynamic.c:(.text+0xdf1): undefined reference to sched_getscheduler' ././libc/bionic//pthread-dynamic.o: In functionpthread_setschedparam':
pthread-dynamic.c:(.text+0xe53): undefined reference to sched_setscheduler' ././libc/bionic//pthread-dynamic.o: In function__timespec_to_absolute':
pthread-dynamic.c:(.text+0x176d): undefined reference to clock_gettime' ././libc/bionic//pthread-dynamic.o: In function__timespec_to_relative_msec':
pthread-dynamic.c:(.text+0x1805): undefined reference to clock_gettime' ././libc/bionic//pthread-dynamic.o: In functionpthread_kill':
pthread-dynamic.c:(.text+0x25c3): undefined reference to getpid' pthread-dynamic.c:(.text+0x25d6): undefined reference totgkill'
././libc/bionic//pthread-dynamic.o: In function pthread_sigmask': pthread-dynamic.c:(.text+0x2677): undefined reference to__rt_sigprocmask'
././libc/bionic//pthread-dynamic.o: In function pthread_setname_np': pthread-dynamic.c:(.text+0x288c): undefined reference toprctl'
pthread-dynamic.c:(.text+0x2914): undefined reference to write' pthread-dynamic.c:(.text+0x293a): undefined reference toclose'
././libc/unistd//abort.o: In function abort': abort.c:(.text+0x13b): undefined reference tosigprocmask'
abort.c:(.text+0x197): undefined reference to getpid' abort.c:(.text+0x1a7): undefined reference tokill'
abort.c:(.text+0x1dd): undefined reference to sigaction' abort.c:(.text+0x1f8): undefined reference tosigprocmask'
abort.c:(.text+0x1fd): undefined reference to getpid' abort.c:(.text+0x20d): undefined reference tokill'
abort.c:(.text+0x219): undefined reference to _exit' ././libc/unistd//alarm.o: In functionalarm':
alarm.c:(.text+0x54): undefined reference to setitimer' ././libc/unistd//brk.o: In functionbrk':
brk.c:(.text+0x19): undefined reference to __brk' ././libc/unistd//daemon.o: In functiondaemon':
daemon.c:(.text+0x22): undefined reference to chdir' daemon.c:(.text+0x76): undefined reference todup2'
daemon.c:(.text+0x8d): undefined reference to dup2' daemon.c:(.text+0xa4): undefined reference todup2'
daemon.c:(.text+0xb3): undefined reference to close' daemon.c:(.text+0xc5): undefined reference toclose'
daemon.c:(.text+0xec): undefined reference to _exit' daemon.c:(.text+0xf1): undefined reference tosetsid'
././libc/unistd//eventfd.o: In function eventfd_read': eventfd.c:(.text+0x28): undefined reference toread'
././libc/unistd//eventfd.o: In function eventfd_write': eventfd.c:(.text+0x7b): undefined reference towrite'
././libc/unistd//exec.o: In function execl': exec.c:(.text+0xc4): undefined reference toexecve'
././libc/unistd//exec.o: In function execle': exec.c:(.text+0x19a): undefined reference toexecve'
././libc/unistd//exec.o: In function execv': exec.c:(.text+0x290): undefined reference toexecve'
././libc/unistd//exec.o: In function execvp': exec.c:(.text+0x44d): undefined reference towritev'
exec.c:(.text+0x4d0): undefined reference to execve' ././libc/unistd//exec.o: In function.L38':
exec.c:(.text+0x598): undefined reference to execve' ././libc/unistd//fcntl.o: In functionfcntl':
fcntl.c:(.text+0x3b): undefined reference to __fcntl64' ././libc/unistd//fstatfs.o: In functionfstatfs':
fstatfs.c:(.text+0x28): undefined reference to __fstatfs64' ././libc/unistd//ftime.o: In functionftime':
ftime.c:(.text+0x20): undefined reference to gettimeofday' ././libc/unistd//ftok.o: In functionftok':
ftok.c:(.text+0x20): undefined reference to lstat' ././libc/unistd//getcwd.o: In functiongetcwd':
getcwd.c:(.text+0x3e): undefined reference to __getcwd' ././libc/unistd//getdtablesize.o: In functiongetdtablesize':
getdtablesize.c:(.text+0x21): undefined reference to getrlimit' ././libc/unistd//gethostname.o: In functiongethostname':
gethostname.c:(.text+0x26): undefined reference to uname' ././libc/unistd//getlogin.o: In functiongetlogin':
getlogin.c:(.text+0x4f): undefined reference to fstat' getlogin.c:(.text+0x96): undefined reference toclose'
././libc/unistd//getpgrp.o: In function getpgrp': getpgrp.c:(.text+0x1a): undefined reference togetpgid'
././libc/unistd//getpriority.o: In function getpriority': getpriority.c:(.text+0x20): undefined reference to__getpriority'
././libc/unistd//initgroups.o: In function initgroups': initgroups.c:(.text+0x9a): undefined reference tosetgroups'
././libc/unistd//killpg.o: In function killpg': killpg.c:(.text+0x3c): undefined reference tokill'
././libc/unistd//lseek64.o: In function lseek64': lseek64.c:(.text+0x4b): undefined reference to__llseek'
././libc/unistd//mmap.o: In function mmap': mmap.c:(.text+0x5d): undefined reference to__mmap2'
mmap.c:(.text+0x8a): undefined reference to madvise' ././libc/unistd//nice.o: In functionnice':
nice.c:(.text+0x46): undefined reference to setpriority' ././libc/unistd//open.o: In functionopen':
open.c:(.text+0x54): undefined reference to __open' ././libc/unistd//openat.o: In functionopenat':
openat.c:(.text+0x5b): undefined reference to __openat' ././libc/unistd//opendir.o: In function_readdir_unlocked':
opendir.c:(.text+0x13f): undefined reference to getdents' ././libc/unistd//opendir.o: In functionclosedir':
opendir.c:(.text+0x367): undefined reference to close' ././libc/unistd//opendir.o: In functionrewinddir':
opendir.c:(.text+0x3d2): undefined reference to lseek' ././libc/unistd//openpty.o: In functionopenpty':
openpty.c:(.text+0x184): undefined reference to close' openpty.c:(.text+0x1a1): undefined reference toclose'
././libc/unistd//perror.o: In function perror': perror.c:(.text+0x5a): undefined reference towrite'
perror.c:(.text+0x78): undefined reference to write' perror.c:(.text+0xa0): undefined reference towrite'
perror.c:(.text+0xbe): undefined reference to write' ././libc/unistd//popen.o: In functionpopen':
popen.c:(.text+0x8f): undefined reference to pipe' popen.c:(.text+0xcc): undefined reference toclose'
popen.c:(.text+0xd7): undefined reference to close' popen.c:(.text+0x126): undefined reference toclose'
popen.c:(.text+0x149): undefined reference to close' popen.c:(.text+0x164): undefined reference todup2'
popen.c:(.text+0x16f): undefined reference to close' popen.c:(.text+0x17c): undefined reference toclose'
popen.c:(.text+0x196): undefined reference to dup2' popen.c:(.text+0x1a1): undefined reference toclose'
popen.c:(.text+0x1c8): undefined reference to execve' popen.c:(.text+0x1d4): undefined reference to_exit'
popen.c:(.text+0x1fe): undefined reference to close' popen.c:(.text+0x220): undefined reference toclose'
././libc/unistd//pread.o: In function pread': pread.c:(.text+0x37): undefined reference topread64'
././libc/unistd//pselect.o: In function pselect': pselect.c:(.text+0xb4): undefined reference toselect'
././libc/unistd//pwrite.o: In function pwrite': pwrite.c:(.text+0x37): undefined reference topwrite64'
././libc/unistd//raise.o: In function raise': raise.c:(.text+0x13): undefined reference togettid'
raise.c:(.text+0x22): undefined reference to kill' ././libc/unistd//reboot.o: In functionreboot':
reboot.c:(.text+0x31): undefined reference to __reboot' ././libc/unistd//recv.o: In functionrecv':
recv.c:(.text+0x3e): undefined reference to recvfrom' ././libc/unistd//sbrk.o: In functionsbrk':
sbrk.c:(.text+0x26): undefined reference to __brk' sbrk.c:(.text+0x55): undefined reference to__brk'
././libc/unistd//send.o: In function send': send.c:(.text+0x3e): undefined reference tosendto'
././libc/unistd//setegid.o: In function setegid': setegid.c:(.text+0x29): undefined reference tosetresgid'
././libc/unistd//setuid.o: In function setuid': setuid.c:(.text+0x24): undefined reference to__setuid'
././libc/unistd//seteuid.o: In function seteuid': seteuid.c:(.text+0x34): undefined reference to__setresuid'
././libc/unistd//setreuid.o: In function setreuid': setreuid.c:(.text+0x2b): undefined reference to__setreuid'
././libc/unistd//setresuid.o: In function setresuid': setresuid.c:(.text+0x32): undefined reference to__setresuid'
././libc/unistd//setpgrp.o: In function setpgrp': setpgrp.c:(.text+0x22): undefined reference tosetpgid'
././libc/unistd//sigblock.o: In function sigblock': sigblock.c:(.text+0x71): undefined reference tosigprocmask'
././libc/unistd//siginterrupt.o: In function siginterrupt': siginterrupt.c:(.text+0x28): undefined reference tosigaction'
siginterrupt.c:(.text+0x60): undefined reference to sigaction' ././libc/unistd//signal.o: In function_signal':
signal.c:(.text+0x80): undefined reference to sigaction' ././libc/unistd//sigsetmask.o: In functionsigsetmask':
sigsetmask.c:(.text+0x71): undefined reference to sigprocmask' ././libc/unistd//sigsuspend.o: In functionsigsuspend':
sigsuspend.c:(.text+0x34): undefined reference to __sigsuspend' ././libc/unistd//sigwait.o: In functionsigwait':
sigwait.c:(.text+0x49): undefined reference to __rt_sigtimedwait' ././libc/unistd//sleep.o: In functionsleep':
sleep.c:(.text+0x3b): undefined reference to nanosleep' ././libc/unistd//statfs.o: In functionstatfs':
statfs.c:(.text+0x28): undefined reference to __statfs64' ././libc/unistd//syslog.o: In functionvsyslog_r':
syslog.c:(.text+0x369): undefined reference to getpid' syslog.c:(.text+0x5d8): undefined reference towritev'
syslog.c:(.text+0x761): undefined reference to writev' syslog.c:(.text+0x76c): undefined reference toclose'
././libc/unistd//syslog.o: In function disconnectlog_r': syslog.c:(.text+0x7b8): undefined reference toclose'
././libc/unistd//syslog.o: In function connectlog_r': syslog.c:(.text+0x80c): undefined reference tosocket'
syslog.c:(.text+0x8b5): undefined reference to connect' syslog.c:(.text+0x8c7): undefined reference toclose'
././libc/unistd//syslog.o: In function closelog_r': syslog.c:(.text+0x964): undefined reference toclose'
././libc/unistd//system.o: In function system': system.c:(.text+0x118): undefined reference tosigprocmask'
system.c:(.text+0x149): undefined reference to sigprocmask' system.c:(.text+0x16e): undefined reference tosigprocmask'
system.c:(.text+0x18f): undefined reference to execve' system.c:(.text+0x19b): undefined reference to_exit'
system.c:(.text+0x201): undefined reference to sigprocmask' ././libc/unistd//time.o: In functiontime':
time.c:(.text+0x21): undefined reference to gettimeofday' ././libc/unistd//time.o: In functionclock_now':
time.c:(.text+0x70): undefined reference to clock_gettime' ././libc/unistd//ttyname.o: In functionttyname':
ttyname.c:(.text+0x2d): undefined reference to getpid' ttyname.c:(.text+0xae): undefined reference toreadlink'
ttyname.c:(.text+0xf9): undefined reference to close' ././libc/unistd//umount.o: In functionumount':
umount.c:(.text+0x21): undefined reference to umount2' ././libc/unistd//usleep.o: In functionusleep':
usleep.c:(.text+0x61): undefined reference to nanosleep' ././libc/unistd//wait.o: In functionwait':
wait.c:(.text+0x31): undefined reference to __wait4' ././libc/unistd//wait.o: In functionwait3':
wait.c:(.text+0x6a): undefined reference to __wait4' ././libc/unistd//wait.o: In functionwaitpid':
wait.c:(.text+0xa3): undefined reference to __wait4' ././libc/unistd//wait.o: In functionwaitid':
wait.c:(.text+0xe3): undefined reference to __waitid' ././libc/stdio//freopen.o: In functionfreopen':
freopen.c:(.text+0x2ab): undefined reference to dup2' freopen.c:(.text+0x2ba): undefined reference toclose'
././libc/stdio//fseek.o: In function fseeko': fseek.c:(.text+0x202): undefined reference tofstat'
fseek.c:(.text+0x270): undefined reference to fstat' ././libc/stdio//makebuf.o: In function__swhatbuf':
makebuf.c:(.text+0x147): undefined reference to fstat' ././libc/stdio//mktemp.o: In function_gettemp':
mktemp.c:(.text+0x170): undefined reference to getpid' mktemp.c:(.text+0x279): undefined reference tostat'
mktemp.c:(.text+0x328): undefined reference to mkdir' mktemp.c:(.text+0x35e): undefined reference tolstat'
././libc/stdio//remove.o: In function remove': remove.c:(.text+0x20): undefined reference tolstat'
remove.c:(.text+0x45): undefined reference to rmdir' remove.c:(.text+0x52): undefined reference tounlink'
././libc/stdio//stdio.o: In function __sread': stdio.c:(.text+0x32): undefined reference toread'
././libc/stdio//stdio.o: In function __swrite': stdio.c:(.text+0xb3): undefined reference tolseek'
stdio.c:(.text+0xe4): undefined reference to write' ././libc/stdio//stdio.o: In function__sseek':
stdio.c:(.text+0x120): undefined reference to lseek' ././libc/stdio//stdio.o: In function__sclose':
stdio.c:(.text+0x185): undefined reference to close' ././libc/stdio//tmpfile.o: In functiontmpfile':
tmpfile.c:(.text+0xa8): undefined reference to sigprocmask' tmpfile.c:(.text+0xc7): undefined reference tounlink'
tmpfile.c:(.text+0xd3): undefined reference to umask' tmpfile.c:(.text+0xe3): undefined reference toumask'
tmpfile.c:(.text+0x100): undefined reference to fchmod' tmpfile.c:(.text+0x11b): undefined reference tosigprocmask'
tmpfile.c:(.text+0x15b): undefined reference to close' ././libc/stdio//vfprintf.o: In function.L26':
vfprintf.c:(.text+0x2788): undefined reference to munmap' ././libc/stdio//vfprintf.o: In function.L551':
vfprintf.c:(.text+0x3635): undefined reference to munmap' ././libc/stdio//vfprintf.o: In function__grow_type_table':
vfprintf.c:(.text+0x3738): undefined reference to munmap' ././libc/stdlib//atexit.o: In function__cxa_atexit':
atexit.c:(.text+0x91): undefined reference to mprotect' atexit.c:(.text+0x1cd): undefined reference tomprotect'
././libc/stdlib//atexit.o: In function __cxa_finalize': atexit.c:(.text+0x2d6): undefined reference tomprotect'
atexit.c:(.text+0x30f): undefined reference to mprotect' atexit.c:(.text+0x399): undefined reference tomunmap'
././libc/stdlib//atexit.o: In function __atexit_register_cleanup': atexit.c:(.text+0x4c9): undefined reference tomprotect'
atexit.c:(.text+0x504): undefined reference to mprotect' ././libc/stdlib//exit.o: In functionexit':
exit.c:(.text+0x25): undefined reference to _exit' ././libc/stdlib//setjmperr.o: In functionlongjmperror':
setjmperr.c:(.text+0x2c): undefined reference to write' ././libc/inet//bindresvport.o: In functionbindresvport':
bindresvport.c:(.text+0x72): undefined reference to getpid' bindresvport.c:(.text+0x10f): undefined reference tobind'
././libc/tzcode//localtime.o: In function tzload': localtime.c:(.text+0x421): undefined reference toaccess'
localtime.c:(.text+0x502): undefined reference to read' localtime.c:(.text+0x516): undefined reference toclose'
localtime.c:(.text+0x563): undefined reference to lseek' localtime.c:(.text+0x58a): undefined reference toread'
localtime.c:(.text+0x598): undefined reference to close' ././libc/bionic//cpuacct.o: In functioncpuacct_add':
cpuacct.c:(.text+0x81): undefined reference to mkdir' cpuacct.c:(.text+0xed): undefined reference towrite'
cpuacct.c:(.text+0x134): undefined reference to close' ././libc/bionic//arc4random.o: In functionarc4_stir':
arc4random.c:(.text+0x18b): undefined reference to read' arc4random.c:(.text+0x196): undefined reference toclose'
arc4random.c:(.text+0x1ae): undefined reference to gettimeofday' arc4random.c:(.text+0x1b3): undefined reference togetpid'
././libc/bionic//arc4random.o: In function arc4random': arc4random.c:(.text+0x41a): undefined reference togetpid'
././libc/bionic//arc4random.o: In function arc4random_buf': arc4random.c:(.text+0x47e): undefined reference togetpid'
././libc/bionic//fdprintf.o: In function vfdprintf': fdprintf.c:(.text+0x50): undefined reference towrite'
././libc/bionic//fork.o: In function fork': fork.c:(.text+0x25): undefined reference to__fork'
fork.c:(.text+0x46): undefined reference to gettid' fork.c:(.text+0x5e): undefined reference togetuid'
././libc/bionic//fts.o: In function fts_close': fts.c:(.text+0x4de): undefined reference tofchdir'
fts.c:(.text+0x4f6): undefined reference to close' ././libc/bionic//fts.o: In functionfts_read':
fts.c:(.text+0x6a1): undefined reference to close' fts.c:(.text+0x83f): undefined reference tofchdir'
fts.c:(.text+0xa48): undefined reference to fchdir' fts.c:(.text+0xa9f): undefined reference tofchdir'
fts.c:(.text+0xabb): undefined reference to close' fts.c:(.text+0xaf6): undefined reference toclose'
././libc/bionic//fts.o: In function fts_children': fts.c:(.text+0xd47): undefined reference tofchdir'
fts.c:(.text+0xd56): undefined reference to close' fts.c:(.text+0xd68): undefined reference toclose'
././libc/bionic//fts.o: In function fts_build': fts.c:(.text+0x136b): undefined reference tofchdir'
././libc/bionic//fts.o: In function fts_stat': fts.c:(.text+0x1477): undefined reference tostat'
fts.c:(.text+0x149e): undefined reference to lstat' fts.c:(.text+0x14d7): undefined reference tolstat'
././libc/bionic//fts.o: In function fts_safe_changedir': fts.c:(.text+0x1ac5): undefined reference tofstat'
fts.c:(.text+0x1b32): undefined reference to fchdir' fts.c:(.text+0x1b50): undefined reference toclose'
././libc/bionic//if_nametoindex.o: In function if_nametoindex': if_nametoindex.c:(.text+0x6a): undefined reference tosocket'
if_nametoindex.c:(.text+0xa2): undefined reference to close' ././libc/bionic//if_indextoname.o: In functionif_indextoname':
if_indextoname.c:(.text+0x52): undefined reference to socket' if_indextoname.c:(.text+0xba): undefined reference toclose'
././libc/bionic//ioctl.o: In function ioctl': ioctl.c:(.text+0x3b): undefined reference to__ioctl'
././libc/bionic//libc_init_common.o: In function __libc_init_tls': libc_init_common.c:(.text+0x63): undefined reference togettid'
././libc/bionic//logd_write.o: In function __write_to_log_kernel': logd_write.c:(.text+0x70): undefined reference towritev'
././libc/bionic//realpath.o: In function realpath': realpath.c:(.text+0x3d7): undefined reference tolstat'
realpath.c:(.text+0x47f): undefined reference to readlink' ././libc/bionic//sched_getaffinity.o: In functionsched_getaffinity':
sched_getaffinity.c:(.text+0x27): undefined reference to __sched_getaffinity' ././libc/bionic//sched_getcpu.o: In functionsched_getcpu':
sched_getcpu.c:(.text+0x29): undefined reference to __getcpu' ././libc/bionic//semaphore.o: In functionsem_timedwait':
semaphore.c:(.text+0x41f): undefined reference to clock_gettime' ././libc/bionic//ssp.o: In function__guard_setup':
ssp.c:(.text+0x120): undefined reference to read' ssp.c:(.text+0x12e): undefined reference toclose'
././libc/bionic//ssp.o: In function __stack_chk_fail': ssp.c:(.text+0x1b8): undefined reference tosigprocmask'
ssp.c:(.text+0x1d8): undefined reference to readlink' ssp.c:(.text+0x279): undefined reference tosigaction'
ssp.c:(.text+0x27e): undefined reference to getpid' ssp.c:(.text+0x28e): undefined reference tokill'
ssp.c:(.text+0x29a): undefined reference to _exit' ././libc/bionic//system_properties.o: In function__system_properties_init':
system_properties.c:(.text+0xfe): undefined reference to munmap' ././libc/bionic//system_properties.o: In functionsend_prop_msg':
system_properties.c:(.text+0x33b): undefined reference to socket' system_properties.c:(.text+0x3c2): undefined reference toconnect'
system_properties.c:(.text+0x3ec): undefined reference to close' system_properties.c:(.text+0x461): undefined reference topoll'
system_properties.c:(.text+0x4a9): undefined reference to close' ././libc/bionic//utime.o: In functionutime':
utime.c:(.text+0x53): undefined reference to utimes' ././libc/netbsd/isc//ev_timers.o: In function__evNowTime':
ev_timers.c:(.text+0x15c): undefined reference to clock_gettime' ev_timers.c:(.text+0x180): undefined reference togettimeofday'
././libc/netbsd/isc//ev_timers.o: In function __evUTCTime': ev_timers.c:(.text+0x1f1): undefined reference toclock_gettime'
ev_timers.c:(.text+0x215): undefined reference to gettimeofday' ././libc/netbsd/resolv//herror.o: In functionherror':
herror.c:(.text+0x16f): undefined reference to writev' ././libc/netbsd/resolv//res_init.o: In function__res_vinit':
res_init.c:(.text+0x15e): undefined reference to getpid' ././libc/netbsd/resolv//res_init.o: In functionreal_randomid':
res_init.c:(.text+0x13d3): undefined reference to read' res_init.c:(.text+0x13f4): undefined reference toclose'
res_init.c:(.text+0x1425): undefined reference to close' ././libc/netbsd/resolv//res_init.o: In function__res_randomid':
res_init.c:(.text+0x147d): undefined reference to gettimeofday' res_init.c:(.text+0x148c): undefined reference togetpid'
././libc/netbsd/resolv//res_init.o: In function __res_nclose': res_init.c:(.text+0x14ca): undefined reference toclose'
res_init.c:(.text+0x151e): undefined reference to close' ././libc/netbsd/resolv//res_send.o: In functionrandom_bind':
res_send.c:(.text+0x11c): undefined reference to bind' res_send.c:(.text+0x162): undefined reference tobind'
././libc/netbsd/resolv//res_send.o: In function __res_nsend': res_send.c:(.text+0x7ef): undefined reference togetpeername'
././libc/netbsd/resolv//res_send.o: In function send_vc': res_send.c:(.text+0x1113): undefined reference togetpeername'
res_send.c:(.text+0x11ac): undefined reference to socket' res_send.c:(.text+0x147d): undefined reference towritev'
res_send.c:(.text+0x1527): undefined reference to read' res_send.c:(.text+0x16c5): undefined reference toread'
res_send.c:(.text+0x1784): undefined reference to read' ././libc/netbsd/resolv//res_send.o: In functionconnect_with_timeout':
res_send.c:(.text+0x18b0): undefined reference to connect' ././libc/netbsd/resolv//res_send.o: In functionretrying_select':
res_send.c:(.text+0x1bc2): undefined reference to getsockopt' ././libc/netbsd/resolv//res_send.o: In functionsend_dg':
res_send.c:(.text+0x1c68): undefined reference to socket' res_send.c:(.text+0x1dea): undefined reference toconnect'
res_send.c:(.text+0x207b): undefined reference to recvfrom' ././libc/netbsd/resolv//res_cache.o: In function_time_now':
res_cache.c:(.text+0x21): undefined reference to gettimeofday' ././libc/netbsd/net//getaddrinfo.o: In function_test_connect':
getaddrinfo.c:(.text+0x184): undefined reference to socket' getaddrinfo.c:(.text+0x1ad): undefined reference toconnect'
getaddrinfo.c:(.text+0x1da): undefined reference to close' ././libc/netbsd/net//getaddrinfo.o: In functionandroid_getaddrinfo_proxy':
getaddrinfo.c:(.text+0x358): undefined reference to getpid' getaddrinfo.c:(.text+0x420): undefined reference tosocket'
getaddrinfo.c:(.text+0x45d): undefined reference to setsockopt' getaddrinfo.c:(.text+0x4c4): undefined reference toconnect'
getaddrinfo.c:(.text+0x4eb): undefined reference to close' ././libc/netbsd/net//getaddrinfo.o: In functionexplore_null':
getaddrinfo.c:(.text+0x1294): undefined reference to socket' getaddrinfo.c:(.text+0x12be): undefined reference toclose'
././libc/netbsd/net//getaddrinfo.o: In function _find_src_addr': getaddrinfo.c:(.text+0x2f75): undefined reference tosocket'
getaddrinfo.c:(.text+0x2fb7): undefined reference to connect' getaddrinfo.c:(.text+0x2fdd): undefined reference toclose'
getaddrinfo.c:(.text+0x2ffd): undefined reference to getsockname' getaddrinfo.c:(.text+0x300d): undefined reference toclose'
getaddrinfo.c:(.text+0x301f): undefined reference to close' ././libc/netbsd/net//getaddrinfo.o: In function_using_alt_dns':
getaddrinfo.c:(.text+0x3219): undefined reference to getpid' ././libc/netbsd/net//getnameinfo.o: In functionandroid_gethostbyaddr_proxy':
getnameinfo.c:(.text+0xbd): undefined reference to getpid' getnameinfo.c:(.text+0x123): undefined reference tosocket'
getnameinfo.c:(.text+0x160): undefined reference to setsockopt' getnameinfo.c:(.text+0x1c7): undefined reference toconnect'
getnameinfo.c:(.text+0x1ee): undefined reference to close' ././libc/mntent//addmntent.o: In functionaddmntent':
addmntent.c:(.text+0x26e): undefined reference to ftruncate' ././libc/arch-x86/bionic//__set_tls.o: In function__set_tls':
__set_tls.c:(.text+0x3b): undefined reference to __set_thread_area' ././libc/bionic//pthread-timers.o: In functiontimer_create':
pthread-timers.c:(.text+0x5c5): undefined reference to __timer_create' pthread-timers.c:(.text+0x5fb): undefined reference toclock_gettime'
././libc/bionic//pthread-timers.o: In function timer_delete': pthread-timers.c:(.text+0x7cd): undefined reference to__timer_delete'
././libc/bionic//pthread-timers.o: In function timer_gettime_internal': pthread-timers.c:(.text+0x88a): undefined reference toclock_gettime'
././libc/bionic//pthread-timers.o: In function timer_gettime': pthread-timers.c:(.text+0x924): undefined reference to__timer_gettime'
././libc/bionic//pthread-timers.o: In function timer_settime': pthread-timers.c:(.text+0x9d8): undefined reference to__timer_settime'
pthread-timers.c:(.text+0xa5c): undefined reference to clock_gettime' ././libc/bionic//pthread-timers.o: In functiontimer_getoverrun':
pthread-timers.c:(.text+0xb09): undefined reference to __timer_getoverrun' ././libc/bionic//pthread-timers.o: In functiontimer_thread_start':
pthread-timers.c:(.text+0xbea): undefined reference to clock_gettime' ././libc/bionic//ptrace.o: In functionptrace':
ptrace.c:(.text+0x39): undefined reference to __ptrace' ptrace.c:(.text+0x6e): undefined reference to__ptrace'
/Users/Gentoo/usr/libexec/gcc/i686-pc-linux-gnu/ld: warning: creating a DT_TEXTREL in object.
collect2: ld returned 1 exit status
make: *** [libc/libc.so] Error 1

@gentoobionic
Copy link
Owner Author

subsequent make works fine

@cfriedt
Copy link
Collaborator

cfriedt commented Mar 16, 2014

Fixed on or before latest major commit

@cfriedt cfriedt closed this as completed Mar 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants