Anonymous | Login | Signup for a new account | 2021-01-21 20:02 UTC | ![]() |
Main | My View | View Issues | Roadmap | Repositories |
View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000771 | EMStudio | Build Systems | public | 2012-12-17 17:29 | 2012-12-17 22:04 | ||||
Reporter | sean94z | ||||||||
Assigned To | sean94z | ||||||||
Priority | high | Severity | block | Reproducibility | have not tried | ||||
Status | closed | Resolution | fixed | ||||||
Platform | x86 | OS | Linux | OS Version | Ujunktoo 12.10 | ||||
Product Version | ASAP | ||||||||
Target Version | ASAP | Fixed in Version | |||||||
Summary | 0000771: Error when building ‘read’ was not declared in this scope. | ||||||||
Description | As reported by Ari This one came first: g++ -c -pipe -Wall -Werror -O2 -D_REENTRANT -Wall -W -fPIC -DQT_WEBKIT -DQT_NO_WARNING_OUTPUT -DQT_NO_DEBUG_OUTPUT -DSERIALIO_LIB -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -Isrc -Isrc/inc -Isrc/inc/public -I. -o AsyncRead.o src/AsyncRead.cpp src/AsyncRead.cpp: In member function ‘virtual void IPDS::AsyncRead::run()’: src/AsyncRead.cpp:68:33: error: ‘read’ was not declared in this scope make: *** [AsyncRead.o] Error 1 Added unit.h into inc/AsyncRead.h and then it stopped here: g++ -c -pipe -Wall -Werror -O2 -D_REENTRANT -Wall -W -fPIC -DQT_WEBKIT -DQT_NO_WARNING_OUTPUT -DQT_NO_DEBUG_OUTPUT -DSERIALIO_LIB -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -Isrc -Isrc/inc -Isrc/inc/public -I. -o AsyncWrite.o src/AsyncWrite.cpp src/AsyncWrite.cpp: In member function ‘virtual void IPDS::AsyncWrite::run()’: src/AsyncWrite.cpp:44:33: error: ‘write’ was not declared in this scope make: *** [AsyncWrite.o] Error 1 Did same thing with inc/AsyncWrite.h and voila. Hope this helps! | ||||||||
Tags | No tags attached. | ||||||||
Issue Type | Bug | ||||||||
Attached Files | |||||||||
![]() |
|
![]() sean94z (reporter) 2012-12-17 22:03 |
<MrOnion> seank-efi: the serialio compiles ok now on my ubuntu <seank-efi> sweet, thx for taking the time to follow up with it <seank-efi> ill close the issue |
![]() sean94z (reporter) 2012-12-17 22:04 |
commit 8111db7dc8a8cbb28e39dd0d1c02b098083f8a03 Author: Sean Keys <skeys@ipdatasys.com> Date: Mon Dec 17 10:51:14 2012 -0700 [0000771] It seems some gcc enviornments dont automatically include the unistd.h header. |
Copyright © 2000 - 2011 MantisBT Group |