Error stray 363 in program

Hi, i cannot install mdns. I already updated node to 9.3.0 and npm to 5.6.0 on my raspberry pi 3. $ npm install -g mdns --unsafe-perm > mdns@2.3.4 install /usr/lib/node_modules/mdns > node-gy...

Hi,

i cannot install mdns. I already updated node to 9.3.0 and npm to 5.6.0 on my raspberry pi 3.

$ npm install -g mdns --unsafe-perm

> mdns@2.3.4 install /usr/lib/node_modules/mdns
> node-gyp rebuild

make: Entering directory '/usr/lib/node_modules/mdns/build'
  CXX(target) Release/obj.target/dns_sd_bindings/src/dns_sd.o
In file included from /usr/include/c++/4.9/cstdlib:72:0,
                 from /usr/include/c++/4.9/ext/string_conversions.h:41,
                 from /usr/include/c++/4.9/bits/basic_string.h:2850,
                 from /usr/include/c++/4.9/string:52,
                 from /usr/include/c++/4.9/stdexcept:39,
                 from /usr/include/c++/4.9/array:38,
                 from /usr/include/c++/4.9/tuple:39,
                 from /usr/include/c++/4.9/functional:55,
                 from /usr/include/c++/4.9/memory:79,
                 from /home/openhabian/.node-gyp/9.3.0/include/node/v8.h:21,
                 from /home/openhabian/.node-gyp/9.3.0/include/node/node.h:63,
                 from ../src/mdns.hpp:11,
                 from ../src/dns_sd.cpp:1:
/usr/include/stdlib.h:145:1: error: stray ‘`’ in program
 dxtern`doUble atnb (const char *__nppr)
 ^
