New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
Sign in
to your account
Closed
dcalixto opened this issue
Sep 3, 2015
· 24 comments
· Fixed by #651
Comments
Installing eventmachine 1.0.8 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/Users/danielcalixto/.rbenv/versions/2.2.2/bin/ruby -r ./siteconf20150902-42332-1kloes5.rb extconf.rb
checking for rb_trap_immediate in ruby.h,rubysig.h… no
checking for rb_thread_blocking_region()… no
checking for ruby/thread.h… yes
checking for rb_thread_call_without_gvl() in ruby/thread.h… yes
checking for inotify_init() in sys/inotify.h… no
checking for __NR_inotify_init in sys/syscall.h… no
checking for writev() in sys/uio.h… yes
checking for rb_thread_fd_select()… yes
checking for rb_fdset_t in ruby/intern.h… yes
checking for pipe2() in unistd.h… no
checking for accept4() in sys/socket.h… no
checking for SOCK_CLOEXEC in sys/socket.h… no
checking for rb_wait_for_single_fd()… yes
checking for rb_enable_interrupt()… no
checking for rb_time_new()… yes
checking for sys/event.h… yes
checking for sys/queue.h… yes
CFLAGS= -O3 -Wno-error=shorten-64-to-32 -pipe -Wall -Wextra -Wno-deprecated-declarations -Wno-ignored-qualifiers -Wno-unused-result
CPPFLAGS=-I/Users/danielcalixto/.rbenv/versions/2.2.2/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT $(DEFS) $(cppflags) -Wall -Wextra -Wno-deprecated-declarations -Wno-ignored-qualifiers -Wno-unused-result
checking for clock_gettime()… no
checking for gethrtime()… no
creating Makefile
make «DESTDIR=» clean
make «DESTDIR=»
compiling binder.cpp
cc1plus: error: unrecognized command line option «-Wno-ignored-qualifiers»
cc1plus: error: unrecognized command line option «-Wno-unused-result»
make: *** [binder.o] Error 1
make failed, exit code 2
Gem files will remain installed in /Users/danielcalixto/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/eventmachine-1.0.8 for inspection.
Results logged to /Users/danielcalixto/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/extensions/x86_64-darwin-11/2.2.0-static/eventmachine-1.0.8/gem_make.out
An error occurred while installing eventmachine (1.0.8), and Bundler cannot continue.
Make sure that gem install eventmachine -v '1.0.8'
succeeds before bundling.
What are your compilers for CC and CXX / CPP ?
@sodabrew i’m using the command line tools for osx
right this is the version: xcode462_cltools_10_76938260a that i installed
Same problem here, ruby 2.2.0, eventmachine 1.0.8, mac os 10.8.5
gcc —version
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
Xcode Version 5.1.1 (5B1008)
Just updating Xcode cli tools to latest version (avaliable for mountain lion), and will try again.
It now compiles, with the latest Xcode cli tools installed.
gcc —version
Configured with: —prefix=/Applications/Xcode.app/Contents/Developer/usr —with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin12.6.0
Thread model: posix
right, one doubt @jackpipe, the latest Xcode that you said, by the way is the 6.4 version?
I’m on mac os 10.8.5, so the latest I can get is 5.1
Looks like the assumption that I can add the same flags to CPPFLAGS as CFLAGS is false. I’ll work on a fix for the next release.
hah! so i’m fucked because i’m using mac os 10.7.5, and seems that the last Xcode compatible is 4.6. and i have any clue to to make a patch to solve this.
@sodabrew this problem is solved if i update to Xcode 4.6?
@dcalixto I installed GCC 5 with Homebrew (brew install gcc
) then I created a symlink to g++-5
(ln -s /usr/local/bin/g++-5 /usr/local/bin/g++
).
Excellent thanks! Installing GCC 5 with homebrew fixed my problem!
@sodabrew As no one replied to you, and I just had this problem myself, I thought I’d mention: #651 fixed it for me; OSX 10.8.5 with Xcode 4.6.3. Specifically, I built from 076a526 (currently master
).
I wonder if you’d consider releasing something now/soon; either 1.0.8.1
or changing the 1.0.9
milestone. Now that Rails >= 5.0.0.beta1
depends on eventmachine, while perhaps many edge Rails developers don’t use an OS/compiler combo as old as mine, this issue might receive more traffic when additional Rails betas and especially final are released. On one hand, it is perhaps a nuisance to be coerced by another project, but on the other, I guess there is about to be a large increase in the number of eventmachine installs and accompanying «issues».
In any case, thanks for the fix!
Thank you for the nudge, and for confirming the fix! I will put together a 1.0.9 release as soon as I can.
So, the issue started coming in
(I was not sure whether to start a new issue or to post in this closed issue. This seemed more relevant.)
I was installing rails-5.0.0.beta1 and eventmachine install failed
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 7.0.2 (clang-700.1.81) Target: x86_64-apple-darwin15.2.0 Thread model: posix
error at some compiler flags
make "DESTDIR=" compiling binder.cpp couldn't understand kern.osversion `15.2.0' cc1plus: error: unrecognized command line option "-Wno-ignored-qualifiers" cc1plus: error: unrecognized command line option "-Wno-unused-result" make: *** [binder.o] Error 1 make failed, exit code 2
I already attempted the g++ symlink step but it did not solve my issue.
- Mac OS X 10.11.2
- Xcode 7.2 (7C68)
- Command Line Tools OS X 10.11 for Xcode 7.2 (released on 2015-12-08)
- ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin15]
- rbenv 0.4.0
I hope this helps. Looking forward to the fix. Thank you.
@ramonrails Using those same OS and CLT versions, I have no problems compiling eventmachine. Do you have an alternate GCC installed via HomeBrew by any chance?
I had. Uninstalled. Installed Xcode command line tools again. restarted machine. eventmachine still does not install.
—— error —-
compiling binder.cpp
couldn’t understand kern.osversion `15.2.0′
cc1plus: error: unrecognized command line option «-Wno-ignored-qualifiers»
cc1plus: error: unrecognized command line option «-Wno-unused-result»
make: *** [binder.o] Error 1
On 03-Jan-2016, at 1:25 PM, Aaron Stone notifications@github.com wrote:
@ramonrails https://github.com/ramonrails Using those same OS and CLT versions, I have no problems compiling eventmachine. Do you have an alternate GCC installed via HomeBrew by any chance?
—
Reply to this email directly or view it on GitHub #634 (comment).
I do have a fix for this pending in the master branch, which I am in process of picking out for a 1.0.9 release. Apologies for the delay on this.
Please try eventmachine-1.0.9 and let me know if it resolves this problem for you!
It does install now. Good help. Thank you @sodabrew
|2.2.3| MacBook-Pro in ~
○ → gem install eventmachine -v 1.0.9
Fetching: eventmachine-1.0.9.gem (100%)
Building native extensions. This could take a while...
Successfully installed eventmachine-1.0.9
1 gem installed
Now I have this happening with 1.0.9 on OSX-10.9.5 with xcode 6.2. whereas 1.0.8 installed fine.
Installing eventmachine 1.0.9 with native extensions Gem::Ext::BuildError: ERROR: Failed to build gem native extension. /opt/local/bin/ruby2.2 -r ./siteconf20160122-19000-1ylghh9.rb extconf.rb *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/opt/local/bin/$(RUBY_BASE_NAME)2.2 --with-ssl-dir --without-ssl-dir --with-ssl-include --without-ssl-include=${ssl-dir}/include --with-ssl-lib --without-ssl-lib=${ssl-dir}/lib --with-openssl-config --without-openssl-config --with-pkg-config --without-pkg-config /opt/local/lib/ruby2.2/2.2.0/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError) You have to install development tools first. from /opt/local/lib/ruby2.2/2.2.0/mkmf.rb:541:in `try_link0' from /opt/local/lib/ruby2.2/2.2.0/mkmf.rb:556:in `try_link' from /opt/local/lib/ruby2.2/2.2.0/mkmf.rb:637:in `try_ldflags' from /opt/local/lib/ruby2.2/2.2.0/mkmf.rb:1780:in `pkg_config' from extconf.rb:64:in `pkg_config_wrapper' from extconf.rb:91:in `' extconf failed, exit code 1 Gem files will remain installed in /Users/byrnejb/Projects/hll_th/hll_th_proforma/libexec/bundle/lib/gems/eventmachine-1.0.9 for inspection. Results logged to /Users/byrnejb/Projects/hll_th/hll_th_proforma/libexec/bundle/lib/extensions/x86_64-darwin-13/2.2.0/eventmachine-1.0.9/gem_make.out
Please try event machine 1.0.9.1
On Fri, January 22, 2016 21:24, Aaron Stone wrote:
Please try event machine 1.0.9.1
Actually I was able to get 1.0.9 to install once I updated my
MacPorts. So, I do not know what it was choking on the first time.
But, whatever it was it seems to have passed for now.
*** e-Mail is NOT a SECURE channel ***
Do NOT transmit sensitive data via e-Mail
James B. Byrne mailto:ByrneJB@Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3
GCC 4.6.x pre-dates support for the C++11 standard so does not provide
-std=c++11
. It anticpates C++11 experimentally and provides -std=c++0x
to enable that experimental support. -std=c++11
is first available in
GCC 4.7.x. If you cannot upgrade to a more recent compiler then change
-std=c++11
to -std=c++0x
.
Contd. for OP’s comments
Perhaps you have not read the INSTALL.TXT
file of the HELib
package?
Specfically:
Before building HElib, you may want to look at the Makefile, and
consider adjusting some of the defaults for CC and CFLAGS. The
defaults should be OK on most systems, but you can see the suggested
options, which are documented in the Makefile.
Following this advice, edit src/Makefile
, find:
CFLAGS = -g -O2 -std=c++11 -pthread -DFHE_THREADS -DFHE_DCRT_THREADS -DFHE_BOOT_THREADS
and change -std=c++11
to -std=c++0x
.
Be aware that the project is not guaranteed to build successfully with gcc 4.6.3
— a very old compiler version — after this change; but without making this change gcc 4.6.3 cannot be used with any degree of C++11 support at all.
You have not given any reason for using such an old compiler.
Выполняется сборка проекта kdchart…
Настройки не изменились, этап qmake пропускается.
Запускается «C:Qt1.1.2mingwbinmingw32-make.exe»
cd src && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[1]: Entering directory `C:/KDAB/kd_chart/2.4.2/src’
mingw32-make[1]: Nothing to be done for `first’.
mingw32-make[1]: Leaving directory `C:/KDAB/kd_chart/2.4.2/src’
cd examples && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[1]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples’
cd tools && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[2]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/tools’
mingw32-make[2]: Nothing to be done for `first’.
mingw32-make[2]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/tools’
cd Widget && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[2]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Widget’
cd Simple && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Widget/Simple’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Widget/Simple’
cd Advanced && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Widget/Advanced’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Widget/Advanced’
cd Parameters && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Widget/Parameters’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Widget/Parameters’
mingw32-make[2]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Widget’
cd DrawIntoPainter && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[2]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/DrawIntoPainter’
mingw32-make[2]: Nothing to be done for `first’.
mingw32-make[2]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/DrawIntoPainter’
cd HeadersFooters && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[2]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/HeadersFooters’
cd Advanced && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/HeadersFooters/Advanced’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/HeadersFooters/Advanced’
cd HeadersFootersSimple && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/HeadersFooters/HeadersFootersSimple’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/HeadersFooters/HeadersFootersSimple’
cd HeadersFootersParameters && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/HeadersFooters/HeadersFootersParameters’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/HeadersFooters/HeadersFootersParameters’
mingw32-make[2]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/HeadersFooters’
cd Legends && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[2]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Legends’
cd LegendAdvanced && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Legends/LegendAdvanced’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Legends/LegendAdvanced’
cd LegendSimple && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Legends/LegendSimple’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Legends/LegendSimple’
cd LegendParameters && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Legends/LegendParameters’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Legends/LegendParameters’
cd LegendOverDiagram && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Legends/LegendOverDiagram’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Legends/LegendOverDiagram’
mingw32-make[2]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Legends’
cd Axis && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[2]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Axis’
cd Labels && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Axis/Labels’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Axis/Labels’
cd Parameters && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Axis/Parameters’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Axis/Parameters’
cd Widget && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Axis/Widget’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Axis/Widget’
cd Chart && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Axis/Chart’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Axis/Chart’
mingw32-make[2]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Axis’
cd SharedAbscissa && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[2]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/SharedAbscissa’
cd SeparateDiagrams && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/SharedAbscissa/SeparateDiagrams’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/SharedAbscissa/SeparateDiagrams’
mingw32-make[2]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/SharedAbscissa’
cd Zoom && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[2]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Zoom’
cd Keyboard && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Zoom/Keyboard’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Zoom/Keyboard’
cd ScrollBars && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Zoom/ScrollBars’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Zoom/ScrollBars’
mingw32-make[2]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Zoom’
cd Pie && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[2]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Pie’
cd Simple && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Pie/Simple’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Pie/Simple’
cd Advanced && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Pie/Advanced’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Pie/Advanced’
cd Parameters && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Pie/Parameters’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Pie/Parameters’
mingw32-make[2]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Pie’
cd Bars && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[2]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Bars’
cd Simple && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Bars/Simple’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Bars/Simple’
cd Parameters && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Bars/Parameters’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Bars/Parameters’
cd Advanced && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Bars/Advanced’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Bars/Advanced’
mingw32-make[2]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Bars’
cd Stock && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[2]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Stock’
cd Advanced && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Stock/Advanced’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Stock/Advanced’
mingw32-make[2]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Stock’
cd Lines && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[2]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Lines’
cd SimpleLineWidget && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Lines/SimpleLineWidget’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Lines/SimpleLineWidget’
cd Advanced && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Lines/Advanced’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Lines/Advanced’
cd AreaPerCell && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Lines/AreaPerCell’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Lines/AreaPerCell’
cd Parameters && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Lines/Parameters’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Lines/Parameters’
cd PointWidget && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Lines/PointWidget’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Lines/PointWidget’
cd PointChart && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Lines/PointChart’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Lines/PointChart’
mingw32-make[2]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Lines’
cd ModelView && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[2]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/ModelView’
cd TableView && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/ModelView/TableView’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/ModelView/TableView’
cd HidingData && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/ModelView/HidingData’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/ModelView/HidingData’
mingw32-make[2]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/ModelView’
cd EmptyValues && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[2]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/EmptyValues’
mingw32-make[2]: Nothing to be done for `first’.
mingw32-make[2]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/EmptyValues’
cd NoValues && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[2]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/NoValues’
mingw32-make[2]: Nothing to be done for `first’.
mingw32-make[2]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/NoValues’
cd Background && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[2]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Background’
mingw32-make[2]: Nothing to be done for `first’.
mingw32-make[2]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Background’
cd Grids && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[2]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Grids’
cd CartesianGrid && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Grids/CartesianGrid’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Grids/CartesianGrid’
cd PolarGrid && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Grids/PolarGrid’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Grids/PolarGrid’
mingw32-make[2]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Grids’
cd RealTime && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[2]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/RealTime’
mingw32-make[2]: Nothing to be done for `first’.
mingw32-make[2]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/RealTime’
cd Polar && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[2]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Polar’
cd Simple && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Polar/Simple’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Polar/Simple’
cd Advanced && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Polar/Advanced’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Polar/Advanced’
cd Parameters && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Polar/Parameters’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Polar/Parameters’
mingw32-make[2]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Polar’
cd Plane && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[2]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Plane’
cd AdjustedBoundaries && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Plane/AdjustedBoundaries’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Plane/AdjustedBoundaries’
cd OverlayedPlanes && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Plane/OverlayedPlanes’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Plane/OverlayedPlanes’
mingw32-make[2]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Plane’
cd TernaryCharts && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[2]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/TernaryCharts’
cd Advanced && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/TernaryCharts/Advanced’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/TernaryCharts/Advanced’
mingw32-make[2]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/TernaryCharts’
cd Plotter && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[2]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Plotter’
cd Simple && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Plotter/Simple’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Plotter/Simple’
cd BubbleChart && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Plotter/BubbleChart’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Plotter/BubbleChart’
cd Advanced && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Plotter/Advanced’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Plotter/Advanced’
cd Timeline && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Plotter/Timeline’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Plotter/Timeline’
mingw32-make[2]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Plotter’
cd LeveyJennings && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[2]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/LeveyJennings’
cd Simple && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/LeveyJennings/Simple’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/LeveyJennings/Simple’
mingw32-make[2]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/LeveyJennings’
cd DataValueTexts && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[2]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/DataValueTexts’
mingw32-make[2]: Nothing to be done for `first’.
mingw32-make[2]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/DataValueTexts’
cd Gantt && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[2]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Gantt’
cd project && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Gantt/project’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Gantt/project’
cd legend_example && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory `C:/KDAB/kd_chart/2.4.2/examples/Gantt/legend_example’
mingw32-make[3]: Nothing to be done for `first’.
mingw32-make[3]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Gantt/legend_example’
mingw32-make[2]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples/Gantt’
mingw32-make[1]: Leaving directory `C:/KDAB/kd_chart/2.4.2/examples’
cd include && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile.KDChart
mingw32-make[1]: Entering directory `C:/KDAB/kd_chart/2.4.2/include’
cd KDChart && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile.KDChart
mingw32-make[2]: Entering directory `C:/KDAB/kd_chart/2.4.2/include/KDChart’
mingw32-make[2]: Nothing to be done for `first’.
mingw32-make[2]: Leaving directory `C:/KDAB/kd_chart/2.4.2/include/KDChart’
cd KDGantt && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile.KDChart
mingw32-make[2]: Entering directory `C:/KDAB/kd_chart/2.4.2/include/KDGantt’
mingw32-make[2]: Nothing to be done for `first’.
mingw32-make[2]: Leaving directory `C:/KDAB/kd_chart/2.4.2/include/KDGantt’
mingw32-make[1]: Leaving directory `C:/KDAB/kd_chart/2.4.2/include’
cd uitools && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[1]: Entering directory `C:/KDAB/kd_chart/2.4.2/uitools’
mingw32-make[1]: Nothing to be done for `first’.
mingw32-make[1]: Leaving directory `C:/KDAB/kd_chart/2.4.2/uitools’
cd plugins && C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile
mingw32-make[1]: Entering directory `C:/KDAB/kd_chart/2.4.2/plugins’
C:/Qt/1.1.2/mingw/bin/mingw32-make -f Makefile.plugins_lib
mingw32-make[2]: Entering directory `C:/KDAB/kd_chart/2.4.2/plugins’
g++ -c -Wno-long-long -pedantic -Wnon-virtual-dtor -Wundef -Wcast-align -Wchar-subscripts -Wpointer-arith -Wwrite-strings -Wpacked -Wformat-security -Wmissing-format-attribute -Woverloaded-virtual -O2 -Wall -Wno-long-long -pedantic -Wnon-virtual-dtor -Wundef -Wcast-align -Wchar-subscripts -Wpointer-arith -Wwrite-strings -Wpacked -Wformat-security -Wmissing-format-attribute -Woverloaded-virtual -frtti -fexceptions -mthreads -DUNICODE -DQT_LARGEFILE_SUPPORT -DUSE_EXCEPTIONS -DKDCHART_VERSION=200 -DKDCHART_MASTER_CVS -DQT_FATAL_ASSERT -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -DQBA_NO_CAST_TO_VOID -DQBA_NO_CAST_TO_ASCII -DKDCHART_STATICLIB -DKDCHART_BUILD_PLUGIN_LIB -DHAVE_KDCHART -DQT_DLL -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_SVG_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I»c:Qt1.1.2DesktopQt4.7.3mingwincludeQtDesigner» -I»c:Qt1.1.2DesktopQt4.7.3mingwincludeQtCore» -I»c:Qt1.1.2DesktopQt4.7.3mingwincludeQtGui» -I»c:Qt1.1.2DesktopQt4.7.3mingwincludeQtXml» -I»c:Qt1.1.2DesktopQt4.7.3mingwincludeQtSvg» -I»c:Qt1.1.2DesktopQt4.7.3mingwincludeQtScript» -I»c:Qt1.1.2DesktopQt4.7.3mingwinclude» -I»..include» -I»..uitools» -I»..include» -I»..src» -I»..extra_include» -I»c:Qt1.1.2DesktopQt4.7.3mingwincludeActiveQt» -I»_moc» -I»_ui» -I»c:Qt1.1.2DesktopQt4.7.3mingwmkspecsdefault» -o _objkdchartdesignerextension.o kdchartdesignerextension.cpp
In file included from kdchartdesignerextension.cpp:25:
kdchartwidgetdesignercustomeditor.h:40: error: ‘Ui’ has not been declared
kdchartwidgetdesignercustomeditor.h:40: error: expected ‘{‘ before ‘KDChartWidgetProperties’
kdchartwidgetdesignercustomeditor.h:41: error: invalid type in declaration before ‘{‘ token
kdchartwidgetdesignercustomeditor.h:41: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
kdchartwidgetdesignercustomeditor.h:42: error: expected primary-expression before ‘public’
kdchartwidgetdesignercustomeditor.h:42: error: expected ‘}’ before ‘public’
kdchartwidgetdesignercustomeditor.h:42: error: expected ‘,’ or ‘;’ before ‘public’
kdchartwidgetdesignercustomeditor.h:42: error: uninitialized const ‘staticMetaObject’
kdchartwidgetdesignercustomeditor.h:42: error: ‘virtual’ outside class declaration
kdchartwidgetdesignercustomeditor.h:42: error: non-member function ‘const QMetaObject* metaObject()’ cannot have cv-qualifier
kdchartwidgetdesignercustomeditor.h:42: error: ‘virtual’ outside class declaration
kdchartwidgetdesignercustomeditor.h:42: error: ‘virtual’ outside class declaration
kdchartwidgetdesignercustomeditor.h:42: error: expected unqualified-id before ‘private’
kdchartwidgetdesignercustomeditor.h:46: error: expected unqualified-id before ‘public’
kdchartwidgetdesignercustomeditor.h:55: error: expected unqualified-id before ‘private’
kdchartwidgetdesignercustomeditor.h:66: error: expected unqualified-id before ‘private’
kdchartwidgetdesignercustomeditor.h:74: error: uninitialized const ‘mChart’
kdchartwidgetdesignercustomeditor.h:76: error: expected declaration before ‘}’ token
mingw32-make[2]: Leaving directory `C:/KDAB/kd_chart/2.4.2/plugins’
mingw32-make[1]: Leaving directory `C:/KDAB/kd_chart/2.4.2/plugins’
mingw32-make[2]: *** [_obj/kdchartdesignerextension.o] Error 1
mingw32-make[1]: *** [sub-plugins_lib-pro-make_default-ordered] Error 2
mingw32-make: *** [sub-plugins-make_default-ordered] Error 2
Процесс «C:Qt1.1.2mingwbinmingw32-make.exe» завершился с кодом 2.
Возникла ошибка при сборке проекта kdchart (цель: Desktop)
Во время выполнения сборки на этапе «Сборка»
Topic: HELP me to fix -Wfatal-error (Read 5610 times)
when I run any program in code::blocks 10.05 I saw this message
cc1plus.exe: error: unrecognized command line option «-Wfatal-errors»
Process terminated with status 1 (0 minutes, 1 seconds)
0 errors, 0 warnings
How can I fix this?
Logged
cc1plus.exe: error: unrecognized command line option «-Wfatal-errors»
Enable full compiler logging (see my sig), re-compile the program and post the full compiler log here, please.
In addition: Please open a command prompt, go to the folder where your compiler is installed (probably in the bin sub-folder) and type:
g++ —version
…and post the full output here, too.
Furthermore: Make sure you don’t have another compiler in your PATH that actually is being called.
Logged
thanks I solve the problem
Logged