Bug 10266 - /usr/include/limits.h:145:17: error: missing binary operator before token "("
Summary: /usr/include/limits.h:145:17: error: missing binary operator before token "("
Status: NEW
Alias: None
Product: uClibc
Classification: Unclassified
Component: Standard Compliance (show other bugs)
Version: 0.9.33.3
Hardware: PC Linux
: P5 blocker
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-29 13:01 UTC by Mike
Modified: 2017-08-29 13:01 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
my config (5.95 KB, text/plain)
2017-08-29 13:01 UTC, Mike
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike 2017-08-29 13:01:52 UTC
Created attachment 7221 [details]
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!