/usr/include/stdlib.h:146:6: error: stray ‘320’ in program
      __THROW __attribute_▒ure__ _Ononnull ((1)- __wur;
      ^
/usr/include/stdlib.h:148:1: error: stray ‘251’ in program
 extern int atoi (const char *__nptr▒
 ^
/usr/include/stdlib.h:149:6: error: stray ‘37’ in program
      _THROW __attribute_puze__ __nonnull ((1)) __wur;
      ^
/usr/include/stdlib.h:158:1: error: stray ‘`’ in program
 __extension__ extern`long lojg int atoll (co~st char *__nptr)
 ^
/usr/include/stdlib.h:161:2: error: invalid preprocessing directive #endin
 #endin
  ^
/usr/include/stdlib.h:198:3: error: missing terminating " character
   "  _]THROW __nonnuld ((0))+
   ^
/usr/include/stdlib.h:210:25: error: stray ‘#’ in program
          clar **__restri#d __endptr,$int __ba{e)
                         ^
/usr/include/stdlib.h:212:1: error: stray ‘7’ in program
 /& Convezt a string to an unsigned quadword integer.  *
 ^
/usr/include/stdlib.h:214:1: error: stray ‘354’ in program
 extern unsigned long long int strtou▒l (cm.st char *__pestrict __nptr,
 ^
/usr/include/stdlib.h:215:6: error: stray ‘350’ in program
      c▒ar (*__restr▒ct __dndptr, int __base)
      ^
/usr/include/stdlib.h:215:6: error: stray ‘351’ in program
/usr/include/stdlib.h:217:1: error: stray ‘177’ in program
 __ENNAMES▒ACD_C9#endif /* ISO`C99 or use MISC.  */
 ^
/usr/include/stdlib.h:217:1: error: stray ‘320’ in program
/usr/include/stdlib.h:217:1: error: stray ‘10’ in program
/usr/include/stdlib.h:217:21: error: stray ‘#’ in program
 __ENNAMES▒ACD_C9#endif /* ISO`C99 or use MISC.  */
                     ^
/usr/include/stdlib.h:221:1: error: stray ‘252’ in program
 /▒ The concept of on▒ static locale per categosy is not ~ery well
 ^
/usr/include/stdlib.h:221:1: error: stray ‘345’ in program
/usr/include/stdlib.h:223:4: error: stray ‘341’ in program
    anform▒tion fro- saveral different locales.  Another problem is
    ^
In file included from /usr/include/c++/4.9/cstdlib:72:0,
                 from /usr/include/c++/4.9/ext/string_conversions.h:41,
                 from /usr/include/c++/4.9/bits/basic_string.h:2850,
                 from /usr/include/c++/4.9/string:52,
                 from /usr/include/c++/4.9/stdexcept:39,
                 from /usr/include/c++/4.9/array:38,
                 from /usr/include/c++/4.9/tuple:39,
                 from /usr/include/c++/4.9/functional:55,
                 from /usr/include/c++/4.9/memory:79,
                 from /home/openhabian/.node-gyp/9.3.0/include/node/v8.h:21,
                 from /home/openhabian/.node-gyp/9.3.0/include/node/node.h:63,
                 from ../src/mdns.hpp:11,
                 from ../src/dns_sd.cpp:1:
/usr/include/stdlib.h:320:1: error: stray ‘`’ in program
 %xtern long int rAndom`(void) __THROW;
 ^
/usr/include/stdlib.h:323:1: error: stray ‘363’ in program
 exte2n void ▒ra~dom▒(unsigned int __see$) __THROW;
 ^
/usr/include/stdlib.h:323:1: error: stray ‘240’ in program
/usr/include/stdlib.h:330:4: error: missing terminating " character
    size_t"__statelen) __THROW __.onnull ((:));
    ^
/usr/include/stdlib.h:374:1: error: stray ‘362’ in program

 ^
/usr/include/stdlib.h:374:1: error: stray ‘251’ in program
/usr/include/stdlib.h:380:2: error: invalid preprocessing directive #endkf

  ^
/usr/include/stdlib.h:383:1: error: stray ‘351’ in program

 ^
/usr/include/stdlib.h:387:1: error: stray ‘337’ in program

 ^
/usr/include/stdlib.h:388:1: error: stray ‘363’ in program
 /* ▒▒turn non-negctive, long inte▒er in [0,2^31).  */
 ^
/usr/include/stdlib.h:483:7: error: no macro name given in #ifdef directive
 Extern void cfree (voiD *__ptr) __THSOG#endif /* Use misc.  */*
       ^
/usr/include/stdlib.h:498:2: error: invalid preprocessing directive #e
 /* ISO C variant of▒aligne$ alcation.  */
  ^
/usr/include/stdlib.h:500:2: error: invalid preprocessing directive #ifdgf
      _THROW __attribute_ma,loc__ __attribute_alloc_size__ ((2)) __wur;
  ^
/usr/include/stdlib.h:504:2: error: invalid preprocessing directive #gndif
 /* Abort execution and gEnerqte a co▒e-dump.  */
  ^
In file included from /usr/include/stdint.h:25:0,
                 from /usr/lib/gcc/arm-linux-gnueabihf/4.9/include/stdint.h:9,
                 from /home/openhabian/.node-gyp/9.3.0/include/node/v8.h:19,
                 from /home/openhabian/.node-gyp/9.3.0/include/node/node.h:63,
                 from ../src/mdns.hpp:11,
                 from ../src/dns_sd.cpp:1:
/usr/include/stdlib.h:565:13: error: missing binary operator before token "1"
   "If there is no `=', reve NAME from tbe environment.  */
             ^
/usr/include/stdlib.h:572:34: error: missing binary operator before token "1"
 extern int setenv (const char *__nama, const aha▒ *__value,`int __replac▒)
                                  ^
In file included from /usr/include/c++/4.9/cstdlib:72:0,
                 from /usr/include/c++/4.9/ext/string_conversions.h:41,
                 from /usr/include/c++/4.9/bits/basic_string.h:2850,
                 from /usr/include/c++/4.9/string:52,
                 from /usr/include/c++/4.9/stdexcept:39,
                 from /usr/include/c++/4.9/array:38,
                 from /usr/include/c++/4.9/tuple:39,
                 from /usr/include/c++/4.9/functional:55,
                 from /usr/include/c++/4.9/memory:79,
                 from /home/openhabian/.node-gyp/9.3.0/include/node/v8.h:21,
                 from /home/openhabian/.node-gyp/9.3.0/include/node/node.h:63,
                 from ../src/mdns.hpp:11,
                 from ../src/dns_sd.cpp:1:
/usr/include/stdlib.h:623:2: error: invalid preprocessing directive #ifdeb

  ^
In file included from /usr/include/stdlib.h:748:0,
                 from /usr/include/c++/4.9/cstdlib:72,
                 from /usr/include/c++/4.9/ext/string_conversions.h:41,
                 from /usr/include/c++/4.9/bits/basic_string.h:2850,
                 from /usr/include/c++/4.9/string:52,
                 from /usr/include/c++/4.9/stdexcept:39,
                 from /usr/include/c++/4.9/array:38,
                 from /usr/include/c++/4.9/tuple:39,
                 from /usr/include/c++/4.9/functional:55,
                 from /usr/include/c++/4.9/memory:79,
                 from /home/openhabian/.node-gyp/9.3.0/include/node/v8.h:21,
                 from /home/openhabian/.node-gyp/9.3.0/include/node/node.h:63,
                 from ../src/mdns.hpp:11,
                 from ../src/dns_sd.cpp:1:
/usr/include/arm-linux-gnueabihf/bits/stdlib-bsearch.h:43:0: error: unterminated argument list invoking macro "__nonnull"
 }
 ^
In file included from /usr/include/c++/4.9/cstdlib:72:0,
                 from /usr/include/c++/4.9/ext/string_conversions.h:41,
                 from /usr/include/c++/4.9/bits/basic_string.h:2850,
                 from /usr/include/c++/4.9/string:52,
                 from /usr/include/c++/4.9/stdexcept:39,
                 from /usr/include/c++/4.9/array:38,
                 from /usr/include/c++/4.9/tuple:39,
                 from /usr/include/c++/4.9/functional:55,
                 from /usr/include/c++/4.9/memory:79,
                 from /home/openhabian/.node-gyp/9.3.0/include/node/v8.h:21,
                 from /home/openhabian/.node-gyp/9.3.0/include/node/node.h:63,
                 from ../src/mdns.hpp:11,
                 from ../src/dns_sd.cpp:1:
/usr/include/stdlib.h:789:2: error: invalid preprocessing directive #entif
 #if (defined __USE_XOPEN_EXTENDED($& !`efined __USE_XOPEN2K8) 
  ^
/usr/include/stdlib.h:792:34: error: missing binary operator before token "("
    valid only until anOtxer call to tha same func▒ion.  */
                                  ^
/usr/include/stdlib.h:865:4: error: stray ‘10’ in program
 #ifdef __USE_SWMD
    ^
/usr/include/stdlib.h:866:1: error: stray ‘10’ in program
 /z Determine whetheR"the rtring value of RESPONSM matches the affirmation
 ^
In file included from /usr/include/c++/4.9/cstring:42:0,
                 from ../node_modules/nan/nan.h:51,
                 from ../src/mdns.hpp:12,
                 from ../src/dns_sd.cpp:1:
/usr/include/string.h:21:2: error: invalid preprocessing directive #i
 #i.cludg <features.h>
  ^
/usr/include/string.h:23:1: error: stray ‘305’ in program
 __B▒GIN_DECLS
 ^
/usr/include/string.h:84:1: error: stray ‘337’ in program
 __extern_always▒illine const vohd *
 ^
/usr/include/string.h:85:1: error: stray ‘343’ in program
 meichr (▒onst voif *[_y, ijt [_c,▒size_t __n) __THROW
 ^
/usr/include/string.h:85:1: error: stray ‘240’ in program
/usr/include/string.h:94:12: error: stray ‘@’ in program
 __END_NAMES@ACE_D
            ^
/usr/include/string.h:94:1: error: stray ‘23’ in program
 __END_NAMES@ACE_D
 ^
/usr/include/string.h:94:1: error: stray ‘’ in program
/usr/include/string.h:99:3: error: invalid preprocessing directive #▒
 # ▒gdef __CORREBT_ISO_CXP_STRING_H_PROTO
   ^
/usr/include/string.h:100:1: error: missing terminating " character
 extern "C++" void *rawmemchr"(void *__s( i.t _▒c)
 ^
/usr/include/string.h:101:6: error: stray ‘37’ in program
      __THROW _asm ("rawmemchr") __attribute_pureW_ __nonnull ((1));
      ^
/usr/include/string.h:102:1: error: stray ‘362’ in program
 extern "C++" const void *▒awmemci▒ (const void .__s, int __c)
 ^
/usr/include/string.h:102:1: error: stray ‘363’ in program
/usr/include/string.h:103:6: error: stray ‘37’ in program
      _THROW __asm ("rawmemchr") __attribute_pure__ __nonnull *(1));
      ^
/usr/include/string.h:495:4: error: invalid preprocessing directive #ib
 #  ib defined __OPTIMIZE__ &6 !defi.ed __CORRECT_ISO_CPP_STRINGS_H_PROTO
    ^
/usr/include/string.h:496:1: error: stray ‘362’ in program
 __ext%▒n_always_inline char$*
 ^
/usr/include/string.h:497:1: error: stray ‘`’ in program
 rindex`(char *__s, int __c) __UHSOW
 ^
/usr/include/string.h:499:3: error: stray ‘351’ in program
   return __bu▒ltin_rajdex (▒_s,(__c);
   ^
/usr/include/string.h:499:3: error: stray ‘335’ in program
/usr/include/string.h:503:1: error: stray ‘357’ in program
 rindex (c▒n▒t char *__s, int __c) __▒HROW
 ^
/usr/include/string.h:503:1: error: stray ‘363’ in program
/usr/include/string.h:503:1: error: stray ‘324’ in program
/usr/include/string.h:526:1: error: stray ‘370’ in program
 e▒tern ▒nt strcasecmp (bonst char *__C1, cgnst char *__s2)
 ^
/usr/include/string.h:526:1: error: stray ‘351’ in program
/usr/include/string.h:532:2: error: #endif without #if
 #endif /* Use BSD.  */
  ^
/usr/include/string.h:638:2: error: #endif without #if
 #endif /* string.h  */
  ^
In file included from /usr/include/c++/4.9/cstdlib:72:0,
                 from /usr/include/c++/4.9/ext/string_conversions.h:41,
                 from /usr/include/c++/4.9/bits/basic_string.h:2850,
                 from /usr/include/c++/4.9/string:52,
                 from /usr/include/c++/4.9/stdexcept:39,
                 from /usr/include/c++/4.9/array:38,
                 from /usr/include/c++/4.9/tuple:39,
                 from /usr/include/c++/4.9/functional:55,
                 from /usr/include/c++/4.9/memory:79,
                 from /home/openhabian/.node-gyp/9.3.0/include/node/v8.h:21,
                 from /home/openhabian/.node-gyp/9.3.0/include/node/node.h:63,
                 from ../src/mdns.hpp:11,
                 from ../src/dns_sd.cpp:1:
/usr/include/stdlib.h:145:1: error: ‘dxtern’ does not name a type
 dxtern`doUble atnb (const char *__nppr)
 ^
/usr/include/stdlib.h:149:6: error: expected ‘,’ or ‘...’ before ‘_’
      _THROW __attribute_puze__ __nonnull ((1)) __wur;
      ^
/usr/include/stdlib.h:149:54: error: expected ‘)’ before ‘;’ token
      _THROW __attribute_puze__ __nonnull ((1)) __wur;
                                                      ^
/usr/include/stdlib.h:158:32: error: expected initializer before ‘int’
 __extension__ extern`long lojg int atoll (co~st char *__nptr)
                                ^
/usr/include/stdlib.h:163:1: error: ‘__BEGI’ does not name a type
 __BEGI^_NAMEQPACEOSTD
 ^
/usr/include/stdlib.h:200:1: error: expected initializer before ‘__extension__’
 __extension__
 ^
/usr/include/stdlib.h:209:14: error: expected initializer before ‘-’ token
 extern long l-ng int strtoll (const char *__restricT __nptr,
              ^
../src/dns_sd.cpp:319:45: error: expected ‘}’ at end of input
 NODE_MODULE(dns_sd_bindings,node_mdns::init);
                                             ^
dns_sd_bindings.target.mk:150: recipe for target 'Release/obj.target/dns_sd_bindings/src/dns_sd.o' failed
make: *** [Release/obj.target/dns_sd_bindings/src/dns_sd.o] Error 1
make: Leaving directory '/usr/lib/node_modules/mdns/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack     at ChildProcess.emit (events.js:159:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)
gyp ERR! System Linux 4.9.35-v7+
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/lib/node_modules/mdns
gyp ERR! node -v v9.3.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! mdns@2.3.4 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mdns@2.3.4 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

libavahi-compat-libdnssd-dev is also installed.

Any ideas?

ElwooD07

0 / 1 / 0

Регистрация: 01.02.2012

Сообщений: 16

1

04.02.2012, 15:43. Показов 25590. Ответов 3

Метки нет (Все метки)


Не пойму что за ошибка! Ввел обычное перечисление, и всплыла эта непонятная ошибка. Если закомментировать enum, то всё впорядке. Что это значит?
Заранее спасибо.

C++
1
2
enum motherboard_formfactor_enum {
    mff_ATX, mff_microATX, mff_FlexÀÒÕ, mff_NLX, mff_WTX, mff_CEB };

71 F:Dev-CppProjs1pr1.cpp stray ‘192’ in program
71 F:Dev-CppProjs1pr1.cpp stray ‘210’ in program
71 F:Dev-CppProjs1pr1.cpp stray ‘213’ in program

__________________
Помощь в написании контрольных, курсовых и дипломных работ, диссертаций здесь



0



2018 / 1617 / 489

Регистрация: 31.05.2009

Сообщений: 3,005

04.02.2012, 15:54

2

В mff_FlexАТХ ATX у вас написано кириллицей.



0



go

Эксперт С++

3645 / 1377 / 243

Регистрация: 16.04.2009

Сообщений: 4,526

04.02.2012, 15:59

3

ElwooD07, попробуй так

C++
1
2
enum motheard_formfactor_enum {
        mff_ATX, mff_microATX, mff_FlexATX, mff_NLX, mff_WTX, mff_CEB };

http://liveworkspace.org/code/… c2ca18184b



0



0 / 1 / 0

Регистрация: 01.02.2012

Сообщений: 16

04.02.2012, 17:15

 [ТС]

4

Я кажется понял: это символы в коде нестандартные, т.к. я их методом Copy/Paste вставлял. Спасибо в любом случае!



0



View previous topic :: View next topic  
Author Message
3psus
n00b
n00b

Joined: 29 Jul 2015
Posts: 9

PostPosted: Wed Jul 29, 2015 3:27 am    Post subject: Problem with GCC4.8.4 — LLVM-3.5.0 can’t find C++11 capable Reply with quote

Hi!

As you can see, this is my first post! I have been trying to work with gentoo for the last couple days hitting different problems and solving them with the help of old posts. Now though, I cannot find the way to go through this one.

After compiling the kernel, I am not able to emerge x11-base/xorg-server for it complains that it cannot find a C++11 capable compiler.

Code:
gcc-config -l

returned

Code:
x86_64-pc-linux-gnu-4.8.4

Hopefully somebody can guide me a bit. Here is the error:

Code:
>>> Running pre-merge checks for sys-devel/llvm-3.5.0

 * Checking for at least 550 MiB disk space at «/var/tmp/portage/sys-devel/llvm-3.5.0/temp» [ ok ]

 * Trying to build a C++11 test program …

x86_64-pc-linux-gnu-g++: error trying to exec ‘/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/as’: execv: Exec format error

 * LLVM-3.5.0 requires C++11-capable C++ compiler. Your current compiler

 * does not seem to support -std=c++11 option. Please upgrade your compiler

 * to gcc-4.7 or an equivalent version supporting C++11.

 * ERROR: sys-devel/llvm-3.5.0::gentoo failed (pretend phase):

 *   Currently active compiler does not support -std=c++11

 *

 * Call stack:

 *           ebuild.sh, line  93:  Called pkg_pretend

 *   llvm-3.5.0.ebuild, line 119:  Called die

 * The specific snippet of code:

 *            die «Currently active compiler does not support -std=c++11»

 *

 * If you need support, post the output of `emerge —info ‘=sys-devel/llvm-3.5.0::gentoo’`,

 * the complete build log and the output of `emerge -pqv ‘=sys-devel/llvm-3.5.0::gentoo’`.

 * The complete build log is located at ‘/var/tmp/portage/sys-devel/llvm-3.5.0/temp/build.log’.

 * The ebuild environment file is located at ‘/var/tmp/portage/sys-devel/llvm-3.5.0/temp/die.env’.

 * Working directory: ‘/usr/lib64/python2.7/site-packages’

 * S: ‘/var/tmp/portage/sys-devel/llvm-3.5.0/work/llvm-3.5.0.src’

>>> Running pre-merge checks for x11-base/xorg-server-1.16.4

>>> Running pre-merge checks for x11-drivers/xf86-input-evdev-2.9.1

 * Determining the location of the kernel source code

 * Found kernel source directory:

 *     /usr/src/linux

 * Found sources for kernel version:

 *     4.0.5-gentooGab28072015

 * Checking for suitable kernel configuration options…                                    [ ok ]

>>> Running pre-merge checks for x11-drivers/xf86-video-ati-7.5.0

 * Determining the location of the kernel source code

 * Found kernel source directory:

 *     /usr/src/linux

 * Found sources for kernel version:

 *     4.0.5-gentooGab28072015

 * Checking for suitable kernel configuration options…

 *   CONFIG_FB_RADEON:    should not be set. But it is.

 * Please check to make sure these options are set correctly.

 * Failure to do so may cause unexpected problems.

emerge —info:

Code:
!!! SYNC setting found in make.conf.

    This setting is Deprecated and no longer used.  Please ensure your ‘sync-type’ and ‘sync-uri’ are set correctly in /etc/portage/repos.conf/gentoo.conf

Portage 2.2.20 (python 2.7.9-final-0, default/linux/amd64/13.0, gcc-4.8.4, glibc-2.20-r2, 4.0.5-gentooGab28072015 x86_64)

=================================================================

                         System Settings

=================================================================

System uname: Linux-4.0.5-gentooGab28072015-x86_64-AMD_Athlon-tm-_II_X2_250_Processor-with-gentoo-2.2

KiB Mem:     8140256 total,   7458716 free

KiB Swap:    9081852 total,   9081852 free

Timestamp of repository gentoo: Tue, 28 Jul 2015 00:45:01 +0000

sh bash 4.3_p33-r2

ld GNU ld (Gentoo 2.24 p1.4) 2.24

app-shells/bash:          4.3_p33-r2::gentoo

dev-lang/perl:            5.20.2::gentoo

dev-lang/python:          2.7.9-r1::gentoo, 3.3.5-r1::gentoo

dev-util/pkgconfig:       0.28-r2::gentoo

sys-apps/baselayout:      2.2::gentoo

sys-apps/openrc:          0.17::gentoo

sys-apps/sandbox:         2.6-r1::gentoo

sys-devel/autoconf:       2.69::gentoo

sys-devel/automake:       1.15::gentoo

sys-devel/binutils:       2.24-r3::gentoo

sys-devel/gcc:            4.8.4::gentoo

sys-devel/gcc-config:     1.7.3::gentoo

sys-devel/libtool:        2.4.6::gentoo

sys-devel/make:           4.1-r1::gentoo

sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)

sys-libs/glibc:           2.20-r2::gentoo

Repositories:

gentoo

    location: /usr/portage

    sync-type: rsync

    sync-uri: rsync://rsync.gentoo.org/gentoo-portage

    priority: -1000

ACCEPT_KEYWORDS=»amd64″

ACCEPT_LICENSE=»* -@EULA»

CBUILD=»x86_64-pc-linux-gnu»

CFLAGS=»-O2 -pipe»

CHOST=»x86_64-pc-linux-gnu»

CONFIG_PROTECT=»/etc»

CONFIG_PROTECT_MASK=»/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo»

CXXFLAGS=»-O2 -pipe»

DISTDIR=»/usr/portage/distfiles»

FCFLAGS=»-O2 -pipe»

FEATURES=»assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync»

FFLAGS=»-O2 -pipe»

GENTOO_MIRRORS=»http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.mirrors.tera-byte.com/ http://gentoo.gossamerhost.com»

LANG=»en_US.utf8″

LDFLAGS=»-Wl,-O1 -Wl,—as-needed»

MAKEOPTS=»-j2″

PKGDIR=»/usr/portage/packages»

PORTAGE_CONFIGROOT=»/»

PORTAGE_RSYNC_OPTS=»—recursive —links —safe-links —perms —times —omit-dir-times —compress —force —whole-file —delete —stats —human-readable —timeout=180 —exclude=/distfiles —exclude=/local —exclude=/packages»

PORTAGE_TMPDIR=»/var/tmp»

USE=»acl amd64 berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 mmx mmxext modules multilib ncurses nls nptl openmp pam pcre readline session sse sse2 ssl tcpd unicode zlib» ABI_X86=»64″ ALSA_CARDS=»ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci» APACHE2_MODULES=»authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias» CALLIGRA_FEATURES=»kexi words flow plan sheets stage tables krita karbon braindump author» CAMERAS=»ptp2″ COLLECTD_PLUGINS=»df interface irq load memory rrdtool swap syslog» CPU_FLAGS_X86=»mmx mmxext sse sse2″ ELIBC=»glibc» GPSD_PROTOCOLS=»ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx» INPUT_DEVICES=»evdev» KERNEL=»linux» LCD_DEVICES=»bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text» LIBREOFFICE_EXTENSIONS=»presenter-console presenter-minimizer» OFFICE_IMPLEMENTATION=»libreoffice» PHP_TARGETS=»php5-5″ PYTHON_SINGLE_TARGET=»python2_7″ PYTHON_TARGETS=»python2_7 python3_4″ RUBY_TARGETS=»ruby19 ruby20″ USERLAND=»GNU» VIDEO_CARDS=»radeon» XTABLES_ADDONS=»quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account»

Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

Thanks in advance :)

3psus

Back to top

View user's profile Send private message

3psus
n00b
n00b

Joined: 29 Jul 2015
Posts: 9

PostPosted: Wed Jul 29, 2015 3:44 am    Post subject: Reply with quote

Actually, it seems I can’t emerge anything at all.

Code:
>>> Failed to emerge dev-libs/apr-1.5.2, Log file:

>>>  ‘/var/tmp/portage/dev-libs/apr-1.5.2/temp/build.log’

 * Messages for package dev-libs/apr-1.5.2:

 * Failed Running aclocal !

 *

 * Include in your bugreport the contents of:

 *

 *   /var/tmp/portage/dev-libs/apr-1.5.2/temp/aclocal.out

 * ERROR: dev-libs/apr-1.5.2::gentoo failed (prepare phase):

 *   Failed Running aclocal !

 *

 * Call stack:

 *     ebuild.sh, line   93:  Called src_prepare

 *   environment, line 2675:  Called eautoreconf

 *   environment, line  834:  Called eaclocal

 *   environment, line  729:  Called autotools_run_tool ‘—at-m4flags’ ‘aclocal’

 *   environment, line  598:  Called die

 * The specific snippet of code:

 *           die «Failed Running $1 !»;

 *

 * If you need support, post the output of `emerge —info ‘=dev-libs/apr-1.5.2::gentoo’`,

 * the complete build log and the output of `emerge -pqv ‘=dev-libs/apr-1.5.2::gentoo’`.

 * The complete build log is located at ‘/var/tmp/portage/dev-libs/apr-1.5.2/temp/build.log’.

 * The ebuild environment file is located at ‘/var/tmp/portage/dev-libs/apr-1.5.2/temp/environment’.

 * Working directory: ‘/var/tmp/portage/dev-libs/apr-1.5.2/work/apr-1.5.2’

 * S: ‘/var/tmp/portage/dev-libs/apr-1.5.2/work/apr-1.5.2’

And emerge —info again:

Code:
emerge —info ‘=dev-libs/apr-1.5.2::gentoo’

!!! SYNC setting found in make.conf.

    This setting is Deprecated and no longer used.  Please ensure your ‘sync-type’ and ‘sync-uri’ are set correctly in /etc/portage/repos.conf/gentoo.conf

Portage 2.2.20 (python 2.7.9-final-0, default/linux/amd64/13.0, gcc-4.8.4, glibc-2.20-r2, 4.0.5-gentooGab28072015 x86_64)

=================================================================

                         System Settings

=================================================================

System uname: Linux-4.0.5-gentooGab28072015-x86_64-AMD_Athlon-tm-_II_X2_250_Processor-with-gentoo-2.2

KiB Mem:     8140256 total,   7437652 free

KiB Swap:    9081852 total,   9081852 free

Timestamp of repository gentoo: Tue, 28 Jul 2015 00:45:01 +0000

sh bash 4.3_p33-r2

ld GNU ld (Gentoo 2.24 p1.4) 2.24

app-shells/bash:          4.3_p33-r2::gentoo

dev-lang/perl:            5.20.2::gentoo

dev-lang/python:          2.7.9-r1::gentoo, 3.3.5-r1::gentoo

dev-util/pkgconfig:       0.28-r2::gentoo

sys-apps/baselayout:      2.2::gentoo

sys-apps/openrc:          0.17::gentoo

sys-apps/sandbox:         2.6-r1::gentoo

sys-devel/autoconf:       2.69::gentoo

sys-devel/automake:       1.15::gentoo

sys-devel/binutils:       2.24-r3::gentoo

sys-devel/gcc:            4.8.4::gentoo

sys-devel/gcc-config:     1.7.3::gentoo

sys-devel/libtool:        2.4.6::gentoo

sys-devel/make:           4.1-r1::gentoo

sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)

sys-libs/glibc:           2.20-r2::gentoo

Repositories:

gentoo

    location: /usr/portage

    sync-type: rsync

    sync-uri: rsync://rsync.gentoo.org/gentoo-portage

    priority: -1000

ACCEPT_KEYWORDS=»amd64″

ACCEPT_LICENSE=»* -@EULA»

CBUILD=»x86_64-pc-linux-gnu»

CFLAGS=»-march=native -O2 -pipe»

CHOST=»x86_64-pc-linux-gnu»

CONFIG_PROTECT=»/etc»

CONFIG_PROTECT_MASK=»/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo»

CXXFLAGS=»-march=native -O2 -pipe»

DISTDIR=»/usr/portage/distfiles»

FCFLAGS=»-O2 -pipe»

FEATURES=»assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync»

FFLAGS=»-O2 -pipe»

GENTOO_MIRRORS=»http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.mirrors.tera-byte.com/ http://gentoo.gossamerhost.com»

LANG=»en_US.utf8″

LDFLAGS=»-Wl,-O1 -Wl,—as-needed»

MAKEOPTS=»-j2″

PKGDIR=»/usr/portage/packages»

PORTAGE_CONFIGROOT=»/»

PORTAGE_RSYNC_OPTS=»—recursive —links —safe-links —perms —times —omit-dir-times —compress —force —whole-file —delete —stats —human-readable —timeout=180 —exclude=/distfiles —exclude=/local —exclude=/packages»

PORTAGE_TMPDIR=»/var/tmp»

USE=»acl amd64 berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 mmx mmxext modules multilib ncurses nls nptl openmp pam pcre readline session sse sse2 ssl tcpd unicode zlib» ABI_X86=»64″ ALSA_CARDS=»ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci» APACHE2_MODULES=»authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias» CALLIGRA_FEATURES=»kexi words flow plan sheets stage tables krita karbon braindump author» CAMERAS=»ptp2″ COLLECTD_PLUGINS=»df interface irq load memory rrdtool swap syslog» CPU_FLAGS_X86=»mmx mmxext sse sse2″ ELIBC=»glibc» GPSD_PROTOCOLS=»ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx» INPUT_DEVICES=»evdev» KERNEL=»linux» LCD_DEVICES=»bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text» LIBREOFFICE_EXTENSIONS=»presenter-console presenter-minimizer» OFFICE_IMPLEMENTATION=»libreoffice» PHP_TARGETS=»php5-5″ PYTHON_SINGLE_TARGET=»python2_7″ PYTHON_TARGETS=»python2_7 python3_4″ RUBY_TARGETS=»ruby19 ruby20″ USERLAND=»GNU» VIDEO_CARDS=»radeon» XTABLES_ADDONS=»quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account»

Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

Back to top

View user's profile Send private message

3psus
n00b
n00b

Joined: 29 Jul 2015
Posts: 9

PostPosted: Wed Jul 29, 2015 3:56 am    Post subject: Reply with quote

I am guessing an important module is not loaded, or something missing or not compiled correctly in Kernel… :|
Back to top

View user's profile Send private message

ian.au
Guru
Guru

Joined: 07 Apr 2011
Posts: 573
Location: Australia

PostPosted: Wed Jul 29, 2015 4:48 am    Post subject: Reply with quote

It never, ever pays to guess :)

That said, before making a guess of my own:

What does:

Code:
gcc —version

return?

Back to top

View user's profile Send private message

Buffoon
Veteran
Veteran

Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Wed Jul 29, 2015 11:04 am    Post subject: Reply with quote

Code:
emerge -pv gcc



Is cxx USE flag enabled?

Back to top

View user's profile Send private message

3psus
n00b
n00b

Joined: 29 Jul 2015
Posts: 9

PostPosted: Wed Jul 29, 2015 1:42 pm    Post subject: Reply with quote

ian.au wrote:
It never, ever pays to guess :)

