bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

error in cross-compile in file elf/dl-support.c


From: niraj gupta
Subject: error in cross-compile in file elf/dl-support.c
Date: Sat, 31 May 2003 03:25:30 -0700
User-agent: KMail/1.5.2

hi

i am getting following error during cross compile in file elf/dl-support.c

line 139 is defined as 
__rtld_lock_define_initialized_recursive (, _dl_load_lock)

whereas the definition of this in 
sysdeps/mach/bits/libc-lock.h
is
       #define __libc_lock_define_initialized(CLASS,NAME)
and/or 
sysdeps/mach/hurd/bits/libc-lock.h
is
#define __rtld_lock_define_initialized_recursive(CLASS,NAME)

please help, any ideas

-niraj

x86_64-unknown-linux-gcc dl-support.c -c -std=gnu99 -O2 -Wall -Winline 
-Wstrict-prototypes -Wwrite-strings -g      -I../include -I. 
-I/home/ngupta/x86-64/glibc-build/elf -I.. -I../libio  
-I/home/ngupta/x86-64/glibc-build -I../sysdeps/x86_64/elf 
-I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux 
-I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman 
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 
-I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/fpu 
-I../sysdeps/x86_64 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-96 
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 
-I../sysdeps/generic/elf -I../sysdeps/generic    -include 
../include/libc-symbols.h       -o 
/home/ngupta/x86-64/glibc-build/elf/dl-support.o
In file included from dl-support.c:28:
../sysdeps/x86_64/dl-machine.h: In function `elf_machine_runtime_setup':
../sysdeps/generic/ldsodefs.h:171: warning: inlining failed in call to 
`_dl_name_match_p'
../sysdeps/x86_64/dl-machine.h:117: warning: called from here
dl-support.c: At top level:
dl-support.c:143: warning: return type defaults to `int'
dl-support.c:143: warning: function declaration isn't a prototype
dl-support.c: In function `__rtld_lock_define_initialized_recursive':
dl-support.c:148: error: parse error before '{' token
dl-support.c:143: warning: type of `_dl_load_lock' defaults to `int'
dl-support.c:148: error: declaration for parameter `_dl_aux_init' but no such 
parameter
dl-support.c:143: error: declaration for parameter `_dl_clktck' but no such 
parameter
dl-support.c:149: error: `av' undeclared (first use in this function)
dl-support.c:149: error: (Each undeclared identifier is reported only once
dl-support.c:149: error: for each function it appears in.)
../string/bits/string2.h: At top level:
../stdio-common/_itoa.h:40: warning: inlining failed in call to `_itoa_word'
../string/bits/string2.h:76: warning: called from here
make[2]: *** [/home/ngupta/x86-64/glibc-build/elf/dl-support.o] Error 1
make[2]: Leaving directory `/home/ngupta/x86-64/glibc-2.3.2/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/home/ngupta/x86-64/glibc-2.3.2'
make: *** [all] Error 2





reply via email to

[Prev in Thread] Current Thread [Next in Thread]