[Bug 10266] New: /usr/include/limits.h:145:17: error: missing binary operator before token "("

bugzilla at busybox.net bugzilla at busybox.net
Tue Aug 29 13:01:52 UTC 2017


https://bugs.busybox.net/show_bug.cgi?id=10266

            Bug ID: 10266
           Summary: /usr/include/limits.h:145:17: error: missing binary
                    operator before token "("
           Product: uClibc
           Version: 0.9.33.3
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: blocker
          Priority: P5
         Component: Standard Compliance
          Assignee: unassigned at uclibc.org
          Reporter: velichita7 at gmail.com
                CC: uclibc-cvs at uclibc.org
  Target Milestone: ---

Created attachment 7221
  --> https://bugs.busybox.net/attachment.cgi?id=7221&action=edit
my config

Log:
========
  CC ldso/ldso/ldso.oS
In file included from ./include/limits.h:125:0,
                 from ./include/sys/param.h:26,
                 from ./ldso/include/ldso.h:40,
                 from ldso/ldso/ldso.c:33:
/usr/include/limits.h:145:17: error: missing binary operator before token "("
 #if __GLIBC_USE (IEC_60559_BFP_EXT)
                 ^
In file included from ./ldso/include/dl-string.h:11:0,
                 from ./ldso/include/ldso.h:44,
                 from ldso/ldso/ldso.c:33:
./ldso/ldso/arm/dl-sysdep.h: In function 'elf_machine_load_address':
./ldso/ldso/arm/dl-sysdep.h:119:37: warning: taking address of expression of
type 'void'
  Elf32_Addr got_addr = (Elf32_Addr) &__dl_start;
                                     ^
In file included from ldso/ldso/ldso.c:46:0:
ldso/ldso/arm/elfinterp.c: In function '_dl_linux_resolver':
ldso/ldso/arm/elfinterp.c:72:11: warning: assignment makes integer from pointer
without a cast [-Wint-conversion]
  new_addr = _dl_find_hash(symname, &_dl_loaded_modules->symbol_scope,
           ^
ldso/ldso/arm/elfinterp.c: In function '_dl_do_reloc':
ldso/ldso/arm/elfinterp.c:206:15: warning: assignment makes integer from
pointer without a cast [-Wint-conversion]
   symbol_addr = _dl_find_hash(symname, scope, tpnt,
               ^
ldso/ldso/arm/elfinterp.c:193:22: warning: variable 'def_mod' set but not used
[-Wunused-but-set-variable]
  struct elf_resolve *def_mod = 0;
                      ^~~~~~~
In file included from ./ldso/ldso/arm/dl-startup.h:10:0,
                 from ldso/ldso/dl-startup.c:95,
                 from ldso/ldso/ldso.c:93:
./include/bits/arm_asm.h: At top level:
./include/bits/arm_asm.h:6:1: error: expected identifier or '(' before '.'
token
 .thumb
 ^
make: *** [Makerules:360: ldso/ldso/ldso.oS] Error 1
===============
I compile for the ARM platform, I attached my .config with which I'm trying to
compile the UI;
I used the following line to compile according to your instructions: make
CROSS=arm-linux-gnueabihf-
My system: Linux nigga 4.12.4-1-ARCH #1 SMP PREEMPT Fri Jul 28 18:54:18 UTC
2017 x86_64 GNU/Linux
Compiling with the usual gcc, I have the same error and ask me to help fix it!

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the uClibc-cvs mailing list