That said, before making a guess of my own:

What does:

Code:
gcc —version

return?



Hi ian.au, thx for your help :)

gcc —version:

Code:
 gcc (Gentoo 4.8.4 p1.6, pie-0.6.1) 4.8.4

Copyright (C) 2013 Free Software Foundation, Inc.

This is free software; see the source for copying conditions.  There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Buffoon wrote:
Code:
emerge -pv gcc



Is cxx USE flag enabled?

Hi Buffoon, also thx for your help!

Yes, it is enabled:

Code:
 Gentoo ~ # emerge -pv gcc

!!! SYNC setting found in make.conf.

    This setting is Deprecated and no longer used.  Please ensure your ‘sync-type’ and ‘sync-uri’ are set correctly in /etc/portage/repos.conf/gentoo.conf

These are the packages that would be merged, in order:

Calculating dependencies… done!

[ebuild   R    ] sys-devel/gcc-4.8.4:4.8::gentoo  USE=»cxx fortran (multilib) nls nptl openmp sanitize (-altivec) (-awt) -debug -doc (-fixed-point) -gcj -go -graphite (-hardened) (-libssp) -mudflap (-multislot) -nopie -nossp -objc -objc++ -objc-gc -regression-test -vanilla» 84,244 KiB

Total: 1 package (1 reinstall), Size of downloads: 84,244 KiB

 * IMPORTANT: 13 news items need reading for repository ‘gentoo’.

 * Use eselect news read to view new items.

