Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
filter/pdftopdf/qpdf_pdftopdf_processor.cc: In Elementfunktion »virtual void QPDF_PDFTOPDF_Processor::setComments(const std::vector<std::basic_string<char> >&)«: filter/pdftopdf/qpdf_pdftopdf_processor.cc:467:17: Fehler: expected initializer before »:« token filter/pdftopdf/qpdf_pdftopdf_processor.cc:472:1: Fehler: expected primary-expression before »}« token filter/pdftopdf/qpdf_pdftopdf_processor.cc:472:1: Fehler: expected »;« before »}« token filter/pdftopdf/qpdf_pdftopdf_processor.cc:472:1: Fehler: expected primary-expression before »}« token filter/pdftopdf/qpdf_pdftopdf_processor.cc:472:1: Fehler: expected »)« before »}« token filter/pdftopdf/qpdf_pdftopdf_processor.cc:472:1: Fehler: expected primary-expression before »}« token filter/pdftopdf/qpdf_pdftopdf_processor.cc:472:1: Fehler: expected »;« before »}« token CXX pdftopdf-qpdf_pdftopdf.o make[1]: *** [pdftopdf-qpdf_pdftopdf_processor.o] Fehler 1 make[1]: *** Warte auf noch nicht beendete Prozesse... CXX pdftopdf-qpdf_cm.o make[1]: Leaving directory `/var/tmp/portage/net-print/cups-filters-1.0.24/work/cups-filters-1.0.24' make: *** [all] Fehler 2 * ERROR: net-print/cups-filters-1.0.24 failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-print/cups-filters-1.0.24'`, * the complete build log and the output of `emerge -pqv '=net-print/cups-filters-1.0.24'`. * The complete build log is located at '/var/tmp/portage/net-print/cups-filters-1.0.24/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-print/cups-filters-1.0.24/temp/environment'. * Working directory: '/var/tmp/portage/net-print/cups-filters-1.0.24/work/cups-filters-1.0.24' * S: '/var/tmp/portage/net-print/cups-filters-1.0.24/work/cups-filters-1.0.24' |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Schattenschlag« (14.09.2012, 08:56)
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
make[1]: *** [pdftopdf-qpdf_pdftopdf_processor.o] Fehler 1 make[1]: *** Warte auf noch nicht beendete Prozesse... make[1]: Leaving directory `/var/tmp/portage/net-print/cups-filters-1.0.24/work/cups-filters-1.0.24' make: *** [all] Fehler 2 * ERROR: net-print/cups-filters-1.0.24 failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-print/cups-filters-1.0.24'`, * the complete build log and the output of `emerge -pqv '=net-print/cups-filters-1.0.24'`. * The complete build log is located at '/var/tmp/portage/net-print/cups-filters-1.0.24/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-print/cups-filters-1.0.24/temp/environment'. * Working directory: '/var/tmp/portage/net-print/cups-filters-1.0.24/work/cups-filters-1.0.24' * S: '/var/tmp/portage/net-print/cups-filters-1.0.24/work/cups-filters-1.0.24' >>> Failed to emerge net-print/cups-filters-1.0.24, Log file: >>> '/var/tmp/portage/net-print/cups-filters-1.0.24/temp/build.log' * Messages for package net-print/cups-1.6.1: * One or more symlinks to directories have been preserved in order to * ensure that files installed via these symlinks remain accessible. This * indicates that the mentioned symlink(s) may be obsolete remnants of an * old install, and it may be appropriate to replace a given symlink with * the directory that it points to. * * /var/run * * Messages for package net-print/cups-1.6.1: * For information about installing a printer and general cups setup * take a look at: http://www.gentoo.org/doc/en/printing-howto.xml * Network browsing for printers is now switched off by default in the config file. * To (re-)enable it, edit /etc/cups/cupsd.conf and set "Browsing On", * afterwards re-start or reload cups. * Messages for package net-print/cups-filters-1.0.24: * ERROR: net-print/cups-filters-1.0.24 failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-print/cups-filters-1.0.24'`, * the complete build log and the output of `emerge -pqv '=net-print/cups-filters-1.0.24'`. * The complete build log is located at '/var/tmp/portage/net-print/cups-filters-1.0.24/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-print/cups-filters-1.0.24/temp/environment'. * Working directory: '/var/tmp/portage/net-print/cups-filters-1.0.24/work/cups-filters-1.0.24' * S: '/var/tmp/portage/net-print/cups-filters-1.0.24/work/cups-filters-1.0.24' * GNU info directory index is up-to-date. |
Quellcode |
|
1 2 3 4 5 |
also auf poppler 0.20.3 wird das benötigt dev-libs/gobject-introspection dev-libs/gobject-introspection-common dev-libs/glib |
Zitat
Quellcode
1 2 3 4 5 6 7 8 filter/pdftopdf/qpdf_pdftopdf_processor.cc: In Elementfunktion »virtual void QPDF_PDFTOPDF_Processor::setComments(const std::vector<std::basic_string<char> >&)«: filter/pdftopdf/qpdf_pdftopdf_processor.cc:467:17: Fehler: expected initializer before »:« token filter/pdftopdf/qpdf_pdftopdf_processor.cc:472:1: Fehler: expected primary-expression before »}« token filter/pdftopdf/qpdf_pdftopdf_processor.cc:472:1: Fehler: expected »;« before »}« token filter/pdftopdf/qpdf_pdftopdf_processor.cc:472:1: Fehler: expected primary-expression before »}« token filter/pdftopdf/qpdf_pdftopdf_processor.cc:472:1: Fehler: expected »)« before »}« token filter/pdftopdf/qpdf_pdftopdf_processor.cc:472:1: Fehler: expected primary-expression before »}« token filter/pdftopdf/qpdf_pdftopdf_processor.cc:472:1: Fehler: expected »;« before »}« token
Quellcode |
|
1 2 3 4 5 6 7 8 9 |
464 void QPDF_PDFTOPDF_Processor::setComments(const std::vector<std::string> &comments) // {{{ 465 { 466 extraheader.clear(); 467 for (auto &it : comments) { 468 assert(it.at(0)=='%'); 469 extraheader.append(it); 470 extraheader.push_back('\n'); 471 } 472 } |
Quellcode |
|
1 2 |
C++11 eingeschaltet? öhm sorry wie und wo einschalten sorry ? das muss ich gestehen kenn ich jetzt nicht .... |
Quellcode |
|
1 2 3 4 5 6 7 |
sys-devel/gcc Latest version available: 4.5.4 Latest version installed: 4.5.4 Size of files: 64,909 kB Homepage: http://gcc.gnu.org/ Description: The GNU Compiler Collection License: GPL-3 LGPL-3 || ( GPL-3 libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.2 |
Sorry das ich mich erst jetzt melde ... war kurz außer Gefecht wegen einer netten Wurzelbehandlung .... autsch :-/
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
$ cat test.cpp #include <iostream> #include <string> #include <vector> int main(int argc, char** argv) { std::vector<std::string> v; for (auto & it : v) { std::cout << it << std::endl; } return 0; } $ g++ -std=c++0x test.cpp $ |
Quellcode |
|
1 2 |
# grep ^pdftopdf_CXXFLAGS /var/tmp/portage/net-print/cups-filters-1.0.24/work/cups-filters-1.0.24/Makefile pdftopdf_CXXFLAGS = -std=c++0x $(pdftopdf_CFLAGS) # -std=c++11 |
Quellcode |
|
1 2 3 4 5 6 7 |
g++ -std=c++0x test.cpp test.cpp: In Funktion »int main(int, char**)«: test.cpp:8:17: Fehler: expected initializer before »:« token test.cpp:11:2: Fehler: expected primary-expression before »return« test.cpp:11:2: Fehler: expected »;« before »return« test.cpp:11:2: Fehler: expected primary-expression before »return« test.cpp:11:2: Fehler: expected »)« before »return« |
Quellcode |
|
1 2 |
grep ^pdftopdf_CXXFLAGS /var/tmp/portage/net-print/cups-filters-1.0.24/work/cups-filters-1.0.24/Makefile pdftopdf_CXXFLAGS = -std=c++0x $(pdftopdf_CFLAGS) # -std=c++11 |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 21 model : 1 model name : AMD FX(tm)-4100 Quad-Core Processor stepping : 2 microcode : 0x6000626 cpu MHz : 3901.512 cache size : 2048 KB physical id : 0 siblings : 4 core id : 0 cpu cores : 2 apicid : 16 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2 popcnt aes xsave avx lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 nodeid_msr topoext perfctr_core arat cpb hw_pstate npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold bogomips : 7803.02 TLB size : 1536 4K pages clflush size : 64 cache_alignment : 64 address sizes : 48 bits physical, 48 bits virtual power management: ts ttp tm 100mhzsteps hwpstate cpb processor : 1 vendor_id : AuthenticAMD cpu family : 21 model : 1 model name : AMD FX(tm)-4100 Quad-Core Processor stepping : 2 microcode : 0x6000626 cpu MHz : 3901.512 cache size : 2048 KB physical id : 0 siblings : 4 core id : 1 cpu cores : 2 apicid : 17 initial apicid : 1 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2 popcnt aes xsave avx lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 nodeid_msr topoext perfctr_core arat cpb hw_pstate npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold bogomips : 7803.02 TLB size : 1536 4K pages clflush size : 64 cache_alignment : 64 address sizes : 48 bits physical, 48 bits virtual power management: ts ttp tm 100mhzsteps hwpstate cpb processor : 2 vendor_id : AuthenticAMD cpu family : 21 model : 1 model name : AMD FX-4100 Quad-Core Processor stepping : 2 microcode : 0x6000626 cpu MHz : 3901.512 cache size : 2048 KB physical id : 0 siblings : 4 core id : 2 cpu cores : 2 apicid : 18 initial apicid : 2 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2 popcnt aes xsave avx lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 nodeid_msr topoext perfctr_core arat cpb hw_pstate npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold bogomips : 7803.02 TLB size : 1536 4K pages clflush size : 64 cache_alignment : 64 address sizes : 48 bits physical, 48 bits virtual power management: ts ttp tm 100mhzsteps hwpstate cpb processor : 3 vendor_id : AuthenticAMD cpu family : 21 model : 1 model name : AMD FX(tm)-4100 Quad-Core Processor stepping : 2 microcode : 0x6000626 cpu MHz : 3901.512 cache size : 2048 KB physical id : 0 siblings : 4 core id : 3 cpu cores : 2 apicid : 19 initial apicid : 3 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2 popcnt aes xsave avx lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 nodeid_msr topoext perfctr_core arat cpb hw_pstate npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold bogomips : 7803.02 TLB size : 1536 4K pages clflush size : 64 cache_alignment : 64 address sizes : 48 bits physical, 48 bits virtual power management: ts ttp tm 100mhzsteps hwpstate cpb |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# These settings were set by the catalyst build script that automatically # built this stage. # Please consult /usr/share/portage/config/make.conf.example for a more # detailed example. CFLAGS="-march=amdfam10 -mtune=amdfam10 -fomit-frame-pointer -O2 -pipe" CXXFLAGS="${CFLAGS}" # WARNING: Changing your CHOST is not something that should be done lightly. # Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing. CHOST="x86_64-pc-linux-gnu" # These are the USE flags that were used in addition to what is provided by the # profile used for building. USE="-gnome -kde -qt4 -minimal -external-fuse -headless nls dbus mmx sse sse2 sse3 sse4_1 ssse3 3dnowext aacplus amr cdio faac ieee1394 python apng png jpeg $ GENTOO_MIRRORS="ftp://gentoo.inode.at/source/" MAKEOPTS="-j5" INPUT_DEVICES="evdev mouse keyboard" VIDEO_CARDS="nvidia" LINGUAS="de" ACCEPT_LICENSE="*" |
Hmm hab es jetzt einmal per copy und paste gemacht und einmal abgeschrieben.... es kommt aber bei mir ein fehler ...
Quellcode
1 2 3 4 5 6 7 g++ -std=c++0x test.cpp test.cpp: In Funktion »int main(int, char**)«: test.cpp:8:17: Fehler: expected initializer before »:« token test.cpp:11:2: Fehler: expected primary-expression before »return« test.cpp:11:2: Fehler: expected »;« before »return« test.cpp:11:2: Fehler: expected primary-expression before »return« test.cpp:11:2: Fehler: expected »)« before »return«
Quellcode |
|
1 2 3 4 5 6 7 8 |
$ gcc --version gcc (Gentoo 4.6.3 p1.6, pie-0.5.2) 4.6.3 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ source /etc/portage/make.conf && echo $CXXFLAGS -march=native -O2 -ggdb -pipe |
Quellcode |
|
1 |
march=native -O2 -ggdb -pipe |
Quellcode |
|
1 2 |
CFLAGS="-march=amdfam10 -mtune=amdfam10 -fomit-frame-pointer -O2 -pipe" CXXFLAGS="${CFLAGS}" |
Quellcode |
|
1 |
CFLAGS="-march=native" |