1. Dashboard
  2. Forum
    1. Unerledigte Themen
  3. Mitglieder
    1. Letzte Aktivitäten
    2. Benutzer online
    3. Team-Mitglieder
    4. Trophäen
    5. Mitgliedersuche
  4. Tutorial Bereich
  • Anmelden
  • Registrieren
  • Suche
Alles
  • Alles
  • Seiten
  • Forum
  • Lexikon
  • Erweiterte Suche
  1. Informatik Forum
  2. Mitglieder
  3. baracuda

Beiträge von baracuda

  • tuscany-sca-cpp compile error

    • baracuda
    • 21. Februar 2010 um 15:16

    Hi,

    Ich versuche gerade die Apache Native (c++) Tuscany zu kompilieren (http://tuscany.apache.org).
    Mittels git habe ich die sources ausgechecked (git://git.apache.org/tuscany-sca-cp).

    Mehrere Sachen sind problematisch.
    1.) bootsrap
    Beim ersten Durchlauf bekomme ich folgenden Fehler:

    Code
    Running libtoolize --force...libtoolize: putting auxiliary files in `.'.
    libtoolize: linking file `./ltmain.sh'
    libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
    libtoolize: linking file `m4/libtool.m4'
    libtoolize: linking file `m4/ltoptions.m4'
    libtoolize: linking file `m4/ltsugar.m4'
    libtoolize: linking file `m4/ltversion.m4'
    libtoolize: linking file `m4/lt~obsolete.m4'
    done.
    Running aclocal...done.
    Running autoconf...configure.ac:346: error: possibly undefined macro: AC_PROG_JAVAC
          If this token and others are legitimate, please use m4_pattern_allow.
          See the Autoconf documentation.
    configure.ac:347: error: possibly undefined macro: AC_PROG_JAR
    Alles anzeigen



    Beim zweiten durchlauf scheint das macro dann definiert zu sein, und bootstrap beendet erfolgreich.

    Dann lasse ich ./configure laufen.

    Code
    ./configure --prefix=/home/mario/native-sca-1.0.incubating-M3/deploy --with-apr=/home/mario/httpd-2.2.14/deploy --with-httpd=/home/mario/httpd-2.2.14/deploy --with-libcurl=/usr --with-libxml2=/usr



    make erzeugt dann folgendne Fehler

    Code
    [COLOR=#1f497d]make: *** No targets specified and no makefile found.  Stop.[/COLOR]
    [COLOR=#1f497d]mario@ubuntu:~$ cd native-sca-1.0.incubating-M3/[/COLOR]
    [COLOR=#1f497d][COLOR=#0000ff]mario@ubuntu:~/native-sca-1.0.incubating-M3$[/COLOR] make[/COLOR]
    [COLOR=#1f497d]make  all-recursive[/COLOR]
    [COLOR=#1f497d]make[1]: Entering directory `/home/mario/native-sca-1.0.incubating-M3'[/COLOR]
    [COLOR=#1f497d]Making all in kernel[/COLOR]
    [COLOR=#1f497d]make[2]: Entering directory `/home/mario/native-sca-1.0.incubating-M3/kernel'[/COLOR]
    [COLOR=#1f497d]make[2]: Nothing to be done for `all'.[/COLOR]
    [COLOR=#1f497d]make[2]: Leaving directory `/home/mario/native-sca-1.0.incubating-M3/kernel'[/COLOR]
    [COLOR=#1f497d]Making all in modules[/COLOR]
    [COLOR=#1f497d]make[2]: Entering directory `/home/mario/native-sca-1.0.incubating-M3/modules'[/COLOR]
    [COLOR=#1f497d]Making all in scheme[/COLOR]
    [COLOR=#1f497d]make[3]: Entering directory `/home/mario/native-sca-1.0.incubating-M3/modules/scheme'[/COLOR]
    [COLOR=#1f497d]g++ -DHAVE_CONFIG_H -I. -I../..     -I. -I/home/mario/tuscany_sca_native-1.0-incubator-M3-src/deploy/kernel -I/home/mario/httpd-2.2.14/deploy/include -I/usr/include/libxml2 -I/usr/include/xulrunner-1.9.1.7/unstable -I/usr/include -O3 -std=c++0x -fmessage-length=0 -MT eval-test.o -MD -MP -MF .deps/eval-test.Tpo -c -o eval-test.o eval-test.cpp[/COLOR]
    [COLOR=#1f497d]eval-test.cpp:27:22: error: stream.hpp: No such file or directory[/COLOR]
    [COLOR=#1f497d]eval-test.cpp:28:22: error: string.hpp: No such file or directory[/COLOR]
    [COLOR=#1f497d]In file included from driver.hpp:31,[/COLOR]
    [COLOR=#1f497d]                from eval-test.cpp:29:[/COLOR]
    [COLOR=#1f497d]eval.hpp:30:20: error: list.hpp: No such file or directory[/COLOR]
    [COLOR=#1f497d]eval.hpp:31:21: error: value.hpp: No such file or directory[/COLOR]
    [COLOR=#1f497d]In file included from eval.hpp:32,[/COLOR]
    [COLOR=#1f497d]                from driver.hpp:31,[/COLOR]
    [COLOR=#1f497d]                from eval-test.cpp:29:[/COLOR]
    [COLOR=#1f497d]primitive.hpp:32:24: error: function.hpp: No such file or directory[/COLOR]
    [COLOR=#1f497d]In file included from eval.hpp:32,[/COLOR]
    [COLOR=#1f497d]                from driver.hpp:31,[/COLOR]
    [COLOR=#1f497d]                from eval-test.cpp:29:[/COLOR]
    [COLOR=#1f497d]primitive.hpp:39: error: ‘value’ does not name a type[/COLOR]
    [COLOR=#1f497d]primitive.hpp:40: error: ‘value’ does not name a type[/COLOR]
    [COLOR=#1f497d]primitive.hpp:41: error: ‘value’ does not name a type[/COLOR]
    [COLOR=#1f497d]primitive.hpp:46: error: expected constructor, destructor, or type conversion before ‘*’ token[/COLOR]
    [COLOR=#1f497d]primitive.hpp:51: error: expected constructor, destructor, or type conversion before ‘*’ token[/COLOR]
    [COLOR=#1f497d]primitive.hpp:53: error: ‘ostream’ was not declared in this scope[/COLOR]
    [COLOR=#1f497d]primitive.hpp:53: error: ‘out’ was not declared in this scope[/COLOR]
    [COLOR=#1f497d]primitive.hpp:53: error: expected ‘,’ or ‘;’ before ‘{’ token[/COLOR]
    [COLOR=#1f497d]primitive.hpp:58: error: expected constructor, destructor, or type conversion before ‘&’ token[/COLOR]
    [COLOR=#1f497d]primitive.hpp:64: error: ‘ostream’ was not declared in this scope[/COLOR]
    [COLOR=#1f497d]primitive.hpp:64: error: ‘out’ was not declared in this scope[/COLOR]
    [COLOR=#1f497d]primitive.hpp:64: error: expected ‘,’ or ‘;’ before ‘{’ token[/COLOR]
    [COLOR=#1f497d]primitive.hpp:69: error: expected constructor, destructor, or type conversion before ‘&’ token[/COLOR]
    [COLOR=#1f497d]primitive.hpp:75: error: ‘value’ does not name a type[/COLOR]
    [COLOR=#1f497d]primitive.hpp:79: error: ‘value’ does not name a type[/COLOR]
    [COLOR=#1f497d]primitive.hpp:83: error: ‘value’ does not name a type[/COLOR]
    [COLOR=#1f497d]primitive.hpp:87: error: ‘value’ does not name a type[/COLOR]
    [COLOR=#1f497d]primitive.hpp:91: error: ‘value’ does not name a type[/COLOR]
    [COLOR=#1f497d]primitive.hpp:95: error: ‘value’ does not name a type[/COLOR]
    [COLOR=#1f497d]primitive.hpp:104: error: ‘value’ does not name a type[/COLOR]
    [COLOR=#1f497d]primitive.hpp:108: error: ‘value’ does not name a type[/COLOR]
    [COLOR=#1f497d]primitive.hpp:114: error: ‘value’ does not name a type[/COLOR]
    [COLOR=#1f497d]primitive.hpp:120: error: ‘value’ does not name a type[/COLOR]
    [COLOR=#1f497d]primitive.hpp:124: error: ‘value’ does not name a type[/COLOR]
    [COLOR=#1f497d]primitive.hpp:128: error: ‘value’ does not name a type[/COLOR]
    [COLOR=#1f497d]primitive.hpp:137: error: ‘value’ does not name a type[/COLOR]
    [COLOR=#1f497d]primitive.hpp:146: error: ‘value’ does not name a type[/COLOR]
    [COLOR=#1f497d]primitive.hpp:154: error: ‘value’ does not name a type[/COLOR]
    [COLOR=#1f497d]primitive.hpp:158: error: ‘value’ does not name a type[/COLOR]
    [COLOR=#1f497d]primitive.hpp:162: error: ‘value’ does not name a type[/COLOR]
    [COLOR=#1f497d]primitive.hpp:166: error: ‘value’ does not name a type[/COLOR]
    [COLOR=#1f497d]primitive.hpp:170: error: ‘value’ does not name a type[/COLOR]
    [COLOR=#1f497d]primitive.hpp:174: error: ‘value’ does not name a type[/COLOR]
    [COLOR=#1f497d]primitive.hpp:178: error: ‘value’ does not name a type[/COLOR]
    [COLOR=#1f497d]primitive.hpp:182: error: ‘value’ does not name a type[/COLOR]
    [COLOR=#1f497d]primitive.hpp:186: error: ‘value’ does not name a type[/COLOR]
    [COLOR=#1f497d]primitive.hpp:191: error: expected ‘,’ or ‘...’ before ‘&’ token[/COLOR]
    [COLOR=#1f497d]primitive.hpp:191: error: ISO C++ forbids declaration of ‘value’ with no type[/COLOR]
    [COLOR=#1f497d]primitive.hpp: In function ‘const bool tuscany::scheme::isPrimitiveProcedure(int)’:[/COLOR]
    [COLOR=#1f497d]primitive.hpp:192: error: ‘proc’ was not declared in this scope[/COLOR]
    [COLOR=#1f497d]primitive.hpp:192: error: ‘primitiveSymbol’ was not declared in this scope[/COLOR]
    [COLOR=#1f497d]primitive.hpp:192: error: ‘isTaggedList’ was not declared in this scope[/COLOR]
    [COLOR=#1f497d]primitive.hpp: At global scope:[/COLOR]
    [COLOR=#1f497d]primitive.hpp:195: error: expected ‘,’ or ‘...’ before ‘&’ token[/COLOR]
    [COLOR=#1f497d]primitive.hpp:195: error: ISO C++ forbids declaration of ‘value’ with no type[/COLOR]
    [COLOR=#1f497d]primitive.hpp: In function ‘const bool tuscany::scheme::isSelfEvaluating(int)’:[/COLOR]
    [COLOR=#1f497d]primitive.hpp:196: error: ‘exp’ was not declared in this scope[/COLOR]
    [COLOR=#1f497d]primitive.hpp:196: error: ‘isNil’ was not declared in this scope[/COLOR]
    [COLOR=#1f497d]primitive.hpp:198: error: ‘exp’ was not declared in this scope[/COLOR]
    [COLOR=#1f497d]primitive.hpp:198: error: ‘isNumber’ was not declared in this scope[/COLOR]
    [COLOR=#1f497d]primitive.hpp:200: error: ‘exp’ was not declared in this scope[/COLOR]
    [COLOR=#1f497d]primitive.hpp:200: error: ‘isString’ was not declared in this scope[/COLOR]
    [COLOR=#1f497d]primitive.hpp:202: error: ‘exp’ was not declared in this scope[/COLOR]
    [COLOR=#1f497d]primitive.hpp:202: error: ‘isBool’ was not declared in this scope[/COLOR]
    [COLOR=#1f497d]primitive.hpp:204: error: ‘exp’ was not declared in this scope[/COLOR]
    [COLOR=#1f497d]primitive.hpp:204: error: ‘isLambda’ was not declared in this scope[/COLOR]
    [COLOR=#1f497d]primitive.hpp: At global scope:[/COLOR]
    [COLOR=#1f497d]primitive.hpp:209: error: ‘value’ does not name a type[/COLOR]
    [COLOR=#1f497d]primitive.hpp:213: error: expected initializer before ‘primitiveProcedure’[/COLOR]
    [COLOR=#1f497d]primitive.hpp:217: error: expected initializer before ‘<’ token[/COLOR]
    [COLOR=#1f497d]primitive.hpp:243: error: expected initializer before ‘<’ token[/COLOR]
    [COLOR=#1f497d]primitive.hpp:269: error: expected ‘,’ or ‘...’ before ‘&’ token[/COLOR]
    [COLOR=#1f497d]primitive.hpp:269: error: ISO C++ forbids declaration of ‘value’ with no type[/COLOR]
    [COLOR=#1f497d]primitive.hpp: In function ‘const bool tuscany::scheme::isFalse(int)’:[/COLOR]
    [COLOR=#1f497d]primitive.hpp:270: error: ‘exp’ was not declared in this scope[/COLOR]
    [COLOR=#1f497d]primitive.hpp: At global scope:[/COLOR]
    [COLOR=#1f497d]primitive.hpp:273: error: expected ‘,’ or ‘...’ before ‘&’ token[/COLOR]
    [COLOR=#1f497d]primitive.hpp:273: error: ISO C++ forbids declaration of ‘value’ with no type[/COLOR]
    [COLOR=#1f497d]primitive.hpp: In function ‘const bool tuscany::scheme::isTrue(int)’:[/COLOR]
    [COLOR=#1f497d]primitive.hpp:274: error: ‘exp’ was not declared in this scope[/COLOR]
    [COLOR=#1f497d]primitive.hpp: At global scope:[/COLOR]
    [COLOR=#1f497d]primitive.hpp:277: error: expected ‘,’ or ‘...’ before ‘&’ token[/COLOR]
    [COLOR=#1f497d]primitive.hpp:277: error: ISO C++ forbids declaration of ‘value’ with no type[/COLOR]
    [COLOR=#1f497d]primitive.hpp: In function ‘const bool tuscany::scheme::isQuoted(int)’:[/COLOR]
    [COLOR=#1f497d]primitive.hpp:278: error: ‘exp’ was not declared in this scope[/COLOR]
    [COLOR=#1f497d]primitive.hpp:278: error: ‘quoteSymbol’ was not declared in this scope[/COLOR]
    [COLOR=#1f497d]primitive.hpp:278: error: ‘isTaggedList’ was not declared in this scope[/COLOR]
    [COLOR=#1f497d]primitive.hpp: At global scope:[/COLOR]
    [COLOR=#1f497d]primitive.hpp:281: error: ‘value’ does not name a type[/COLOR]
    [COLOR=#1f497d]primitive.hpp:285: error: ‘value’ does not name a type[/COLOR]
    [COLOR=#1f497d]In file included from eval.hpp:33,[/COLOR]
    [COLOR=#1f497d]                from driver.hpp:31,[/COLOR]
    [COLOR=#1f497d]                from eval-test.cpp:29:[/COLOR]
    [COLOR=#1f497d]io.hpp:40: error: ‘value’ does not name a type[/COLOR]
    [COLOR=#1f497d]io.hpp:41: error: ‘value’ does not name a type[/COLOR]
    [COLOR=#1f497d]io.hpp:42: error: ‘value’ does not name a type[/COLOR]
    [COLOR=#1f497d]io.hpp:44: error: expected ‘,’ or ‘...’ before ‘&’ token[/COLOR]
    [COLOR=#1f497d]io.hpp:44: error: ISO C++ forbids declaration of ‘string’ with no type[/COLOR]
    [COLOR=#1f497d]io.hpp: In function ‘const double tuscany::scheme::stringToNumber(int)’:[/COLOR]
    [COLOR=#1f497d]io.hpp:45: error: ‘str’ was not declared in this scope[/COLOR]
    [COLOR=#1f497d]io.hpp:45: error: ‘c_str’ was not declared in this scope[/COLOR]
    [COLOR=#1f497d]io.hpp:45: error: ‘atof’ was not declared in this scope[/COLOR]
    [COLOR=#1f497d]io.hpp: At global scope:[/COLOR]
    [COLOR=#1f497d]io.hpp:64: error: expected ‘,’ or ‘...’ before ‘&’ token[/COLOR]
    [COLOR=#1f497d]io.hpp:64: error: ISO C++ forbids declaration of ‘value’ with no type[/COLOR]
    [COLOR=#1f497d]io.hpp: In function ‘const bool tuscany::scheme::isLeftParenthesis(int)’:[/COLOR]
    [COLOR=#1f497d]io.hpp:65: error: ‘leftParenthesis’ was not declared in this scope[/COLOR]
    [COLOR=#1f497d]io.hpp:65: error: ‘token’ was not declared in this scope[/COLOR]
    [COLOR=#1f497d]io.hpp: At global scope:[/COLOR]
    [COLOR=#1f497d]io.hpp:68: error: expected ‘,’ or ‘...’ before ‘&’ token[/COLOR]
    [COLOR=#1f497d]io.hpp:68: error: ISO C++ forbids declaration of ‘value’ with no type[/COLOR]
    [COLOR=#1f497d]io.hpp: In function ‘const bool tuscany::scheme::isRightParenthesis(int)’:[/COLOR]
    [COLOR=#1f497d]io.hpp:69: error: ‘rightParenthesis’ was not declared in this scope[/COLOR]
    [COLOR=#1f497d]io.hpp:69: error: ‘token’ was not declared in this scope[/COLOR]
    [COLOR=#1f497d]io.hpp: At global scope:[/COLOR]
    [COLOR=#1f497d]io.hpp:72: error: ‘istream’ was not declared in this scope[/COLOR]
    [COLOR=#1f497d]io.hpp:72: error: ‘in’ was not declared in this scope[/COLOR]
    [COLOR=#1f497d]io.hpp:72: error: expected ‘,’ or ‘;’ before ‘{’ token[/COLOR]
    [COLOR=#1f497d]In file included from /usr/include/c++/4.3/new:45,[/COLOR]
    [COLOR=#1f497d]                from /usr/include/c++/4.3/ext/new_allocator.h:37,[/COLOR]
    [COLOR=#1f497d]                from /usr/include/c++/4.3/i486-linux-gnu/bits/c++allocator.h:39,[/COLOR]
    [COLOR=#1f497d]                from /usr/include/c++/4.3/bits/allocator.h:53,[/COLOR]
    [COLOR=#1f497d]                from /usr/include/c++/4.3/string:48,[/COLOR]
    [COLOR=#1f497d]                from environment.hpp:33,[/COLOR]
    [COLOR=#1f497d]                from eval.hpp:34,[/COLOR]
    [COLOR=#1f497d]                from driver.hpp:31,[/COLOR]
    [COLOR=#1f497d]                from eval-test.cpp:29:[/COLOR]
    [COLOR=#1f497d]/usr/include/c++/4.3/exception:40: error: expected `}' before end of line[/COLOR]
    [COLOR=#1f497d]/usr/include/c++/4.3/exception:40: error: expected `}' before end of line[/COLOR]
    [COLOR=#1f497d]/usr/include/c++/4.3/exception:40: error: expected declaration before end of line[/COLOR]
    [COLOR=#1f497d]make[3]: *** [eval-test.o] Error 1[/COLOR]
    [COLOR=#1f497d]make[3]: Leaving directory `/home/mario/native-sca-1.0.incubating-M3/modules/scheme'[/COLOR]
    [COLOR=#1f497d]make[2]: *** [all-recursive] Error 1[/COLOR]
    [COLOR=#1f497d]make[2]: Leaving directory `/home/mario/native-sca-1.0.incubating-M3/modules'[/COLOR]
    [COLOR=#1f497d]make[1]: *** [all-recursive] Error 1[/COLOR]
    [COLOR=#1f497d]make[1]: Leaving directory `/home/mario/native-sca-1.0.incubating-M3'[/COLOR]
    [COLOR=#1f497d]make: *** [all] Error 2[/COLOR]
    Alles anzeigen



    Mich verwundert folgende Ausgabe vor dem Fehler. -I/usr/include/xulrunner-1.9.1.7/unstable existiert gar nicht bei mir. DAs dürfte jedoch denke ich nichts mit dem Error zu tun haben da stream.hpp in libboost dabei sein müsste.

    Code
    [COLOR=#1f497d]g++ -DHAVE_CONFIG_H -I. -I../..     -I. -I/home/mario/tuscany_sca_native-1.0-incubator-M3-src/deploy/kernel -I/home/mario/httpd-2.2.14/deploy/include -I/usr/include/libxml2 -I/usr/include/xulrunner-1.9.1.7/unstable -I/usr/include -O3 -std=c++0x -fmessage-length=0 -MT eval-test.o -MD -MP -MF .deps/eval-test.Tpo -c -o eval-test.o eval-test.cpp[/COLOR]
  • Compile Error referent_storage.hpp

    • baracuda
    • 16. Februar 2010 um 16:03

    Ich habe den 4.1 und den 4.3 installiert gehabt. Den 4.1 ins gcc gelinked. KA hat dann dennoch nicht hingehauen. Ich hab dann n update auf 4.3.3 gemacht. Seitdem hauts hin.
    Danke jedenfalls.

  • Compile Error referent_storage.hpp

    • baracuda
    • 14. Februar 2010 um 22:33

    Hallo,

    Ich versuche gerade qpidc0.5 (http://qpid.apache.org ) zu compilen.
    ICh verwende Ubuntu 9.04 und gcc 4.1. Boost 1.35.

    ./configure haut hin nur beim make gibt es probleme. Ich musste von gcc 4.3 dowgraden auf 4.1, da es sonst zu anderen compiel errors kam.
    Jetzt bekomme ich die Fehlermeldung

    Code
    /usr/include/boost/parameter/aux_/maybe.hpp:13:53: error:  boost/python/detail/referent_storage.hpp: No such file or directory

    Ich habe versucht die libboost-python1.35-dev [FONT=&quot]zu installieren, das führt jedoch dazu, dass auch automatisch wieder gcc 4.3 installiert wird.

    Anbei die ganze Fehlermeldung

    [/FONT]

    Code
    [I]In file included from /usr/include/boost/parameter/aux_/arg_list.hpp:14,[/I]
      [I]                 from /usr/include/boost/parameter/parameters.hpp:40,[/I]
      [I]                 from /usr/include/boost/parameter.hpp:11,[/I]
      [I]                 from gen/qpid/client/arg.h:31,[/I]
      [I]                 from gen/qpid/client/Session_0_10.h:31,[/I]
      [I]                 from ./qpid/client/Session.h:24,[/I]
      [I]                 from qpid/client/Connection.h:26,[/I]
      [I]                 from qpid/client/Connection.cpp:21:[/I]
      [I]/usr/include/boost/parameter/aux_/maybe.hpp:13:53: error: boost/python/detail/referent_storage.hpp: No such file or directory[/I]
      [I]/usr/include/boost/parameter/aux_/maybe.hpp:90: error: 'boost::python' has not been declared[/I]
      [I]/usr/include/boost/parameter/aux_/maybe.hpp:90: error: expected unqualified-id before '<' token[/I]
      [I]/usr/include/boost/parameter/aux_/maybe.hpp: In member function 'typename boost::add_reference<typename boost::add_const<T>::type>::type boost::parameter::aux::maybe<T>::construct2(const U&) const':[/I]
      [I]/usr/include/boost/parameter/aux_/maybe.hpp:59: error: 'm_storage' was not declared in this scope[/I]
      [I]/usr/include/boost/parameter/aux_/maybe.hpp: In member function 'void boost::parameter::aux::maybe<T>::destroy()':[/I]
      [I]/usr/include/boost/parameter/aux_/maybe.hpp:72: error: 'm_storage' was not declared in this scope[/I]
    Alles anzeigen

    [FONT=&quot]
    Kennt jemand dieses Problem?
    [/FONT]

  • Programme automatisch mit Admin rechten straten unter XP

    • baracuda
    • 10. Februar 2006 um 12:59

    Wie kann ich programme in Windows XP automatisch mit administrator rechten starten lassen ohne sie umständlich mittels "ausführen als..." zu starten. Weiters noch eine frage. Es gibt in WindowsXP zwar den Befehl su, nur wenn ich den verwende um mir kurzfristig Admin rechte anzueignen dann meint Windows den entsprechenden user nicht zu kennen.

  • Echte Zufallszahlen softwaremässig erstellen

    • baracuda
    • 9. Januar 2006 um 22:08

    Hmm vielleicht könntest du ja mittels pseudozufallszahlen einen bereich im speicher addressieren und diesen dann auslesen. Der ausgelesene Wert sollte , falls du nicht einen bereich erwischt der homogen ist dann relativ zufällig sein.

  • C# webcam

    • baracuda
    • 29. Dezember 2005 um 18:31

    Ich versuche mit C# eine Webcam anzusprechen. Dazu gibt es einen tollen demo code den ich ausgetestet habe. Leider bekomme ich nur komplett schwarze Bilder. Die Webcam (Logitec Quick Cam Chat) ist ok. Hab sie mit anderer Software getestet. Hier findet man den Quellcode :http://msdn.microsoft.com/coding4fun/som…aspx?print=true

  • gcc-core avr

    • baracuda
    • 25. Juli 2005 um 18:36

    Ich möchte gcc-core installieren und nachher einsetzen um für die avr micrcontroller serie programme zu übersetzten. Dies funktioniert jedoch nicht da make mit einer Fehlermeldung abbricht.

    Hier die Fehlerausgabe:

    Zitat


    /root/Desktop/gcc-4.0.0/gcc/config/avr/libgcc.S: Assembler messages:
    /root/Desktop/gcc-4.0.0/gcc/config/avr/libgcc.S:72: Error: suffix or operands invalid for `clr'
    /root/Desktop/gcc-4.0.0/gcc/config/avr/libgcc.S:72: Error: no such instruction: `clear result'
    /root/Desktop/gcc-4.0.0/gcc/config/avr/libgcc.S:74: Error: no such instruction: `sbrc r24,0'
    /root/Desktop/gcc-4.0.0/gcc/config/avr/libgcc.S:75: Error: too many memory references for `add'
    /root/Desktop/gcc-4.0.0/gcc/config/avr/libgcc.S:76: Error: too many memory references for `add'
    /root/Desktop/gcc-4.0.0/gcc/config/avr/libgcc.S:76: Error: no such instruction: `shift multiplicand'
    /root/Desktop/gcc-4.0.0/gcc/config/avr/libgcc.S:77: Error: no such instruction: `breq __mulqi3_exit'
    /root/Desktop/gcc-4.0.0/gcc/config/avr/libgcc.S:77: Error: no such instruction: `while multiplicand!=0'
    /root/Desktop/gcc-4.0.0/gcc/config/avr/libgcc.S:78: Error: no such instruction: `lsr r24'
    /root/Desktop/gcc-4.0.0/gcc/config/avr/libgcc.S:79: Error: no such instruction: `brne __mulqi3_loop'
    /root/Desktop/gcc-4.0.0/gcc/config/avr/libgcc.S:79: Error: no such instruction: `exit if multiplier=0'
    /root/Desktop/gcc-4.0.0/gcc/config/avr/libgcc.S:81: Error: too many memory references for `mov'
    /root/Desktop/gcc-4.0.0/gcc/config/avr/libgcc.S:81: Error: no such instruction: `result to return register'
    make[1]: *** [libgcc/./_mulqi3.o] Fehler 1
    make: *** [stmp-multilib] Fehler 2

    Alles anzeigen

    Das Configure skript habe ich folgendermaßen gestartet

    configure --target=avr --prefix=/usr/local/avr --disable-nls --enable-languages="c"

    Danach kommt make was halt abbircht.

    GNU Binutils habe ich die version binutils-2.14.90.6-3.

    Die AVR-LIBC kann ich ohne die avr sachen nicht installieren.

    Weiss jemand woran das liegen könnte.

    Achja ich habe auch die versionen (gcc-core) 3.1, und 4.0.1 ausprobiert. Überall der gleiche Fehler,

  • stty

    • baracuda
    • 10. Mai 2005 um 22:56

    Hallo!

    Kennt sich jemand mit dem stty Befehl aus? Ich möchte gerne die Serielle Schnittstelle unter Linux einstellen.
    Genaugenommen ttyS0 auf 19200 Baud
    8 Datenbits
    1 Stoppbit
    Kein Parity
    Keine Flusskontrolle

    Wie würd der Befehl dazu ausschauen?

  • htaccess htpasswd bei AON

    • baracuda
    • 30. März 2005 um 10:43

    Kann mir jemand sagen wie die htaccess (genaugnommen der Absolute Pfad zur htpasswd) bei AON ausschauen muss. Hab schon einiges ausprobiert hat aber nie funktioniert. Passwort ist auch verschlüsselt. Sagt aber immer passwort oder username falsh.

  • Raid

    • baracuda
    • 30. November 2004 um 13:31
    Zitat von Paulchen

    raid 0 ist doch ein disk-array (raid 1 ist das redundante system), d. h. die zwei 40 gb-platten werden zu einer 80 gb-platte fusioniert; die darauf gespeicherten daten werden aus performancegründen auf die zwei platten aufgeteilt; wenn du also eine der platten herausnimmst, wird dir die hälfte der daten fehlen, im normalfall wirst du mit der verbliebenen hälfte nicht viel mehr anfangen können (so stell ich mir das zumindest vor).

    Da hast du recht, dass raid 0 nicht das redundante System ist. Ich habe in endeffekt auch 80 GB Speicher. Mein Problem ist folgendes:

    Ich möchte die vermutlich defekte Platte prüfen. Dafür gibt es von Seagate ein Tool. Das Problem, er kann keine Prüfung durchführen, weil er nicht die Physikalischen 2 Festplatten erkennt, sondern halt nur die vom Controller angebotene 80 GB (2*40) "Virtuelle" Platte.
    Daher möchte ich von PC1 (welcher über das Raid verfügt) die eine Platte hinaus nehmen und in PC2 anstecken um sie mittels des Testprogramm (welches über eine CD mittels eines kleinen DOS bootet) überprüfen. Danach gebe ich sie wieder in PC1 zurück. Die Frage ist nun ob dies problemlos funktioniert. Ich meine wird allein durch das Testen die vorhandene Struktur beeinflusst oder nicht?

  • Raid

    • baracuda
    • 29. November 2004 um 15:11

    Ich habe ein Raid 0, bestehen aus 2 * 40 GB Seagate Barracuda Festplatten, und habe den Verdacht, dass eine Platte am Eingehen ist. Es ist bereits mehr mals SMART ausgefallen und abundzu bekomme ich einen KERNEL_STACK Blue screen, was auf eine Fehlerhafte Platte schliessen lässt. Ich wollte nun mit einem Analyse Tool von Seagate die Platte prüfen, was nicht möglich ist weil er das Raidsystem nicht erkennt und die Treiber auch nicht mit em Tool funken. Wollte frage ob ich bedenkenlos die vermutlich defekte platte herausnehmen kann, sie in einem anderen PC mittels dieses Tool checken kann und nachher wieder in der Raid Phalanx verwenden kann.

Rechtliches

Impressum

Datenschutzerklärung