I should emphasize the fact that I am actually unable to emerge anything and it seems the system can’t make at all.

Back to top

View user's profile Send private message

ian.au
Guru
Guru

Joined: 07 Apr 2011
Posts: 573
Location: Australia

PostPosted: Wed Jul 29, 2015 1:50 pm    Post subject: Reply with quote

Okay it’s installed, is it selected? Is there an * indicating the selected compiler is active?

Quote:
ian@ls2 ~ $ gcc-config -l

[1] x86_64-pc-linux-gnu-4.8.4

[2] x86_64-pc-linux-gnu-4.9.3 *

Back to top

View user's profile Send private message

Buffoon
Veteran
Veteran

Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Wed Jul 29, 2015 1:58 pm    Post subject: Reply with quote

It is selected alright, it is showing up in emerge —info.

Code:
x86_64-pc-linux-gnu-g++: error trying to exec ‘/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/as’: execv: Exec format error

This is the problem, some sort of ABI mismatch probably, never had this one myself, if I had I’d rebuild gcc and libtool for starters.

Back to top

View user's profile Send private message

ian.au
Guru
Guru

Joined: 07 Apr 2011
Posts: 573
Location: Australia

PostPosted: Wed Jul 29, 2015 2:14 pm    Post subject: Reply with quote

@Bufoon I saw that in the emerge info, but not in the op code quote for the gcc-config list. I had to ask.

@3psus could you

Code:
eselect python list

and paste here, and also /etc/portage/make.conf

Back to top

View user's profile Send private message

3psus
n00b
n00b

Joined: 29 Jul 2015
Posts: 9

PostPosted: Wed Jul 29, 2015 2:22 pm    Post subject: Reply with quote

Buffoon wrote:
It is selected alright, it is showing up in emerge —info.

Code:
x86_64-pc-linux-gnu-g++: error trying to exec ‘/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/as’: execv: Exec format error

This is the problem, some sort of ABI mismatch probably, never had this one myself, if I had I’d rebuild gcc and libtool for starters.

I will try that.

When I emerge —ask net-analyser/iptraf-ng

I get a bunch of errors I do not understand (I am copy/pasting parts of it, or we would get an infinite scroll:

Code:

>>> Emerging (1 of 1) net-analyzer/iptraf-ng-1.1.4-r1::gentoo

 * iptraf-ng-1.1.4.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) …                   [ ok ]

>>> Unpacking source…

>>> Unpacking iptraf-ng-1.1.4.tar.gz to /var/tmp/portage/net-analyzer/iptraf-ng-1.1.4-r1/work

>>> Source unpacked in /var/tmp/portage/net-analyzer/iptraf-ng-1.1.4-r1/work

>>> Preparing source in /var/tmp/portage/net-analyzer/iptraf-ng-1.1.4-r1/work/iptraf-ng-1.1.4 …

 * Applying iptraf-ng-1.1.4-tcplog_flowrate_msg.patch …                        [ ok ]

>>> Source prepared.

>>> Configuring source in /var/tmp/portage/net-analyzer/iptraf-ng-1.1.4-r1/work/iptraf-ng-1.1.4 …

>>> Source configured.

>>> Compiling source in /var/tmp/portage/net-analyzer/iptraf-ng-1.1.4-r1/work/iptraf-ng-1.1.4 …

make -j2

IPTRAF_VERSION = 1.1.4

x86_64-pc-linux-gnu-gcc -o src/tui/input.o -c  -I/usr/include/ncursesw  -O2 -pipe -DLOCKDIR=»/run/lock/iptraf-ng» -Wall -W -std=gnu99 -I. -Isrc/  src/tui/input.c

x86_64-pc-linux-gnu-gcc -o src/tui/labels.o -c  -I/usr/include/ncursesw  -O2 -pipe -DLOCKDIR=»/run/lock/iptraf-ng» -Wall -W -std=gnu99 -I. -Isrc/  src/tui/labels.c

x86_64-pc-linux-gnu-gcc: error trying to exec ‘/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/as’: execv: Exec format error

x86_64-pc-linux-gnu-gcc: error trying to exec ‘/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/as’: execv: Exec format error

In file included from /usr/include/asm/errno.h:1:0,

                 from /usr/include/linux/errno.h:1,

                 from /usr/include/bits/errno.h:24,

                 from /usr/include/errno.h:35,

                 from src/iptraf-ng-compat.h:12,

                 from src/tui/input.c:10:

/usr/include/asm-generic/errno.h:1:1: error: stray ‘303’ in program

 ÍB?E

     ??ێ????8ࠚ5?

 ^

/usr/include/asm-generic/errno.h:1:1: error: stray ‘215’ in program

/usr/include/asm-generic/errno.h:1:1: error: stray ‘35’ in program

/usr/include/asm-generic/errno.h:1:1: error: stray ‘272’ in program

/usr/include/asm-generic/errno.h:1:4: error: unknown type name ‘B’

 ÍB?E

     ??ێ????8ࠚ5?

    ^

/usr/include/asm-generic/errno.h:1:1: error: stray ‘312’ in program

 ÍB?E

     ??ێ????8ࠚ5?

 ^

/usr/include/asm-generic/errno.h:1:1: error: stray ‘347’ in program

/usr/include/asm-generic/errno.h:1:1: error: stray ‘207’ in program

/usr/include/asm-generic/errno.h:1:11: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘^’ token

 ÍB?E

     ??ێ????8ࠚ5?

           ^


Code:

/usr/include/asm-generic/errno.h:3:1: error: stray ‘6’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘201’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘366’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘7’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘273’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘313’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘377’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘304’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘366’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘340’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘16’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘215’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘204’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘322’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘306’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘22’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘212’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘242’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘35’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘37’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘10’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘252’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘207’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘333’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘327’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘226’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘4’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘262’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘360’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘347’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘37’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘2’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘17’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘25’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘344’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘251’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘304’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘35’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘237’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘277’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘340’ in program

In file included from /usr/include/asm/errno.h:1:0,

                 from /usr/include/linux/errno.h:1,

                 from /usr/include/bits/errno.h:24,

                 from /usr/include/errno.h:35,

                 from src/iptraf-ng-compat.h:12,

                 from src/tui/input.c:10:

/usr/include/asm-generic/errno.h:3:244: error: stray ‘@’ in program

 _??Osv2j?8??xo??b????’???qO?

