g++ compiler errors with vector class after installing/uninstalling libstlport
Hello,
I am trying to run the following simple program (on Ubuntu 8.04):
Code:
#include <vector>
int main()
{
return 0;
}
and I am getting a bunch of errors (see later below). This compiled fine initially and it start giving me these errors after I installed (and then uninstalled) libstlport from the repos.It also compiles fine on other machines with the «initial» packages and without ever installing/uninstalling libstlport. Any help? Many thanks.
The «tail» of the errors are:
Code:
./vector:180: error: stray �223� in program
./vector:180:35: warning: null character(s) ignored
./vector:180: error: stray �256� in program
./vector:180:43: warning: null character(s) ignored
./vector:180: error: stray �22� in program
./vector:180:47: warning: null character(s) ignored
./vector:180: error: stray �365� in program
./vector:180:59: warning: null character(s) ignored
./vector:180: error: stray �306� in program
./vector:180:67: warning: null character(s) ignored
./vector:180:70: warning: null character(s) preserved in literal
./vector:180:70: warning: missing terminating " character
./vector:180: error: missing terminating " character
./vector:181:1: warning: null character(s) ignored
./vector:181:2: warning: null character(s) preserved in literal
./vector:181:23: warning: null character(s) ignored
./vector:182:1: warning: null character(s) ignored
./vector:182: error: stray �304� in program
./vector:182: error: stray �25� in program
./vector:182: error: stray �@� in program
./vector:182:5: warning: null character(s) ignored
./vector:182:11: warning: null character(s) ignored
./vector:182:22: warning: null character(s) preserved in literal
./vector:182:22: warning: missing terminating " character
./vector:182: error: missing terminating " character
./vector:183:1: warning: null character(s) ignored
./vector:183: error: stray �216� in program
./vector:183: error: stray �22� in program
./vector:183: error: stray �@� in program
./vector:183:5: warning: null character(s) ignored
./vector:183:11: warning: null character(s) ignored
./vector:183:19: warning: null character(s) ignored
./vector:183:22: warning: null character(s) preserved in literal
./vector:183:22: warning: missing terminating " character
./vector:183: error: missing terminating " character
./vector:184:1: warning: null character(s) ignored
./vector:185: error: stray �@� in program
./vector:185:2: warning: null character(s) ignored
./vector:185:8: warning: null character(s) ignored
./vector:185: error: stray �201� in program
./vector:185:16: warning: null character(s) ignored
./vector:185:19: warning: null character(s) preserved in literal
./vector:185:19: warning: missing terminating " character
./vector:185: error: missing terminating " character
./vector:186:1: warning: null character(s) ignored
./vector:186: error: stray �234� in program
./vector:186: error: stray �20� in program
./vector:186: error: stray �@� in program
./vector:186:5: warning: null character(s) ignored
./vector:186:11: warning: null character(s) ignored
./vector:186: error: stray �235� in program
./vector:186:19: warning: null character(s) ignored
./vector:186:22: warning: null character(s) preserved in literal
./vector:186:22: warning: missing terminating " character
./vector:186: error: missing terminating " character
./vector:187:1: warning: null character(s) ignored
./vector:187: error: stray �230� in program
./vector:187: error: stray �16� in program
./vector:187: error: stray �@� in program
./vector:187:5: warning: null character(s) ignored
./vector:187: error: stray �36� in program
./vector:187:11: warning: null character(s) ignored
./vector:187: error: stray �272� in program
./vector:187:19: warning: null character(s) ignored
./vector:187: error: stray �22� in program
./vector:187:23: warning: null character(s) ignored
./vector:188:1: warning: null character(s) ignored
./vector:188: error: stray �30� in program
./vector:188: error: stray �10� in program
./vector:188: error: stray �@� in program
./vector:188:5: warning: null character(s) ignored
./vector:188: error: stray �2� in program
./vector:188:12: warning: null character(s) ignored
./vector:188: error: stray �277� in program
./vector:188:19: warning: null character(s) ignored
./vector:188: error: stray �22� in program
./vector:188:23: warning: null character(s) ignored
./vector:188: error: stray �220� in program
./vector:188: error: stray �6� in program
./vector:188: error: stray �@� in program
./vector:188:29: warning: null character(s) ignored
./vector:188: error: stray �305� in program
./vector:188:43: warning: null character(s) ignored
./vector:188:46: warning: null character(s) preserved in literal
./vector:188:46: warning: missing terminating " character
./vector:188: error: missing terminating " character
./vector:189:1: warning: null character(s) ignored
./vector:189: error: stray �340� in program
./vector:190: error: stray �@� in program
./vector:190:2: warning: null character(s) ignored
./vector:191:1: warning: null character(s) ignored
./vector:191: error: stray �351� in program
./vector:191:9: warning: null character(s) ignored
./vector:191:12: warning: null character(s) preserved in literal
./vector:191:12: warning: missing terminating " character
./vector:191: error: missing terminating " character
./vector:192:1: warning: null character(s) ignored
./vector:193: error: stray �@� in program
./vector:193:2: warning: null character(s) ignored
./vector:193: error: stray �@� in program
./vector:193:8: warning: null character(s) ignored
./vector:193:22: warning: null character(s) ignored
./vector:193:33: warning: null character(s) ignored
./vector:193:49: warning: null character(s) ignored
./vector:193:60: warning: null character(s) ignored
./vector:193:74: warning: null character(s) ignored
./vector:193:88: warning: null character(s) ignored
./vector:193:101: warning: null character(s) ignored
./vector:193:123: warning: null character(s) ignored
./vector:193:138: warning: null character(s) ignored
./vector:193:145: warning: null character(s) ignored
./vector:193:157: warning: null character(s) ignored
./vector:193:170: warning: null character(s) ignored
./vector:193:183: warning: null character(s) ignored
./vector:193:197: warning: null character(s) ignored
./vector:193:209: warning: null character(s) ignored
./vector:193:231: warning: null character(s) ignored
./vector:193:247: warning: null character(s) ignored
./vector:193:269: warning: null character(s) ignored
./vector:193:286: warning: null character(s) ignored
./vector:193:305: warning: null character(s) ignored
./vector:193:314: warning: null character(s) ignored
./vector:193:325: warning: null character(s) ignored
./vector:193:361: warning: null character(s) ignored
./vector:193:409: warning: null character(s) ignored
./vector:193: error: stray �@� in program
./vector:193: error: stray �@� in program
./vector:193:452: warning: null character(s) ignored
./vector:193: error: stray �@� in program
./vector:193: error: stray �@� in program
./vector:193:468: error: too many decimal points in number
./vector:193:472: warning: null character(s) ignored
./vector:193:527: warning: null character(s) ignored
./vector:193:636: warning: null character(s) ignored
./vector:193:652: warning: null character(s) ignored
./vector:193:659: warning: null character(s) ignored
./vector:193:729: warning: null character(s) ignored
./vector:193:793: warning: null character(s) ignored
./vector:193:859: warning: null character(s) ignored
./vector:193:891: warning: null character(s) ignored
./vector:193:965: warning: null character(s) ignored
./vector:193:994: warning: null character(s) ignored
./vector:193:1009: warning: null character(s) ignored
./vector:193:1029: warning: null character(s) ignored
./vector:193: error: stray �@� in program
./vector:193: error: stray �@� in program
./vector:193:1049: warning: null character(s) ignored
./vector:193:1065: warning: null character(s) ignored
./vector:193:1092: warning: null character(s) ignored
./vector:193:1098: warning: null character(s) ignored
./vector:193: error: stray �@� in program
./vector:193: error: stray �@� in program
./vector:193:1115: error: too many decimal points in number
./vector:193:1119: warning: null character(s) ignored
./vector:193:1181: warning: null character(s) ignored
./vector:193: error: stray �@� in program
./vector:193: error: stray �@� in program
./vector:193:1208: error: too many decimal points in number
./vector:193:1212: warning: null character(s) ignored
./vector:193:1248: warning: null character(s) ignored
./vector:193:1298: warning: null character(s) ignored
./vector:193:1306: warning: null character(s) ignored
./vector:193:1365: warning: null character(s) ignored
./vector:193:1443: warning: null character(s) ignored
./vector:193:1468: warning: null character(s) ignored
./vector:193:1501: warning: null character(s) ignored
./vector:193:1548: warning: null character(s) ignored
./vector:193:1563: warning: null character(s) ignored
./vector:193:1614: warning: null character(s) ignored
./vector:193:1627: warning: null character(s) ignored
./vector:193:1698: warning: null character(s) ignored
./vector:193:1741: warning: null character(s) ignored
./vector:193:1770: warning: null character(s) ignored
./vector:193:1805: warning: null character(s) ignored
./vector:193:1829: warning: null character(s) ignored
./vector:193:1842: warning: null character(s) ignored
./vector:193:1904: warning: null character(s) ignored
./vector:193:1933: warning: null character(s) ignored
./vector:193:1973: warning: null character(s) ignored
./vector:193:2051: warning: null character(s) ignored
./vector:193:2067: warning: null character(s) ignored
./vector:193:2128: warning: null character(s) ignored
./vector:193:2141: warning: null character(s) ignored
./vector:193:2154: warning: null character(s) ignored
./vector:193:2199: warning: null character(s) ignored
./vector:193: error: stray �@� in program
./vector:193: error: stray �@� in program
./vector:193:2216: error: too many decimal points in number
./vector:193:2220: warning: null character(s) ignored
./vector:193:2261: warning: null character(s) ignored
./vector:193:2273: warning: null character(s) ignored
./vector:193:2289: warning: null character(s) ignored
./vector:193:2332: warning: null character(s) ignored
./vector:193:2376: warning: null character(s) ignored
./vector:193:2401: warning: null character(s) ignored
./vector:193:2439: warning: null character(s) ignored
./vector:193:2498: warning: null character(s) ignored
./vector:193:2503: warning: null character(s) ignored
./vector:193: error: stray �@� in program
./vector:193: error: stray �@� in program
./vector:193:2541: warning: null character(s) ignored
./vector:193:2593: warning: null character(s) ignored
./vector:193:2679: warning: null character(s) ignored
./vector:193:2725: warning: null character(s) ignored
./vector:193:2773: warning: null character(s) ignored
./vector:193:2780: warning: null character(s) ignored
./vector:193:2852: warning: null character(s) ignored
./vector:193: error: stray �@� in program
./vector:193: error: stray �@� in program
./vector:193:2885: warning: null character(s) ignored
./vector:193:2928: warning: null character(s) ignored
./vector:193:2941: warning: null character(s) ignored
./vector:193:2985: warning: null character(s) ignored
./vector:193: error: stray �@� in program
./vector:193: error: stray �@� in program
./vector:193:3004: warning: null character(s) ignored
./vector:193: error: stray �@� in program
./vector:193: error: stray �@� in program
./vector:193:3028: warning: null character(s) ignored
./vector:193:3060: warning: null character(s) ignored
./vector:193:3095: warning: null character(s) ignored
./vector:193:3141: warning: null character(s) ignored
./vector:193:3215: warning: null character(s) ignored
./vector:193:3243: warning: null character(s) ignored
./vector:193:3272: warning: null character(s) ignored
./vector:193:3277: warning: null character(s) ignored
./vector:193:3283: warning: null character(s) ignored
./vector:193:3319: warning: null character(s) ignored
./vector:193:3412: warning: null character(s) ignored
./vector:193:3413: warning: no newline at end of file
./vector:1: error: expected constructor, destructor, or type conversion before �>� token
./vector:5: error: expected declaration before �}� token
trying a code for a simple game i downloaded. when i run it i get lines and lines of this error:
error stray ‘200’ in program (with different numbers)
— i’m using code::blocks, in case that matters….
what does this mean??
here are the first lines of the code. the first error (one in subject) points to line 36
//Mine Field
#include <iostream>
#include <exception>
#include <string>
#include <vector>
#include <cstdlib>
#include <ctime>
using std::string;
using std::vector;
using std::srand;
using std::time;
class StepOnMine {};
class FailedDisarm {};
class MineField
{
vector<bool> minefield;
//stores where the player has been
vector<bool> beenThere;
//current location of player
int location;
int menu(string choices[], int numChoices)
{
using std::cout;
using std::cin;
int choice;
do {
for (int i = 0; i < numChoices; i++)
{
cout << i+1 << “) “ << choices[i] << “n”;
}
cin << choice;
while (choice < 1 || choice > numChoices);
return choice;
}
thank you!!
Last edited on
Well, it is because there are “ and ” instead of » (note the slant!), and these characters are not valid.
………. it’s always the little things that matter
cin >> not <<
wow i guess there’s a lot wrong with this code.
I just got the same error doing something different now. In another example, i need to use this line:
#import «C:\Program Files\O2Gfxcore.dll»
does that mean the line is wrong or is the .dll library wrong?
Do you not notice the single backslash before fxcore.dll?
still getting the same error. I even moved the file to c: and used:
#import "C:\fxcore.dll"
and still same error
Could you copy and paste the error exactly?
Switch to forward slash / instead of double-backslashes. It works on Win, and means you don’t have to worry about double-slashes.
Which compiler (and preprocessor) are you using? Does it recognise #import? It’s not part of the C++ standard.
the code (i tried include in place of import, same problem):
Compiling: main.cpp
C:UsersSebastianDesktopcpp projectsranyatestmain.cpp:2:2: warning: #import is a deprecated GCC extension
In file included from C:UsersSebastianDesktopcpp projectsranyatestmain.cpp:2:
C:\fxcore.dll:1: error: stray '220' in program
In file included from C:UsersSebastianDesktopcpp projectsranyatestmain.cpp:2:
C:\fxcore.dll:1:4: warning: null character(s) ignored
C:\fxcore.dll:1: error: stray '3' in program
C:\fxcore.dll:1:6: warning: null character(s) ignored
C:\fxcore.dll:1: error: stray '4' in program
C:\fxcore.dll:1:10: warning: null character(s) ignored
C:\fxcore.dll:1: error: stray '377' in program
C:\fxcore.dll:1: error: stray '377' in program
C:\fxcore.dll:1:15: warning: null character(s) ignored
C:\fxcore.dll:1: error: stray '270' in program
C:\fxcore.dll:1:18: warning: null character(s) ignored
C:\fxcore.dll:1: error: stray '@' in program
C:\fxcore.dll:1:26: warning: null character(s) ignored
C:\fxcore.dll:1: error: stray '20' in program
C:\fxcore.dll:1: error: stray '1' in program
C:\fxcore.dll:1:63: warning: null character(s) ignored
C:\fxcore.dll:1: error: stray '16' in program
C:\fxcore.dll:1: error: stray '37' in program
C:\fxcore.dll:1: error: stray '272' in program
C:\fxcore.dll:1: error: stray '16' in program
C:\fxcore.dll:1:69: warning: null character(s) ignored
C:\fxcore.dll:1: error: stray '264' in program
C:\fxcore.dll:1: error: stray '315' in program
C:\fxcore.dll:1: error: stray '270' in program
C:\fxcore.dll:1: error: stray '1' in program
C:\fxcore.dll:1: error: stray '315' in program
C:\fxcore.dll:3:2: warning: null character(s) ignored
C:\fxcore.dll:3: error: stray '20' in program
C:\fxcore.dll:3: error: stray '311' in program
C:\fxcore.dll:3: error: stray '232' in program
C:\fxcore.dll:3: error: stray '232' in program
C:\fxcore.dll:3: error: stray '232' in program
C:\fxcore.dll:3: error: stray '365' in program
C:\fxcore.dll:3: error: stray '265' in program
C:\fxcore.dll:3: error: stray '232' in program
C:\fxcore.dll:3: error: stray '232' in program
C:\fxcore.dll:3: error: stray '267' in program
C:\fxcore.dll:3: error: stray '232' in program
C:\fxcore.dll:3: error: stray '232' in program
C:\fxcore.dll:3: error: stray '267' in program
C:\fxcore.dll:3: error: stray '232' in program
C:\fxcore.dll:3: error: stray '232' in program
C:\fxcore.dll:3: error: stray '241' in program
C:\fxcore.dll:3: error: stray '232' in program
C:\fxcore.dll:3: error: stray '232' in program
C:\fxcore.dll:3: error: stray '345' in program
C:\fxcore.dll:3: error: stray '232' in program
C:\fxcore.dll:3: error: stray '232' in program
C:\fxcore.dll:3: error: stray '267' in program
C:\fxcore.dll:3: error: stray '232' in program
C:\fxcore.dll:3: error: stray '232' in program
C:\fxcore.dll:3: error: stray '241' in program
C:\fxcore.dll:3: error: stray '232' in program
C:\fxcore.dll:3: error: stray '232' in program
C:\fxcore.dll:3: error: stray '232' in program
C:\fxcore.dll:3: error: stray '3' in program
C:\fxcore.dll:3: error: stray '232' in program
C:\fxcore.dll:3: error: stray '267' in program
C:\fxcore.dll:3: error: stray '232' in program
warning: #import is a deprecated GCC extension
Um…why are you using #import in that case?
Last edited on
Don’t use import. It seems that your preprocessor doesn’t recognise it.
Don’t #include a dll file. It’s meaningless. #include literally copies the entire file you want to include, and puts it into the place where you wrote #include .
Do not #include a dll file. I know I already said that, but I get the feeling saying it twice will help.
Why are you trying to #include a dll file? I think you must have misunderstood what a dll file is.
I got over 9000 «error: stray ‘@’ in program», exactly where I use new Objective-C files (for such daring declarations as «@interface») , but some old Objective-C files who have those sort of declarations (beware! «@interface»!) do not generate those errors.
I did «Get Info» on the .mm files to put their type to sourcecode.cpp.objcpp, but somehow that didn’t helped me at all. I also deleted all spaces near the declarations to no avail.
Please try to be as explicit as possible, I’m quite new at programming on Mac, and have a lot of troubles working with XCode (developpement is being done on visual, and we use XCode merely to get that code on iPhone directly), so I’ll need as much info as possible.
Thanks all in advance!
P.S. : Maybe I’m not looking closely enough at my code, so I’ll post a sample:
This is the start of the file, and it produces the error on «@interface IGPLinkGrabber : NSObject {«.
#2
You’re probably not compiling this file as obj-C. Instead it’s probably C or C++. In the build window, in the middle there are four little icons on the left side. One of them looks like some text. Click it and you can see the build transcript. It should say something like this for an objective-C line:
CompileC build/AppName.build/Debug-iphonesimulator/AppName.build/Objects-normal/i386/MSourceFile.o /Users/username/develop/AppName/trunk/Classes/MSourceFile.m normal i386 objective-c com.apple.compilers.gcc.4_0
#3
PhoneyDeveloper is right, you are compiling this in objective-c++ (objcpp)
#4
Thank you, I had to go into the project settings and change the «Compile Sources As» to Objective-C++ (was previously at «According to File Type», but apparently that didn’t do anything).
Everything is now fine, thank you very much!
#5
Objective-C++ and C++
Hi,
I’m very new to mac and I am trying to compile some demo programs of JUCE. After a huge, many-day headache, I am able to compile the code within x-code. So now I’m trying to migrate that to NetBeans because I find that IDE much more useful. However, I’m having some troubles with objective c++ I think. At first I got problems with @ symbols in the mac code that is referenced by the files I’m trying to compile. It seems that has something to do with «objective c» or «objective c++» which are both something I have never heard of. Fortunately, I found that gcc supports this strange term with a command line argument of ‘-ObjC’ which apparently only works for macs. Even when I do this though, there seems to be a problem of c++ no longer being recognized. For example, the following basic template is not recognized:
template <bool b> struct JuceStaticAssert;
error: syntax error before ‘<‘ token
Does anyone have any ideas for me?
Does anyone know what the ‘@’ is doing in the objective c++ code?
Thanks,
Sean
#6
hello ! there.
i am new to the objective c delelopement.
for me objective c is like.
but i have to learn it any how as it is part of my duty.
so, i have a problem.
problem is i can’t set @required and @optional in my protocol file.
i am using mingw32 from windowsxp & i am using gcc compiler.
compiler gives erros something like following
/*
shape.h:2: error: stray ‘@’ in program
shape.h:3: error: syntax error before ‘-‘ token
shape.h:7: error: stray ‘@’ in program
shape.h:8: error: syntax error before ‘-‘ token
main.m: In function `main’:
main.m:11: warning: `rectangle’ may not respond to `-displayArea’
main.m:11: warning: (Messages without a matching method signature
main.m:11: warning: will be assumed to return `id’ and accept
main.m:11: warning: `…’ as arguments.)
main.m:12: warning: `rectangle’ may not respond to `-h’
main.m:16:2: warning: no newline at end of file
*/
Posted: Wed Jul 29, 2015 3:27 am Post subject: Problem with GCC4.8.4 — LLVM-3.5.0 can’t find C++11 capable
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.
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
ian.au Guru
Joined: 07 Apr 2011 Posts: 573 Location: Australia
Posted: Wed Jul 29, 2015 1:50 pm Post subject:
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
Buffoon Veteran
Joined: 17 Jun 2015 Posts: 1369 Location: EU or US
Posted: Wed Jul 29, 2015 1:58 pm Post subject:
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
ian.au Guru
Joined: 07 Apr 2011 Posts: 573 Location: Australia
Posted: Wed Jul 29, 2015 2:14 pm Post subject:
@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
3psus n00b
Joined: 29 Jul 2015 Posts: 9
Posted: Wed Jul 29, 2015 2:22 pm Post subject:
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 …
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
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
Buffoon Veteran
Joined: 17 Jun 2015 Posts: 1369 Location: EU or US
Posted: Wed Jul 29, 2015 2:36 pm Post subject:
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
ian.au Guru
Joined: 07 Apr 2011 Posts: 573 Location: Australia
Posted: Wed Jul 29, 2015 2:58 pm Post subject:
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
3psus n00b
Joined: 29 Jul 2015 Posts: 9
Posted: Wed Jul 29, 2015 3:13 pm Post subject:
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
3psus n00b
Joined: 29 Jul 2015 Posts: 9
Posted: Wed Jul 29, 2015 4:16 pm Post subject:
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
ian.au Guru
Joined: 07 Apr 2011 Posts: 573 Location: Australia
Posted: Wed Jul 29, 2015 4:16 pm Post subject:
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
Buffoon Veteran
Joined: 17 Jun 2015 Posts: 1369 Location: EU or US
Posted: Wed Jul 29, 2015 4:26 pm Post subject:
One more thing to check, is your hard drive healthy?
Back to top
3psus n00b
Joined: 29 Jul 2015 Posts: 9
Posted: Wed Jul 29, 2015 4:38 pm Post subject:
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
Buffoon Veteran
Joined: 17 Jun 2015 Posts: 1369 Location: EU or US
Posted: Wed Jul 29, 2015 4:52 pm Post subject:
Run smartctl -t long on it.
Back to top
ian.au Guru
Joined: 07 Apr 2011 Posts: 573 Location: Australia
Posted: Wed Jul 29, 2015 5:34 pm Post subject:
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.
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
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 51961 Location: 56N 3W
Posted: Wed Jul 29, 2015 6:00 pm Post subject:
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
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 51961 Location: 56N 3W
Posted: Wed Jul 29, 2015 6:09 pm Post subject:
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
ian.au Guru
Joined: 07 Apr 2011 Posts: 573 Location: Australia
Posted: Wed Jul 29, 2015 10:46 pm Post subject:
@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
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