Comments (11)
Same error here.
Original comment by [email protected]
on 8 Aug 2008 at 3:20
from fbterm.
[deleted comment]
from fbterm.
#define _GNU_SOURCE
add above line to head of screen.cpp and recompile.
Original comment by [email protected]
on 9 Aug 2008 at 1:40
- Changed state: Accepted
from fbterm.
still same error after apply '#define _GNU_SOURCE'
make[3]: Entering directory `/home/mat/Programming/TarBall/fbterm-1.0/src'
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -fno-exceptions -Ilib
-I/usr/include/freetype2 -MT screen.o -MD -MP -MF .deps/screen.Tpo -c -o
screen.o
screen.cpp
screen.cpp:64:1: warning: "_GNU_SOURCE" redefined
<command line>:1:1: warning: this is the location of the previous definition
screen.cpp: In static member function ‘static Screen*
Screen::createInstance()’:
screen.cpp:84: error: ‘O_CLOEXEC’ was not declared in this scope
make[3]: *** [screen.o] Error 1
make[3]: Leaving directory `/home/mat/Programming/TarBall/fbterm-1.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/mat/Programming/TarBall/fbterm-1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mat/Programming/TarBall/fbterm-1.0'
make: *** [all] Error 2
Original comment by MatLinuxer2
on 9 Aug 2008 at 2:21
from fbterm.
"screen.cpp:64:1: warning: "_GNU_SOURCE" redefined"
add that line before any "#include" lines, not after them.
Original comment by [email protected]
on 10 Aug 2008 at 2:02
from fbterm.
Tried putting that line before the #include lines but I still get the same
redefined
errors as above. Are you actually testing this stuff on Linux distros at all?
Original comment by [email protected]
on 10 Aug 2008 at 3:50
from fbterm.
g++ -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -g -O2 -fno-exceptions -Ilib -I/usr/
include/freetype2 -MT screen.o -MD -MP -MF .deps/screen.Tpo -c -o screen.o
screen.cpp
enter fbterm-1.0/src directory, copy above text to terminal and compile
screen.cpp
manually.
Original comment by [email protected]
on 11 Aug 2008 at 2:03
from fbterm.
[deleted comment]
from fbterm.
If you still get error on above step, download attched file and replace the old
screen.cpp
Original comment by [email protected]
on 11 Aug 2008 at 2:11
Attachments:
from fbterm.
Compilation with the attached file worked. Thanks.
Original comment by [email protected]
on 11 Aug 2008 at 1:52
from fbterm.
Original comment by [email protected]
on 9 Sep 2008 at 1:52
- Changed state: Verified
from fbterm.
Related Issues (20)
- Add bell support
- init font error HOT 3
- Does fterm need virtual tty support in kernel? HOT 2
- compile fail due to missing libx86.h
- 我的 fbterm 显示的这样的字体 只有半边,求解决办法
- Default shell option at .fbtermrc HOT 1
- Fonts have incorrect alignment and spacing in fbterm HOT 1
- Enhancement request: allow changing colours
- 256 colors in elinks under tmux
- will fbterm support composite characters?
- Mouse not working in fbterm; works in default Linux console and X HOT 1
- ugly font
- ugly font
- 由中文切换到英文的时候会多出非正常字符 HOT 1
- fbterm and screen powersave
- Exit value should be non-zero if there is an error HOT 1
- Google Code will close
- Fbterm break non UTF-8 consoles.
- Complex indic language support
- Root escalation if installed setuid as suggested in man page
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fbterm.