??9??44?{?                   ??Nw@?:q?’??#?q᪼???w???/qz? N?,?$/?>


Code:

/usr/include/asm-generic/socket.h:2:1: error: stray ‘375’ in program

/usr/include/asm-generic/socket.h:2:1: error: stray ‘223’ in program

/usr/include/asm-generic/socket.h:2:1: error: stray ‘364’ in program

/usr/include/asm-generic/socket.h:2:1: error: stray ‘207’ in program

/usr/include/asm-generic/socket.h:2:1: error: stray ‘341’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘6’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘201’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘366’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘7’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘273’ in program

/usr/include/asm-generic/socket.h:2:1: error: stray ‘254’ in program

/usr/include/asm-generic/socket.h:2:1: error: stray ‘335’ in program

/usr/include/asm-generic/socket.h:2:1: error: stray ‘302’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘313’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘377’ in program

/usr/include/asm-generic/socket.h:2:1: error: stray ‘265’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘304’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘366’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘340’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘16’ in program

/usr/include/asm-generic/socket.h:2:1: error: stray ‘4’ in program

/usr/include/asm-generic/socket.h:2:1: error: stray ‘207’ in program

/usr/include/asm-generic/socket.h:2:1: error: stray ‘316’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘215’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘204’ in program

/usr/include/asm-generic/socket.h:2:1: error: stray ‘371’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘322’ in program

/usr/include/asm-generic/socket.h:2:1: error: stray ‘24’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘306’ in program

/usr/include/asm-generic/socket.h:2:1: error: stray ‘234’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘22’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘212’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘242’ in program

/usr/include/asm-generic/socket.h:2:1: error: stray ‘335’ in program

/usr/include/asm-generic/socket.h:2:1: error: stray ‘310’ in program

/usr/include/asm-generic/socket.h:2:1: error: stray ‘’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘35’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘37’ in program

/usr/include/asm-generic/socket.h:2:1: error: stray ‘353’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘10’ in program

/usr/include/asm-generic/socket.h:2:1: error: stray ‘243’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘252’ in program

/usr/include/asm-generic/socket.h:2:1: error: stray ‘342’ in program

/usr/include/asm-generic/socket.h:2:1: error: stray ‘302’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘207’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘333’ in program

/usr/include/asm-generic/socket.h:2:1: error: stray ‘267’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘327’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘226’ in program

/usr/include/asm-generic/socket.h:2:1: error: stray ‘26’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘4’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘262’ in program

/usr/include/asm-generic/socket.h:2:1: error: stray ‘304’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘360’ in program

/usr/include/asm-generic/socket.h:2:1: error: stray ‘317’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘347’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘37’ in program

/usr/include/asm-generic/socket.h:2:1: error: stray ‘212’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘2’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘17’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘25’ in program

/usr/include/asm-generic/socket.h:2:1: error: stray ‘227’ in program

/usr/include/asm-generic/socket.h:2:1: error: stray ‘322’ in program

/usr/include/asm-generic/socket.h:2:1: error: stray ‘31’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘344’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘251’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘304’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘35’ in program

/usr/include/asm-generic/socket.h:2:1: error: stray ‘225’ in program

/usr/include/asm-generic/socket.h:2:1: error: stray ‘31’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘237’ in program

/usr/include/asm-generic/socket.h:2:1: error: stray ‘343’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘277’ in program

/usr/include/asm-generic/errno.h:3:1: error: stray ‘340’ in program

/usr/include/asm-generic/socket.h:2:1: error: stray ‘326’ in program

/usr/include/asm-generic/socket.h:2:1: error: stray ‘21’ in program

/usr/include/asm-generic/socket.h:2:1: error: stray ‘265’ in program

/usr/include/asm-generic/socket.h:2:1: error: stray ‘340’ in program

/usr/include/asm-generic/socket.h:2:1: error: stray ‘`’ in program

In file included from /usr/include/asm/errno.h:1:0,

                 from /usr/include/linux/errno.h:1,

                 from /usr/include/bits/errno.h:24,

                 from /usr/include/errno.h:35,

                 from src/iptraf-ng-compat.h:12,

                 from src/tui/labels.c:9:

/usr/include/asm-generic/errno.h:3:244: error: stray ‘@’ in program

 _??Osv2j?8??xo??b????’???qO?

??9??44?{?                   ??Nw@?:q?’??#?q᪼???w???/qz? N?,?$/?>


Code:

/usr/include/asm-generic/ioctl.h:3:1: error: stray ‘17’ in program

/usr/include/asm-generic/ioctl.h:3:1: error: stray ‘20’ in program

/usr/include/asm-generic/socket.h:15:1: error: stray ‘362’ in program

/usr/include/asm-generic/ioctl.h:3:1: error: stray ‘365’ in program

/usr/include/asm-generic/socket.h:15:1: error: stray ‘312’ in program

/usr/include/asm-generic/ioctl.h:3:1: error: stray ‘200’ in program

/usr/include/asm-generic/socket.h:15:1: error: stray ‘377’ in program

/usr/include/asm-generic/socket.h:15:1: error: stray ‘204’ in program

/usr/include/asm-generic/ioctl.h:3:1: error: stray ‘207’ in program

/usr/include/asm-generic/ioctl.h:3:1: error: stray ‘245’ in program

/usr/include/asm-generic/socket.h:15:1: error: stray ‘267’ in program

/usr/include/asm-generic/socket.h:15:1: error: stray ‘221’ in program

/usr/include/asm-generic/ioctl.h:3:1: error: stray ‘22’ in program

/usr/include/asm-generic/ioctl.h:3:1: error: stray ‘361’ in program

/usr/include/asm-generic/socket.h:15:1: error: stray ‘352’ in program

/usr/include/asm-generic/ioctl.h:3:1: error: stray ‘275’ in program

/usr/include/asm-generic/socket.h:15:1: error: stray ‘274’ in program

/usr/include/asm-generic/socket.h:15:1: error: stray ‘340’ in program

/usr/include/asm-generic/ioctl.h:3:1: error: stray ‘236’ in program

/usr/include/asm-generic/ioctl.h:3:1: error: stray ‘375’ in program

/usr/include/asm-generic/ioctl.h:3:1: error: stray ‘347’ in program

/usr/include/asm-generic/ioctl.h:3:1: error: stray ‘31’ in program

/usr/include/asm-generic/ioctl.h:3:1: error: stray ‘240’ in program

/usr/include/asm-generic/socket.h:15:1: error: stray ‘266’ in program

/usr/include/asm-generic/socket.h:15:1: error: stray ‘237’ in program

/usr/include/asm-generic/ioctl.h:3:1: error: stray ‘367’ in program

/usr/include/asm-generic/socket.h:15:1: error: stray ‘26’ in program

/usr/include/asm-generic/ioctl.h:3:1: error: stray ‘270’ in program

/usr/include/asm-generic/socket.h:15:1: error: stray ‘37’ in program

/usr/include/asm-generic/ioctl.h:3:1: error: stray ‘237’ in program

/usr/include/asm-generic/socket.h:15:1: error: stray ‘342’ in program

/usr/include/asm-generic/ioctl.h:3:1: error: stray ‘220’ in program

/usr/include/asm-generic/socket.h:15:1: error: stray ‘307’ in program

/usr/include/asm-generic/socket.h:15:1: error: stray ‘274’ in program

/usr/include/asm-generic/ioctl.h:3:1: error: stray ‘346’ in program

/usr/include/asm-generic/socket.h:15:1: error: stray ‘273’ in program

/usr/include/asm-generic/ioctl.h:3:1: error: stray ‘374’ in program

/usr/include/asm-generic/socket.h:15:1: error: stray ‘370’ in program

/usr/include/asm-generic/ioctl.h:3:1: error: stray ‘363’ in program

/usr/include/asm-generic/socket.h:15:1: error: stray ‘245’ in program


Code:

/usr/include/asm-generic/types.h:1:1: error: stray ‘275’ in program

/usr/include/asm-generic/types.h:1:1: error: stray ‘343’ in program

/usr/include/asm-generic/types.h:1:1: error: stray ‘345’ in program

/usr/include/asm-generic/types.h:1:1: error: stray ‘371’ in program

/usr/include/asm-generic/types.h:1:1: error: stray ‘257’ in program

/usr/include/asm-generic/types.h:1:1: error: stray ‘342’ in program

/usr/include/asm-generic/types.h:1:1: error: stray ‘367’ in program

/usr/include/asm-generic/types.h:1:1: error: stray ‘307’ in program

/usr/include/asm-generic/types.h:1:1: error: stray ‘266’ in program

/usr/include/asm-generic/types.h:1:1: error: stray ‘276’ in program

/usr/include/asm-generic/types.h:1:1: error: stray ‘376’ in program

/usr/include/asm-generic/types.h:1:1: error: stray ‘364’ in program

/usr/include/asm-generic/types.h:1:1: error: stray ‘224’ in program

/usr/include/asm-generic/types.h:1:18: error: stray ‘@’ in program

/usr/include/asm-generic/types.h:1:1: error: stray ‘220’ in program

/usr/include/asm-generic/types.h:1:1: error: stray ‘220’ in program

/usr/include/asm-generic/types.h:1:1: error: stray ‘32’ in program

/usr/include/asm-generic/types.h:1:1: error: stray ‘200’ in program

/usr/include/asm-generic/types.h:1:1: error: stray ‘31’ in program

/usr/include/asm-generic/types.h:1:1: error: stray ‘30’ in program

/usr/include/asm-generic/types.h:1:1: error: stray ‘200’ in program

/usr/include/asm-generic/types.h:1:1: error: stray ‘3’ in program

/usr/include/asm-generic/types.h:1:1: error: stray ‘334’ in program

/usr/include/asm-generic/types.h:1:1: error: stray ‘36’ in program

/usr/include/asm-generic/types.h:1:1: error: stray ‘262’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘2’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘256’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘311’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘274’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘21’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘312’ in program

/usr/include/asm-generic/types.h:2:9: error: invalid suffix «C» on integer constant

/usr/include/asm-generic/types.h:2:1: error: stray ‘363’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘302’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘26’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘245’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘27’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘202’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘370’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘36’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘373’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘356’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘354’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘235’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘36’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘310’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘331’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘373’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘206’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘311’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘300’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘225’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘254’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘257’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘27’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘201’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘324’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘31’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘224’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘346’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘237’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘31’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘231’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘237’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘342’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘234’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘201’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘324’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘245’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘24’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘214’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘332’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘356’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘206’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘217’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘260’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘367’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘334’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘327’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘310’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘303’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘5’ in program

/usr/include/asm-generic/types.h:2:82: error: invalid suffix «b» on integer constant

/usr/include/asm-generic/types.h:2:1: error: stray ‘201’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘314’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘366’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘217’ in program

/usr/include/asm-generic/types.h:2:1: error: stray ‘272’ in program

/usr/include/asm-generic/types.h:3:1: error: stray ‘34’ in program

/usr/include/asm-generic/types.h:3:1: error: stray ‘244’ in program

/usr/include/asm-generic/types.h:3:1: error: stray ‘221’ in program

/usr/include/asm-generic/types.h:3:1: error: stray ‘311’ in program

/usr/include/asm-generic/types.h:3:1: error: stray ‘363’ in program

/usr/include/asm-generic/types.h:3:1: error: stray ‘203’ in program

/usr/include/asm-generic/types.h:3:1: error: stray ‘372’ in program

/usr/include/asm-generic/types.h:3:1: error: stray ‘236’ in program

/usr/include/asm-generic/types.h:3:1: error: stray ‘325’ in program

/usr/include/asm-generic/types.h:3:1: error: stray ‘257’ in program

/usr/include/asm-generic/types.h:3:1: error: stray ‘304’ in program

/usr/include/asm-generic/types.h:3:1: error: stray ‘33’ in program

/usr/include/asm-generic/types.h:3:1: error: stray ‘224’ in program

/usr/include/asm-generic/types.h:3:1: error: stray ‘307’ in program

/usr/include/asm-generic/types.h:3:1: error: stray ‘266’ in program

/usr/include/asm-generic/types.h:3:1: error: stray ‘246’ in program

/usr/include/asm-generic/types.h:3:1: error: stray ‘341’ in program

/usr/include/asm-generic/types.h:3:1: error: stray ‘241’ in program

/usr/include/asm-generic/types.h:3:1: error: stray ‘224’ in program

/usr/include/asm-generic/types.h:3:1: error: stray ‘24’ in program

/usr/include/asm-generic/types.h:3:1: error: stray ‘301’ in program

/usr/include/asm-generic/types.h:3:1: error: stray ‘243’ in program

In file included from /usr/include/asm/posix_types_64.h:17:0,

                 from /usr/include/asm/posix_types.h:6,

                 from /usr/include/linux/posix_types.h:35,

                 from /usr/include/linux/types.h:8,

                 from /usr/include/linux/if_ether.h:24,

                 from src/iptraf-ng-compat.h:39,

                 from src/tui/input.c:10:



Code:

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘341’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘323’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘270’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘303’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘215’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘32’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘220’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘332’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘373’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘233’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘216’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘272’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘203’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘364’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘265’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘373’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘214’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘305’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘334’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘265’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘236’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘316’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘336’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘254’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘264’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘263’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘36’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘350’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘234’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘352’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘342’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘236’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘277’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘256’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘244’ in program

In file included from /usr/include/asm/posix_types_64.h:17:0,

                 from /usr/include/asm/posix_types.h:6,

                 from /usr/include/linux/posix_types.h:35,

                 from /usr/include/linux/types.h:8,

                 from /usr/include/linux/if_ether.h:24,

                 from src/iptraf-ng-compat.h:39,

                 from src/tui/input.c:10:



Code:

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘341’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘323’ in program

/usr/include/linux/if_packet.h:89:2: error: unknown type name ‘__u16’

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘270’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘303’ in program

/usr/include/linux/if_packet.h:90:2: error: unknown type name ‘__u16’

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘215’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘32’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘220’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘332’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘373’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘233’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘216’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘272’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘203’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘364’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘265’ in program

/usr/include/linux/if_packet.h:132:2: error: unknown type name ‘__u32’

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘373’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘214’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘305’ in program

/usr/include/linux/if_packet.h:133:2: error: unknown type name ‘__u32’

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘334’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘265’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘236’ in program

/usr/include/linux/if_packet.h:134:2: error: unknown type name ‘__u32’

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘316’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘336’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘254’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘264’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘263’ in program

/usr/include/linux/if_packet.h:135:2: error: unknown type name ‘__u16’

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘36’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘350’ in program

/usr/include/linux/if_packet.h:136:2: error: unknown type name ‘__u16’

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘234’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘352’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘342’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘236’ in program

/usr/include/linux/if_packet.h:137:2: error: unknown type name ‘__u32’

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘277’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘256’ in program

/usr/include/asm-generic/posix_types.h:2:1: error: stray ‘244’ in program

/usr/include/linux/if_packet.h:138:2: error: unknown type name ‘__u32’

In file included from /usr/include/asm/posix_types_64.h:17:0,

                 from /usr/include/asm/posix_types.h:6,

                 from /usr/include/linux/posix_types.h:35,

                 from /usr/include/linux/types.h:8,

                 from /usr/include/linux/if_ether.h:24,

                 from src/iptraf-ng-compat.



Code:

/usr/include/ncursesw/curses.h:209:35: note: in definition of macro ‘NCURSES_CAST’

src/tui/input.c:60:2: note: in expansion of macro ‘wattrset’

/usr/include/linux/if_packet.h:155:2: error: unknown type name ‘__u32’

In file included from src/iptraf-ng-compat.h:15:0,

                 from src/tui/input.c:10:

/usr/include/ncursesw/curses.h:1126:50: warning: left-hand operand of comma expression has no effect [-Wunused-value]

src/tui/input.c:60:2: note: in expansion of macro ‘wattrset’

/usr/include/ncursesw/curses.h:1125:33: warning: statement with no effect [-Wunused-value]

src/tui/input.c:60:2: note: in expansion of macro ‘wattrset’

src/tui/input.c:61:2: warning: implicit declaration of function ‘wmove’ [-Wimplicit-function-declaration]

/usr/include/linux/if_packet.h:156:2: error: unknown type name ‘__u32’

src/tui/input.c:63:3: warning: implicit declaration of function ‘wprintw’ [-Wimplicit-function-declaration]

In file included from src/iptraf-ng-compat.h:15:0,

                 from src/tui/input.c:10:

src/tui/input.c: In function ‘tx_getinput’:

/usr/include/ncursesw/curses.h:1126:15: error: request for member ‘_attrs’ in something not a structure or union

src/tui/input.c:79:2: note: in expansion of macro ‘wattrset’

/usr/include/linux/if_packet.h:157:2: error: unknown type name ‘__u32’

In file included from src/iptraf-ng-compat.h:15:0,

                 from src/tui/input.c:10:

/usr/include/ncursesw/curses.h:1126:39: error: ‘attr_t’ undeclared (first use in this function)

/usr/include/ncursesw/curses.h:209:35: note: in definition of macro ‘NCURSES_CAST’

src/tui/input.c:79:2: note: in expansion of macro ‘wattrset’

In file included from src/iptraf-ng-compat.h:15:0,

                 from src/tui/input.c:10:

/usr/include/ncursesw/curses.h:1126:50: warning: left-hand operand of comma expression has no effect [-Wunused-value]

src/tui/input.c:79:2: note: in expansion of macro ‘wattrset’

/usr/include/linux/if_packet.h:158:2: error: unknown type name ‘__u16’

/usr/include/ncursesw/curses.h:1125:33: warning: statement with no effect [-Wunused-value]

src/tui/input.c:79:2: note: in expansion of macro ‘wattrset’

src/tui/input.c:85:3: warning: implicit declaration of function ‘wgetch’ [-Wimplicit-function-declaration]

/usr/include/linux/if_packet.h:159:2: error: unknown type name ‘__u16’

In file included from src/iptraf-ng-compat.h:15:0,

                 from src/tui/input.c:10:

/usr/include/ncursesw/curses.h:1102:37: error: request for member ‘_cury’ in something not a structure or union

/usr/include/ncursesw/curses.h:1057:32: note: in expansion of macro ‘getcury’

src/tui/input.c:94:5: note: in expansion of macro ‘getyx’

/usr/include/linux/if_packet.h:164:2: error: unknown type name ‘__u8’

/usr/include/ncursesw/curses.h:1101:37: error: request for member ‘_curx’ in something not a structure or union

/usr/include/ncursesw/curses.h:1057:50: note: in expansion of macro ‘getcurx’

src/tui/input.c:94:5: note: in expansion of macro ‘getyx’

/usr/include/ncursesw/curses.h:1057:44: warning: left-hand operand of comma expression has no effect [-Wunused-value]

src/tui/input.c:94:5: note: in expansion of macro ‘getyx’

/usr/include/ncursesw/curses.h:1102:37: error: request for member ‘_cury’ in something not a structure or union

/usr/include/ncursesw/curses.h:1057:32: note: in expansion of macro ‘getcury’

src/tui/input.c:122:6: note: in expansion of macro ‘getyx’

/usr/include/linux/if_packet.h:176:2: error: unknown type name ‘__u32’

/usr/include/ncursesw/curses.h:1101:37: error: request for member ‘_curx’ in something not a structure or union

/usr/include/ncursesw/curses.h:1057:50: note: in expansion of macro ‘getcurx’

src/tui/input.c:122:6: note: in expansion of macro ‘getyx’

/usr/include/ncursesw/curses.h:1057:44: warning: left-hand operand of comma expression has no effect [-Wunused-value]

src/tui/input.c:122:6: note: in expansion of macro ‘getyx’

src/tui/input.c: In function ‘tx_fillfields’:

src/tui/input.c:144:2: warning: implicit declaration of function ‘curs_set’ [-Wimplicit-function-declaration]

src/tui/input.c: In function ‘tx_destroyfields’:

src/tui/input.c:190:2: warning: implicit declaration of function ‘del_panel’ [-Wimplicit-function-declaration]

src/tui/input.c:191:2: warning: implicit declaration of function ‘delwin’ [-Wimplicit-function-declaration]

/usr/include/linux/if_packet.h:177:2: error: unknown type name ‘__u32’

/usr/include/linux/if_packet.h:178:2: error: unknown type name ‘__u32’

/usr/include/linux/if_packet.h:183:2: error: unknown type name ‘__u32’

In file included from /usr/include/linux/if_ether.h:24:0,

                 from src/iptraf-ng-compat.h:39,

                 from src/tui/labels.c:9:

/usr/include/linux/if_packet.h:194:2: error: expected specifier-qualifier-list before ‘__u64’

In file included from src/iptraf-ng-compat.h:40:0,

                 from src/tui/labels.c:9:

/usr/include/linux/if_packet.h:229:2: error: unknown type name ‘__u32’

/usr/include/linux/if_packet.h:230:2: error: unknown type name ‘__u32’

In file included from src/iptraf-ng-compat.h:41:0,

                 from src/tui/labels.c:9:

/usr/include/linux/if_fddi.h:71:2: error: unknown type name ‘__u8’

/usr/include/linux/if_fddi.h:72:2: error: unknown type name ‘__u8’

/usr/include/linux/if_fddi.h:73:2: error: unknown type name ‘__u8’

/usr/include/linux/if_fddi.h:78:2: error: unknown type name ‘__u8’

/usr/include/linux/if_fddi.h:79:2: error: unknown type name ‘__u8’

/usr/include/linux/if_fddi.h:80:2: error: unknown type name ‘__u8’

/usr/include/linux/if_fddi.h:81:2: error: unknown type name ‘__u8’

/usr/include/linux/if_fddi.h:86:2: error: unknown type name ‘__u8’

/usr/include/linux/if_fddi.h:87:2: error: unknown type name ‘__u8’

/usr/include/linux/if_fddi.h:88:2: error: unknown type name ‘__u8’

/usr/include/linux/if_fddi.h:89:2: error: unknown type name ‘__u8’

/usr/include/linux/if_fddi.h:95:2: error: unknown type name ‘__u8’

/usr/include/linux/if_fddi.h:96:2: error: unknown type name ‘__u8’

/usr/include/linux/if_fddi.h:97:2: error: unknown type name ‘__u8’

Makefile:376: recipe for target ‘src/tui/input.o’ failed

make: *** [src/tui/input.o] Error 2

make: *** Waiting for unfinished jobs….

In file included from src/iptraf-ng-compat.h:44:0,

                 from src/tui/labels.c:9:

/usr/include/linux/if.h:211:19: error: field ‘ifru_addr’ has incomplete type

/usr/include/linux/if.h:212:19: error: field ‘ifru_dstaddr’ has incomplete type

/usr/include/linux/if.h:213:19: error: field ‘ifru_broadaddr’ has incomplete type

/usr/include/linux/if.h:214:19: error: field ‘ifru_netmask’ has incomplete type

/usr/include/linux/if.h:215:20: error: field ‘ifru_hwaddr’ has incomplete type

In file included from /usr/include/linux/kernel.h:4:0,

                 from /usr/include/linux/netlink.h:4,

                 from /usr/include/linux/if_link.h:5,

                 from /usr/include/linux/netdevice.h:31,

                 from /usr/include/linux/if_arp.h:26,

                 from src/iptraf-ng-compat.h:45,

                 from src/tui/labels.c:9:

/usr/include/linux/sysinfo.h:8:2: error: unknown type name ‘__kernel_long_t’

/usr/include/linux/sysinfo.h:9:2: error: unknown type name ‘__kernel_ulong_t’

/usr/include/linux/sysinfo.h:10:2: error: unknown type name ‘__kernel_ulong_t’

/usr/include/linux/sysinfo.h:11:2: error: unknown type name ‘__kernel_ulong_t’

/usr/include/linux/sysinfo.h:12:2: error: unknown type name ‘__kernel_ulong_t’

/usr/include/linux/sysinfo.h:13:2: error: unknown type name ‘__kernel_ulong_t’

/usr/include/linux/sysinfo.h:14:2: error: unknown type name ‘__kernel_ulong_t’

/usr/include/linux/sysinfo.h:15:2: error: unknown type name ‘__kernel_ulong_t’

/usr/include/linux/sysinfo.h:16:2: error: unknown type name ‘__u16’

/usr/include/linux/sysinfo.h:17:2: error: unknown type name ‘__u16’

/usr/include/linux/sysinfo.h:18:2: error: unknown type name ‘__kernel_ulong_t’

/usr/include/linux/sysinfo.h:19:2: error: unknown type name ‘__kernel_ulong_t’

/usr/include/linux/sysinfo.h:20:2: error: unknown type name ‘__u32’

/usr/include/linux/sysinfo.h:21:22: error: ‘__kernel_ulong_t’ undeclared here (not in a function)

/usr/include/linux/sysinfo.h:21:47: error: ‘__u32’ undeclared here (not in a function)

In file included from /usr/include/linux/if_link.h:5:0,

                 from /usr/include/linux/netdevice.h:31,

                 from /usr/include/linux/if_arp.h:26,

                 from src/iptraf-ng-compat.h:45,

                 from src/tui/labels.c:9:

/usr/include/linux/netlink.h:38:2: error: expected specifier-qualifier-list before ‘__u32’

/usr/include/linux/netlink.h:43:2: error: expected specifier-qualifier-list before ‘__u32’

/usr/include/linux/netlink.h:113:2: error: expected specifier-qualifier-list before ‘__u32’

/usr/include/linux/netlink.h:126:2: error: expected specifier-qualifier-list before ‘__u32’

/usr/include/linux/netlink.h:162:2: error: unknown type name ‘__u16’

/usr/include/linux/netlink.h:163:2: error: unknown type name ‘__u16’

In file included from /usr/include/linux/netdevice.h:31:0,

                 from /usr/include/linux/if_arp.h:26,

                 from src/iptraf-ng-compat.h:45,

                 from src/tui/labels.c:9:

/usr/include/linux/if_link.h:9:2: error: expected specifier-qualifier-list before ‘__u32’

/usr/include/linux/if_link.h:42:2: error: unknown type name ‘__u64’

/usr/include/linux/if_link.h:43:2: error: unknown type name ‘__u64’

/usr/include/linux/if_link.h:44:2: error: unknown type name ‘__u64’

/usr/include/linux/if_link.h:45:2: error: unknown type name ‘__u64’

/usr/include/linux/if_link.h:46:2: error: unknown type name ‘__u64’

/usr/include/linux/if_link.h:47:2: error: unknown type name ‘__u64’

/usr/include/linux/if_link.h:48:2: error: unknown type name ‘__u64’

/usr/include/linux/if_link.h:49:2: error: unknown type name ‘__u64’

/usr/include/linux/if_link.h:50:2: error: unknown type name ‘__u64’

/usr/include/linux/if_link.h:51:2: error: unknown type name ‘__u64’

/usr/include/linux/if_link.h:54:2: error: unknown type name ‘__u64’

/usr/include/linux/if_link.h:55:2: error: unknown type name ‘__u64’

/usr/include/linux/if_link.h:56:2: error: unknown type name ‘__u64’

/usr/include/linux/if_link.h:57:2: error: unknown type name ‘__u64’

/usr/include/linux/if_link.h:58:2: error: unknown type name ‘__u64’

/usr/include/linux/if_link.h:59:2: error: unknown type name ‘__u64’

/usr/include/linux/if_link.h:62:2: error: unknown type name ‘__u64’

/usr/include/linux/if_link.h:63:2: error: unknown type name ‘__u64’

/usr/include/linux/if_link.h:64:2: error: unknown type name ‘__u64’

/usr/include/linux/if_link.h:65:2: error: unknown type name ‘__u64’

/usr/include/linux/if_link.h:66:2: error: unknown type name ‘__u64’

/usr/include/linux/if_link.h:69:2: error: unknown type name ‘__u64’

/usr/include/linux/if_link.h:70:2: error: unknown type name ‘__u64’

/usr/include/linux/if_link.h:75:2: error: unknown type name ‘__u64’

/usr/include/linux/if_link.h:76:2: error: unknown type name ‘__u64’

/usr/include/linux/if_link.h:77:2: error: unknown type name ‘__u64’

/usr/include/linux/if_link.h:78:2: error: unknown type name ‘__u16’

/usr/include/linux/if_link.h:79:2: error: unknown type name ‘__u8’

/usr/include/linux/if_link.h:80:2: error: unknown type name ‘__u8’

/usr/include/linux/if_link.h:249:2: error: expected specifier-qualifier-list before ‘__u32’

/usr/include/linux/if_link.h:282:2: error: expected specifier-qualifier-list before ‘__u32’

/usr/include/linux/if_link.h:295:2: error: expected specifier-qualifier-list before ‘__u32’

/usr/include/linux/if_link.h:443:2: error: expected specifier-qualifier-list before ‘__u32’

/usr/include/linux/if_link.h:448:2: error: expected specifier-qualifier-list before ‘__u32’

/usr/include/linux/if_link.h:454:2: error: expected specifier-qualifier-list before ‘__u32’

/usr/include/linux/if_link.h:459:2: error: expected specifier-qualifier-list before ‘__u32’

/usr/include/linux/if_link.h:465:2: error: expected specifier-qualifier-list before ‘__u32’

/usr/include/linux/if_link.h:477:2: error: expected specifier-qualifier-list before ‘__u32’

/usr/include/linux/if_link.h:547:2: error: unknown type name ‘__u8’

/usr/include/linux/if_link.h:548:2: error: unknown type name ‘__u8’

/usr/include/linux/if_link.h:549:2: error: unknown type name ‘__u8’

/usr/include/linux/if_link.h:550:2: error: unknown type name ‘__u8’

In file included from src/iptraf-ng-compat.h:45:0,

                 from src/tui/labels.c:9:

/usr/include/linux/if_arp.h:114:19: error: field ‘arp_pa’ has incomplete type

/usr/include/linux/if_arp.h:115:19: error: field ‘arp_ha’ has incomplete type

/usr/include/linux/if_arp.h:117:25: error: field ‘arp_netmask’ has incomplete type

/usr/include/linux/if_arp.h:122:19: error: field ‘arp_pa’ has incomplete type

/usr/include/linux/if_arp.h:123:19: error: field ‘arp_ha’ has incomplete type

/usr/include/linux/if_arp.h:125:25: error: field ‘arp_netmask’ has incomplete type

In file included from src/tui/labels.c:9:0:

src/iptraf-ng-compat.h: In function ‘skip_whitespace’:

src/iptraf-ng-compat.h:122:2: warning: implicit declaration of function ‘__ctype_b_loc’ [-Wimplicit-function-declaration]

In file included from src/iptraf-ng-compat.h:13:0,

                 from src/tui/labels.c:9:

src/iptraf-ng-compat.h:122:9: error: invalid type argument of unary ‘*’ (have ‘int’)

src/iptraf-ng-compat.h:122:9: error: ‘_ISspace’ undeclared (first use in this function)

src/iptraf-ng-compat.h:122:9: note: each undeclared identifier is reported only once for each function it appears in

In file included from src/tui/labels.c:11:0:

src/tui/winops.h: At top level:

src/tui/winops.h:13:19: error: unknown type name ‘WINDOW’

src/tui/winops.h:15:18: error: unknown type name ‘WINDOW’

src/tui/winops.h:16:19: error: unknown type name ‘WINDOW’

src/tui/winops.h:17:13: error: unknown type name ‘WINDOW’

src/tui/labels.c:13:49: error: unknown type name ‘WINDOW’

src/tui/labels.c: In function ‘tx_menukeyhelp’:

src/tui/labels.c:24:2: warning: implicit declaration of function ‘wmove’ [-Wimplicit-function-declaration]

In file included from src/iptraf-ng-compat.h:15:0,

                 from src/tui/labels.c:9:

/usr/include/ncursesw/curses.h:1199:26: error: ‘stdscr’ undeclared (first use in this function)

src/tui/labels.c:24:2: note: in expansion of macro ‘move’

src/tui/labels.c:24:7: error: ‘LINES’ undeclared (first use in this function)

/usr/include/ncursesw/curses.h:1199:33: note: in definition of macro ‘move’

src/tui/labels.c:25:2: warning: implicit declaration of function ‘tx_printkeyhelp’ [-Wimplicit-function-declaration]

src/tui/labels.c:28:2: warning: implicit declaration of function ‘tx_wcoloreol’ [-Wimplicit-function-declaration]

In file included from src/iptraf-ng-compat.h:15:0,

                 from src/tui/labels.c:9:

src/tui/labels.c: In function ‘tx_listkeyhelp’:

/usr/include/ncursesw/curses.h:1199:26: error: ‘stdscr’ undeclared (first use in this function)

src/tui/labels.c:33:2: note: in expansion of macro ‘move’

src/tui/labels.c:33:7: error: ‘LINES’ undeclared (first use in this function)

/usr/include/ncursesw/curses.h:1199:33: note: in definition of macro ‘move’

Makefile:376: recipe for target ‘src/tui/labels.o’ failed

make: *** [src/tui/labels.o] Error 2

 * ERROR: net-analyzer/iptraf-ng-1.1.4-r1::gentoo failed (compile phase):

 *   emake failed

 *

 * If you need support, post the output of `emerge —info ‘=net-analyzer/iptraf-ng-1.1.4-r1::gentoo’`,

 * the complete build log and the output of `emerge -pqv ‘=net-analyzer/iptraf-ng-1.1.4-r1::gentoo’`.

 * The complete build log is located at ‘/var/tmp/portage/net-analyzer/iptraf-ng-1.1.4-r1/temp/build.log’.

 * The ebuild environment file is located at ‘/var/tmp/portage/net-analyzer/iptraf-ng-1.1.4-r1/temp/environment’.

 * Working directory: ‘/var/tmp/portage/net-analyzer/iptraf-ng-1.1.4-r1/work/iptraf-ng-1.1.4’

 * S: ‘/var/tmp/portage/net-analyzer/iptraf-ng-1.1.4-r1/work/iptraf-ng-1.1.4’

Sorry for this huge log. Does any of this make any sense?

Thanks very much, again!

3psus

Back to top

View user's profile Send private message

3psus
n00b
n00b

Joined: 29 Jul 2015
Posts: 9

PostPosted: Wed Jul 29, 2015 2:26 pm    Post subject: Reply with quote

ian.au wrote:
@Bufoon I saw that in the emerge info, but not in the op code quote for the gcc-config list. I had to ask.

@3psus could you

Code:
eselect python list

and paste here, and also /etc/portage/make.conf

Hi ian.au

eselect python list:

Code:

Gentoo / # eselect python list

Available Python interpreters:

  [1]   python2.7 *

  [2]   python3.3

and /etc/portage/make.conf:

Code:

# These settings were set by the catalyst build script that automatically

# built this stage.

# Please consult /usr/share/portage/config/make.conf.example for a more

# detailed example.

CFLAGS=»-O2 -pipe»

CXXFLAGS=»${CFLAGS}»

# WARNING: Changing your CHOST is not something that should be done lightly.

# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.

CHOST=»x86_64-pc-linux-gnu»

# These are the USE flags that were used in addition to what is provided by the

# profile used for building.

USE=»bindist mmx sse sse2″

PORTDIR=»/usr/portage»

DISTDIR=»${PORTDIR}/distfiles»

PKGDIR=»${PORTDIR}/packages»

GENTOO_MIRRORS=»http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.mirro$

SYNC=»rsync.ca.gentoo.org»

VIDEO_CARDS=»radeon»

INPUT_DEVICES=»evdev»

I had CFLAGS=»-march=native» and MAKEOPTS=»-j3″, but I removed them to see if they were causing the problem, and nope.

Back to top

View user's profile Send private message

Buffoon
Veteran
Veteran

Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Wed Jul 29, 2015 2:36 pm    Post subject: Reply with quote

Code:
x86_64-pc-linux-gnu-gcc: error trying to exec ‘/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/as’: execv: Exec format error



The error is the same. Actually I think as belongs to binutils, can you rebuild binutils? It may be corrupted.

Back to top

View user's profile Send private message

ian.au
Guru
Guru

Joined: 07 Apr 2011
Posts: 573
Location: Australia

PostPosted: Wed Jul 29, 2015 2:58 pm    Post subject: Reply with quote

The big logs go better in Pastebin with a link here :) emerge wgetpaste when you can.

From your original post:

Code:
*   Currently active compiler does not support -std=c++11



IMO this message should not exist if the currently active compiler is 4.8.x so your only installed gcc is broken.

Buffoon is dead right about rebuilding libtool and gcc, but it looks like you are going to have to chroot back in from sysrescuecd and do that. I can’t think of another way.

Also, whilst you are back in there you should update your kernel config and fix

Code:
*   CONFIG_FB_RADEON:    should not be set. But it is.

to prevent other issues.

Hang in there, when it goes pear-shaped on Gentoo it rains pears, but you’ll learn a great deal by the time you’ve fixed it.

Back to top

View user's profile Send private message

3psus
n00b
n00b

Joined: 29 Jul 2015
Posts: 9

PostPosted: Wed Jul 29, 2015 3:13 pm    Post subject: Reply with quote

Buffoon wrote:
Code:
x86_64-pc-linux-gnu-gcc: error trying to exec ‘/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/as’: execv: Exec format error



The error is the same. Actually I think as belongs to binutils, can you rebuild binutils? It may be corrupted.


ian.au wrote:
The big logs go better in Pastebin with a link here :) emerge wgetpaste when you can.

From your original post:

Code:
*   Currently active compiler does not support -std=c++11



IMO this message should not exist if the currently active compiler is 4.8.x so your only installed gcc is broken.

Buffoon is dead right about rebuilding libtool and gcc, but it looks like you are going to have to chroot back in from sysrescuecd and do that. I can’t think of another way.

Also, whilst you are back in there you should update your kernel config and fix

Code:
*   CONFIG_FB_RADEON:    should not be set. But it is.

to prevent other issues.

Hang in there, when it goes pear-shaped on Gentoo it rains pears, but you’ll learn a great deal by the time you’ve fixed it.

I will chroot in the system while booted on my liveusb I still have on the shelf. What’s bugging me is that this is a *clean* install, meaning that nothing was done after booting in it for the first time. I actually recompiled the kernel and reinstalled everything at least 4 times with genkernel and manual kernel config. I **think** I did not have those exact problems the first time I manually compiled the kernel but then, I am struggling to see what’s causing all this reck.

I need to say though, this is the first time I actually seek help like that on a forum and I very much appreciate what you are doing. I’m doing this right now and will keep you posted. I will also have a look at CONFIG_FB_RADEON.

epsus

Back to top

View user's profile Send private message

3psus
n00b
n00b

Joined: 29 Jul 2015
Posts: 9

PostPosted: Wed Jul 29, 2015 4:16 pm    Post subject: Reply with quote

ian.au wrote:
The big logs go better in Pastebin with a link here :) emerge wgetpaste when you can.

From your original post:

Code:
*   Currently active compiler does not support -std=c++11



IMO this message should not exist if the currently active compiler is 4.8.x so your only installed gcc is broken.

Buffoon is dead right about rebuilding libtool and gcc, but it looks like you are going to have to chroot back in from sysrescuecd and do that. I can’t think of another way.

Also, whilst you are back in there you should update your kernel config and fix

Code:
*   CONFIG_FB_RADEON:    should not be set. But it is.

to prevent other issues.

Hang in there, when it goes pear-shaped on Gentoo it rains pears, but you’ll learn a great deal by the time you’ve fixed it.

b-but… when chrooted from livecd, I get the same errors. It’s using the chrooted environment gcc…? Also, livecd doesn’t have gcc or emerge. Next step would be to install as binary package I guess.

Maybe I should get over it and start over. I am following the handbook for the install and can emerge and compile stuff up until I reboot in the new system. How could I find the problem? It must be something in the kernel or in config somewhere that breaks it, no?

Sorry for noob questions,

3psus

Edit: Maybe this should be moved to install section..

Last edited by 3psus on Wed Jul 29, 2015 4:18 pm; edited 1 time in total

Back to top

View user's profile Send private message

ian.au
Guru
Guru

Joined: 07 Apr 2011
Posts: 573
Location: Australia

PostPosted: Wed Jul 29, 2015 4:16 pm    Post subject: Reply with quote

Did you emerge @world? I’ve seen breakage like this happen when an eselected python is upgraded and python-updater is not subsequently run. Python may well have partially upgraded in the midst of your 4 recompiles.

These are worth reading on every sync

Code:
 * IMPORTANT: 13 news items need reading for repository ‘gentoo’.

 * Use eselect news read to view new items.



one of those will say:

Code:
2015-07-25  Python 3.4 enabled by default



You synced after that

Code:
Timestamp of repository gentoo: Tue, 28 Jul 2015 00:45:01 +0000



You have no directives in /etc/portage/make.conf so 3.3 could well have been updated to 3.4 and left you a message to run python-updater that you missed.

So did you re-emerge world on one of the multiple rebuilds you did? In any case how it’s gotten broken is less important than getting it fixed at this point.

It may be worth looking at which python is actually installed now and ensuring that the correct python is eselected if you are still having problems, gcc shouldn’t just break — it will be a config issue somewhere.

Back to top

View user's profile Send private message

Buffoon
Veteran
Veteran

Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Wed Jul 29, 2015 4:26 pm    Post subject: Reply with quote

One more thing to check, is your hard drive healthy?
Back to top

View user's profile Send private message

3psus
n00b
n00b

Joined: 29 Jul 2015
Posts: 9

PostPosted: Wed Jul 29, 2015 4:38 pm    Post subject: Reply with quote

ian.au wrote:
Did you emerge @world? I’ve seen breakage like this happen when an eselected python is upgraded and python-updater is not subsequently run. Python may well have partially upgraded in the midst of your 4 recompiles.

These are worth reading on every sync

Code:
 * IMPORTANT: 13 news items need reading for repository ‘gentoo’.

 * Use eselect news read to view new items.



one of those will say:

Code:
2015-07-25  Python 3.4 enabled by default



You synced after that

Code:
Timestamp of repository gentoo: Tue, 28 Jul 2015 00:45:01 +0000



You have no directives in /etc/portage/make.conf so 3.3 could well have been updated to 3.4 and left you a message to run python-updater that you missed.

So did you re-emerge world on one of the multiple rebuilds you did? In any case how it’s gotten broken is less important than getting it fixed at this point.

It may be worth looking at which python is actually installed now and ensuring that the correct python is eselected if you are still having problems, gcc shouldn’t just break — it will be a config issue somewhere.

I am on python 3.3.5 and did not update to 3.4. I just ran python-updater, doesn’t seem to fix. Also, every new recompile was on a clean HD, starting from scratch and not restoring any data. I just haven’t been able to get a working environment yet on gentoo. :(

Buffoon wrote:
One more thing to check, is your hard drive healthy?

The HD I am using has been tested a year ago but it’s a little old, so who knows… I ran

Code:
 dd if=/dev/zero of/dev/sda

before anything. I think it might be time to start over with new HDD.

Back to top

View user's profile Send private message

Buffoon
Veteran
Veteran

Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Wed Jul 29, 2015 4:52 pm    Post subject: Reply with quote

Run smartctl -t long on it.
Back to top

View user's profile Send private message

ian.au
Guru
Guru

Joined: 07 Apr 2011
Posts: 573
Location: Australia

PostPosted: Wed Jul 29, 2015 5:34 pm    Post subject: Reply with quote

Getting gcc back is a bit tricky, sorry I was unclear on how to do this. It’s after 3am here and I’m seeing double now.

You don’t chroot into your broken system, from memory you need to extract another stage3 and chroot into that to get the gcc. I just can’t remember the exact process, sorry and couldn’t turn up a good instruction on the forums to link you to.

I know one exists, I used it a few years ago when I inadvertently depcleaned a compiler before verifying the new one had built. :oops:

Anyway, you aren’t the first person to do this, and there are detailed instructions on the forum somewhere, but I can’t find them. There is also a tinderbox method mentioned but I’ve never done that, someone else could help with that.

If you suspect the hard drive, that’s another thing altogether.

I say, seeing you have multiple attempts that haven’t worked and an inoperative compiler, and not quite up to x maybe a careful reinstall and an accompanying thread in installing gentoo could be the fastest (if not best) way to go here.

Edit: Sorry the tinderbox is no more, I see. So really you will need to ignore any posts you find mentioning that method. If you still have the stage3-*.tar in your / you could try extracting that to a temporary directory and getting the a gcc from there.

Back to top

View user's profile Send private message

NeddySeagoon
Administrator
Administrator

Joined: 05 Jul 2003
Posts: 51961
Location: 56N 3W

PostPosted: Wed Jul 29, 2015 6:00 pm    Post subject: Reply with quote

3psus,

Code:
CXXFLAGS=»-O2 -pipe»

CFLAGS=»-O2 -pipe»

That’s unusual. no -march to tell gcc what CPU you would like it to produce code for. I wonder if it has a useful default, like -mtune=generic.

add

Code:
-march=native

to

Code:
CFLAGS=»-O2 -pipe»

unless you want the binaries to run anywhere, in which case use

Code:
-mtune=generic


_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-

those that do backups

those that have never had a hard drive fail.

Back to top

View user's profile Send private message

NeddySeagoon
Administrator
Administrator

Joined: 05 Jul 2003
Posts: 51961
Location: 56N 3W

PostPosted: Wed Jul 29, 2015 6:09 pm    Post subject: Reply with quote

ian.au,

Bookmark this post.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-

those that do backups

those that have never had a hard drive fail.

Back to top

View user's profile Send private message

ian.au
Guru
Guru

Joined: 07 Apr 2011
Posts: 573
Location: Australia

PostPosted: Wed Jul 29, 2015 10:46 pm    Post subject: Reply with quote

@neddy thanks and bookmarked. That’s even more straightforward than the method I (vaguely) recall using.

Re: the absent march= the OP mentioned he removed it as part of the troubleshooting process.
Back to top

View user's profile Send private message

Display posts from previous:   

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Понравилась статья? Поделить с друзьями:
  • Error stray 345 in program
  • Error stray 343 in program
  • Error stray 342 in program ошибка
  • Error stray 340 in program
  • Error stray 321 in program