präzisser als long double







  • hey,.. cool,. apfloat könnte ich gebrauchen,. die anderen habe ich mir noch nicht angeguckt aber danke für den schnellen response 😃



  • ich bekomme die libary von apfloat nicht erzeugt,.. ich benutze mingw (bzw gcc)
    problem: no rule to make target,....
    jemand eine idee??
    gruß



  • zeusosc schrieb:

    ich bekomme die libary von apfloat nicht erzeugt,.. ich benutze mingw (bzw gcc)
    problem: no rule to make target,....
    jemand eine idee??
    gruß

    der fehler sagt uns garnix, ausser das es nichts mit dem compiler zu tun hat,
    sondern das eine makefile fehlt, oder irgendsowas

    configure ausgeführt?



  • Ich arbeite mit Mingw (bzw. gnu-gcc) in windoof,...

    ok ich habe die cpp files mal ohne makefile compiliert und assembliert,..
    mein problem ist jetzt der linker,..

    ich habe ein bissl mich umgeschaut aber ich finde keine lösung für das problem,..

    hier mal ein beispiel ausm linker:

    tablesit.o(.text+0x157b):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `chopper64'
    tablesit.o(.text+0x1581):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `dmodulus'
    tablesit.o(.text+0x15ac):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `chopper64'
    tablesit.o(.text+0x15b2):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `chopper64'
    tablesit.o(.text+0x15b8):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `dmodulus'
    tablesit.o(.text+0x15ee):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `chopper64'
    tablesit.o(.text+0x15f4):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `chopper64'
    tablesit.o(.text+0x15fa):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `dmodulus'
    tablesit.o(.text+0x163f): In function `Z22itablesixstepfnttrans2P6modintS_ijj':
    C:/Dev-Cpp/include/apfloat/tablesit.cpp:426: undefined reference to `modmul3'
    tablesit.o(.text+0x1683):C:/Dev-Cpp/include/apfloat/tablesit.cpp:435: undefined
    reference to `modmul2'
    tablesit.o(.text+0x16aa): In function `Z22itablesixstepfnttrans2P6modintS_ijj':
    C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference to `chopper64'
    tablesit.o(.text+0x16b0):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `chopper64'
    tablesit.o(.text+0x16b6):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `dmodulus'
    tablesit.o(.text+0x17b2): In function `Z22itablesixstepfnttrans2P6modintS_ijj':
    C:/Dev-Cpp/include/apfloat/tablesit.cpp:457: undefined reference to `itablefnt(m
    odint*, modint*, unsigned int*, unsigned int, int)'
    tablesit.o(.text+0x1879):C:/Dev-Cpp/include/apfloat/tablesit.cpp:459: undefined
    reference to `itablefnt(modint*, modint*, unsigned int*, unsigned int, int)'
    tablesit.o(.text+0x18a9):C:/Dev-Cpp/include/apfloat/tablesit.cpp:407: undefined
    reference to `itablefnt(modint*, modint*, unsigned int*, unsigned int, int)'
    tablesit.o(.text+0x19e9): In function `Z21itablesixstepfnttransP6modintS_ij':
    C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference to `chopper64'
    tablesit.o(.text+0x19ef):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `chopper64'
    tablesit.o(.text+0x19f5):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `dmodulus'
    tablesit.o(.text+0x1a42):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `chopper64'
    tablesit.o(.text+0x1a48):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `chopper64'
    tablesit.o(.text+0x1a4e):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `dmodulus'
    tablesit.o(.text+0x1a8d):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `chopper64'
    tablesit.o(.text+0x1a93):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `chopper64'
    tablesit.o(.text+0x1a99):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `dmodulus'
    tablesit.o(.text+0x1b5a): In function `Z21itablesixstepfnttransP6modintS_ij':
    C:/Dev-Cpp/include/apfloat/tablesit.cpp:509: undefined reference to `moveraw(voi
    d*, void*, unsigned int)'
    tablesit.o(.text+0x1b7d):C:/Dev-Cpp/include/apfloat/tablesit.cpp:510: undefined
    reference to `moveraw(void*, void*, unsigned int)'
    tablesit.o(.text+0x1b9a):C:/Dev-Cpp/include/apfloat/tablesit.cpp:511: undefined
    reference to `moveraw(void*, void*, unsigned int)'
    tablesit.o(.text+0x1bca):C:/Dev-Cpp/include/apfloat/tablesit.cpp:514: undefined
    reference to `modmul3'
    tablesit.o(.text+0x1c14):C:/Dev-Cpp/include/apfloat/tablesit.cpp:518: undefined
    reference to `modmul3'
    tablesit.o(.text+0x1c75):C:/Dev-Cpp/include/apfloat/tablesit.cpp:526: undefined
    reference to `moveraw(void*, void*, unsigned int)'
    tablesit.o(.text+0x1c8e):C:/Dev-Cpp/include/apfloat/tablesit.cpp:527: undefined
    reference to `moveraw(void*, void*, unsigned int)'
    tablesit.o(.text+0x1cab):C:/Dev-Cpp/include/apfloat/tablesit.cpp:528: undefined
    reference to `moveraw(void*, void*, unsigned int)'
    tabletwt.o(.text+0x1c4): In function `Z21tabletwopassfnttrans2RSt13basic_fstream
    IcSt11char_traitsIcEE6modintijj':
    C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference to `chopper64'
    tabletwt.o(.text+0x1ca):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference
     to `chopper64'
    tabletwt.o(.text+0x1d0):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference
     to `dmodulus'
    tabletwt.o(.text+0x33a): In function `Z21tabletwopassfnttrans2RSt13basic_fstream
    IcSt11char_traitsIcEE6modintijj':
    C:/Dev-Cpp/include/apfloat/tabletwt.cpp:84: undefined reference to `tablefnt(mod
    int*, modint*, unsigned int*, unsigned int, int)'
    tabletwt.o(.text+0x4c3): In function `Z21tabletwopassfnttrans2RSt13basic_fstream
    IcSt11char_traitsIcEE6modintijj':
    C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference to `chopper64'
    tabletwt.o(.text+0x4c9):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference
     to `chopper64'
    tabletwt.o(.text+0x4cf):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference
     to `dmodulus'
    tabletwt.o(.text+0x5e6):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference
     to `chopper64'
    tabletwt.o(.text+0x5ec):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference
     to `chopper64'
    tabletwt.o(.text+0x5f2):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference
     to `dmodulus'
    tabletwt.o(.text+0x617):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference
     to `chopper64'
    tabletwt.o(.text+0x61d):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference
     to `chopper64'
    tabletwt.o(.text+0x623):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference
     to `dmodulus'
    tabletwt.o(.text+0x646): In function `Z21tabletwopassfnttrans2RSt13basic_fstream
    IcSt11char_traitsIcEE6modintijj':
    C:/Dev-Cpp/include/apfloat/tabletwt.cpp:139: undefined reference to `tablefnt(mo
    dint*, modint*, unsigned int*, unsigned int, int)'
    tabletwt.o(.text+0x8b3): In function `Z20tabletwopassfnttransRSt13basic_fstreamI
    cSt11char_traitsIcEE6modintij':
    C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference to `chopper64'
    tabletwt.o(.text+0x8b9):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference
     to `chopper64'
    tabletwt.o(.text+0x8bf):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference
     to `dmodulus'
    tabletwt.o(.text+0x919):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference
     to `chopper64'
    tabletwt.o(.text+0x91f):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference
     to `chopper64'
    tabletwt.o(.text+0x925):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference
     to `dmodulus'
    tabletwt.o(.text+0x970):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference
     to `chopper64'
    tabletwt.o(.text+0x976):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference
     to `chopper64'
    tabletwt.o(.text+0x97c):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference
     to `dmodulus'
    tabletwt.o(.text+0xc20):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference
     to `chopper64'
    tabletwt.o(.text+0xc26):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference
     to `chopper64'
    tabletwt.o(.text+0xc2c):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference
     to `dmodulus'
    tabletwt.o(.text+0xc4c):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference
     to `chopper64'
    tabletwt.o(.text+0xc52):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference
     to `chopper64'
    tabletwt.o(.text+0xc58):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference
     to `dmodulus'
    tabletwt.o(.text+0xc9c):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference
     to `chopper64'
    tabletwt.o(.text+0xca2):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference
     to `chopper64'
    tabletwt.o(.text+0xca8):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference
     to `dmodulus'
    tabletwt.o(.text+0xcd8):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference
     to `chopper64'
    tabletwt.o(.text+0xcde):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference
     to `chopper64'
    tabletwt.o(.text+0xce4):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference
     to `dmodulus'
    tabletwt.o(.text+0xd33):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference
     to `chopper64'
    tabletwt.o(.text+0xd39):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference
     to `chopper64'
    tabletwt.o(.text+0xd3f):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference
     to `dmodulus'
    tabletwt.o(.text+0xd71):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference
     to `chopper64'
    tabletwt.o(.text+0xd77):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference
     to `chopper64'
    tabletwt.o(.text+0xd7d):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference
     to `dmodulus'
    tabletwt.o(.text+0x1416): In function `Z22itabletwopassfnttrans2RSt13basic_fstre
    amIcSt11char_traitsIcEE6modintijjj':
    C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference to `chopper64'
    tabletwt.o(.text+0x141c):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `chopper64'
    tabletwt.o(.text+0x1422):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `dmodulus'
    tabletwt.o(.text+0x1472):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `chopper64'
    tabletwt.o(.text+0x1478):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `chopper64'
    tabletwt.o(.text+0x147e):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `dmodulus'
    tabletwt.o(.text+0x155b): In function `Z22itabletwopassfnttrans2RSt13basic_fstre
    amIcSt11char_traitsIcEE6modintijjj':
    C:/Dev-Cpp/include/apfloat/tabletwt.cpp:311: undefined reference to `itablefnt(m
    odint*, modint*, unsigned int*, unsigned int, int)'
    tabletwt.o(.text+0x15b6): In function `Z22itabletwopassfnttrans2RSt13basic_fstre
    amIcSt11char_traitsIcEE6modintijjj':
    C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference to `chopper64'
    tabletwt.o(.text+0x15bc):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `chopper64'
    tabletwt.o(.text+0x15c2):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `dmodulus'
    tabletwt.o(.text+0x15e7):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `chopper64'
    tabletwt.o(.text+0x15ed):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `chopper64'
    tabletwt.o(.text+0x15f3):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `dmodulus'
    tabletwt.o(.text+0x1724):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `chopper64'
    tabletwt.o(.text+0x172a):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `chopper64'
    tabletwt.o(.text+0x1730):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `dmodulus'
    tabletwt.o(.text+0x189a): In function `Z22itabletwopassfnttrans2RSt13basic_fstre
    amIcSt11char_traitsIcEE6modintijjj':
    C:/Dev-Cpp/include/apfloat/tabletwt.cpp:366: undefined reference to `itablefnt(m
    odint*, modint*, unsigned int*, unsigned int, int)'
    tabletwt.o(.text+0x1d2e): In function `Z21itabletwopassfnttransRSt13basic_fstrea
    mIcSt11char_traitsIcEE6modintij':
    C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference to `chopper64'
    tabletwt.o(.text+0x1d34):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `chopper64'
    tabletwt.o(.text+0x1d3a):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `dmodulus'
    tabletwt.o(.text+0x1d9b):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `chopper64'
    tabletwt.o(.text+0x1da1):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `chopper64'
    tabletwt.o(.text+0x1da7):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `dmodulus'
    tabletwt.o(.text+0x1ded):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `chopper64'
    tabletwt.o(.text+0x1df3):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `chopper64'
    tabletwt.o(.text+0x1df9):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `dmodulus'
    tabletwt.o(.text+0x206c):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `chopper64'
    tabletwt.o(.text+0x2072):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `chopper64'
    tabletwt.o(.text+0x2078):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `dmodulus'
    tabletwt.o(.text+0x20ae):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `chopper64'
    tabletwt.o(.text+0x20b4):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `chopper64'
    tabletwt.o(.text+0x20ba):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `dmodulus'
    tabletwt.o(.text+0x20e2):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `chopper64'
    tabletwt.o(.text+0x20e8):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `chopper64'
    tabletwt.o(.text+0x20ee):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `dmodulus'
    tabletwt.o(.text+0x211a):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `chopper64'
    tabletwt.o(.text+0x2120):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `chopper64'
    tabletwt.o(.text+0x2126):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `dmodulus'
    tabletwt.o(.text+0x2198):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `chopper64'
    tabletwt.o(.text+0x219e):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `chopper64'
    tabletwt.o(.text+0x21a4):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `dmodulus'
    tabletwt.o(.text+0x21d0):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `chopper64'
    tabletwt.o(.text+0x21d6):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `chopper64'
    tabletwt.o(.text+0x21dc):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined referenc
    e to `dmodulus'
    tablefnt.o(.text+0x28):tablefnt.cpp: undefined reference to `modulus'
    tablefnt.o(.text+0x2e):tablefnt.cpp: undefined reference to `chopper64'
    tablefnt.o(.text+0x36):tablefnt.cpp: undefined reference to `modulus'
    tablefnt.o(.text+0x212):tablefnt.cpp: undefined reference to `modulus'
    tablefnt.o(.text+0x218):tablefnt.cpp: undefined reference to `chopper64'
    tablefnt.o(.text+0x220):tablefnt.cpp: undefined reference to `modulus'
    modfunc.o(.text+0x35): In function `Z3pow6modintj':
    C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference to `chopper64'
    modfunc.o(.text+0x3b):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference t
    o `chopper64'
    modfunc.o(.text+0x41):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference t
    o `dmodulus'
    modfunc.o(.text+0x53): In function `Z3pow6modintj':
    C:/Dev-Cpp/include/apfloat/modint.h:153: undefined reference to `bigshr(unsigned
     int*, unsigned int*, unsigned int)'
    modfunc.o(.text+0x7d): In function `Z3pow6modintj':
    C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference to `chopper64'
    modfunc.o(.text+0x83):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference t
    o `chopper64'
    modfunc.o(.text+0x89):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference t
    o `dmodulus'
    modfunc.o(.text+0x9a): In function `Z3pow6modintj':
    C:/Dev-Cpp/include/apfloat/modfunc.cpp:21: undefined reference to `bigshr(unsign
    ed int*, unsigned int*, unsigned int)'
    modfunc.o(.text+0xbe): In function `Z3pow6modintj':
    C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference to `chopper64'
    modfunc.o(.text+0xc4):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference t
    o `chopper64'
    modfunc.o(.text+0xca):C:/Dev-Cpp/include/apfloat/raw.h:44: undefined reference t
    o `dmodulus'
    prime.o(.text+0x90): In function `Z6factorPjj':
    C:/Dev-Cpp/include/apfloat/prime.cpp:21: undefined reference to `bigdiv(unsigned
     int*, unsigned int*, unsigned int, unsigned int)'
    prime.o(.text+0x10d): In function `Z7isprimej':
    C:/Dev-Cpp/include/apfloat/prime.cpp:39: undefined reference to `bigdiv(unsigned
     int*, unsigned int*, unsigned int, unsigned int)'
    prime.o(.text+0x190): In function `Z8getprimejj':
    C:/Dev-Cpp/include/apfloat/prime.cpp:58: undefined reference to `bigsub(unsigned
     int*, unsigned int*, unsigned int, unsigned int)'
    prime.o(.text+0x19a):C:/Dev-Cpp/include/apfloat/prime.cpp:59: undefined referenc
    e to `bigdiv(unsigned int*, unsigned int*, unsigned int, unsigned int)'
    prime.o(.text+0x334): In function `Z6apbasei':
    C:/Dev-Cpp/include/apfloat/prime.cpp:111: undefined reference to `bigmul(unsigne
    d int*, unsigned int*, unsigned int, unsigned int)'
    collect2: ld returned 1 exit status
    make: *** [aptest.exe] Error 1
    


  • ok anscheinend ist das wirklich der linker,.. hier kurz ein auszug:

    c:/dev-cpp/lib/libstdc++.a(basic_file.o)(.text+0x9a):basic_file.cc: undefined re
    ference to `write'
    c:/dev-cpp/lib/libstdc++.a(basic_file.o)(.text+0xa4):basic_file.cc: undefined re
    ference to `_errno'
    c:/dev-cpp/lib/libstdc++.a(basic_file.o)(.text+0x16b):basic_file.cc: undefined r
    eference to `fdopen'
    c:/dev-cpp/lib/libstdc++.a(basic_file.o)(.text+0x1ac):basic_file.cc: undefined r
    eference to `setvbuf'
    c:/dev-cpp/lib/libstdc++.a(basic_file.o)(.text+0x20b):basic_file.cc: undefined r
    eference to `fopen'
    c:/dev-cpp/lib/libstdc++.a(basic_file.o)(.text+0x287):basic_file.cc: undefined r
    eference to `read'
    c:/dev-cpp/lib/libstdc++.a(basic_file.o)(.text+0x293):basic_file.cc: undefined r
    eference to `_errno'
    c:/dev-cpp/lib/libstdc++.a(basic_file.o)(.text+0x3e6):basic_file.cc: undefined r
    eference to `fclose'
    c:/dev-cpp/lib/libstdc++.a(basic_file.o)(.text+0x47d):basic_file.cc: undefined r
    eference to `_fstati64'
    c:/dev-cpp/lib/libstdc++.a(basic_file.o)(.text+0x4be):basic_file.cc: undefined r
    eference to `_lseeki64'
    c:/dev-cpp/lib/libstdc++.a(basic_file.o)(.text+0x376):basic_file.cc: undefined r
    eference to `_lseeki64'
    c:/dev-cpp/lib/libstdc++.a(basic_file.o)(.text+0x38d):basic_file.cc: undefined r
    eference to `fflush'
    

    zu den linker befehl:

    c:\Dev-Cpp\bin\ld -Lc:/dev-cpp/lib aptest.o -lstdc++
    

    Kann mir jemand bitte sagen was ich falsch mache??

    gruß und dank



  • Ich denke, du mußt noch die Standard C-Bibliothek mittels "-lc" einbinden.



  • -lc also libc.a kanna net finde,... 😞

    und mit -lgcc

    C:/Dev-Cpp/include/apfloat/aptest.cpp:289: undefined reference to apfloat::~apf loat()' aptest.o(.text+0x7127):C:/Dev-Cpp/include/apfloat/aptest.cpp:289: undefined refe rence toapfloat::~apfloat()'
    aptest.o(.text+0x713f):C:/Dev-Cpp/include/apfloat/aptest.cpp:289: undefined refe
    rence to apfloat::~apfloat()' aptest.o(.text+0x7157):C:/Dev-Cpp/include/apfloat/aptest.cpp:289: undefined refe rence toapfloat::~apfloat()'
    aptest.o(.text+0x716f):C:/Dev-Cpp/include/apfloat/aptest.cpp:289: undefined refe
    rence to apfloat::~apfloat()' aptest.o(.text+0x7187):C:/Dev-Cpp/include/apfloat/aptest.cpp:289: more undefined references toapfloat::~apfloat()' follow
    aptest.o(.text+0x71b7): In function Z41\_\_static\_initialization\_and\_destruction_ 0ii': c:/dev-cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/iostream:7 7: undefined reference tostd::ios_base::Init::~Init()'

    hmmmmmmm....



  • Dieser Thread wurde von Moderator/in HumeSikkins aus dem Forum C++ in das Forum Compiler- und IDE-Forum verschoben.

    Im Zweifelsfall bitte auch folgende Hinweise beachten:
    C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?

    Dieses Posting wurde automatisch erzeugt.


Anmelden zum Antworten