Warning: This library needs some functionality provided by -lc.



  • Hallo,

    Ich habe ein Problem beim kompilieren des Autotrace (autotrace.sourceforge.net/ ) Programmes unter Windows (mittels MinGW/msys ) :

    make[1]: Entering directory `/c/Documents and Settings/a/workspace/MOR/autotrace'
    /bin/sh ./libtool --mode=link gcc  -g -O2  -Xlinker -multiply_defined -Xlinker suppress  -o libautotrace.la -rpath /usr/local/lib -version-info 3:0:0 input-pnm.lo input-bmp.lo input-tga.lo output-eps.lo output-er.lo output-fig.lo output-sk.lo output-svg.lo output-p2e.lo output-emf.lo output-dxf.lo output-epd.lo output-pdf.lo output-mif.lo output-cgm.lo output-dr2d.lo fit.lo bitmap.lo spline.lo curve.lo epsilon-equal.lo vector.lo color.lo autotrace.lo output.lo input.lo pxl-outline.lo median.lo thin-image.lo logreport.lo filename.lo xstd.lo despeckle.lo exception.lo strgicmp.lo image-proc.lo  
    rm -fr .libs/libautotrace.la .libs/libautotrace.* .libs/libautotrace.*
    
    *** Warning: This library needs some functionality provided by -lc.
    *** I have the capability to make that library automatically link in when
    *** you link to this library.  But I can only do this if you have a
    *** shared version of the library, which you do not appear to have.
    *** The inter-library dependencies that have been dropped here will be
    *** automatically added whenever a program is linked with this library
    *** or is declared to -dlopen it.
    gcc -dynamiclib -flat_namespace -undefined suppress -o .libs/libautotrace.3.0.0.dylib  input-pnm.lo input-bmp.lo input-tga.lo output-eps.lo output-er.lo output-fig.lo output-sk.lo output-svg.lo output-p2e.lo output-emf.lo output-dxf.lo output-epd.lo output-pdf.lo output-mif.lo output-cgm.lo output-dr2d.lo fit.lo bitmap.lo spline.lo curve.lo epsilon-equal.lo vector.lo color.lo autotrace.lo output.lo input.lo pxl-outline.lo median.lo thin-image.lo logreport.lo filename.lo xstd.lo despeckle.lo exception.lo strgicmp.lo image-proc.lo  -multiply_defined suppress -install_name  /usr/local/lib/libautotrace.3.dylib -compatibility_version 4 -current_version 4.0
    gcc.exe: suppress: No such file or directory
    gcc.exe: suppress: No such file or directory
    gcc.exe: C:/msys/1.0/local/lib/libautotrace.3.dylib: No such file or directory
    gcc.exe: 4: No such file or directory
    gcc.exe: 4.0: No such file or directory
    gcc.exe: unrecognized option `-compatibility_version'
    gcc.exe: unrecognized option `-current_version'
    make[1]: Leaving directory `/c/Documents and Settings/a/workspace/MOR/autotrace'
    make[1]: *** [libautotrace.la] Error 1
    make: *** [all] Error 2
    

    Leider werde ich daraus nicht recht schlau. Hat jemand eine Ahnung was das bedeuten könnte?

    ( auf Unix System klappt das Ganze )

    In Zeile 15

    gcc.exe: C:/msys/1.0/local/lib/libautotrace.3.dylib: No such file or directory
    

    Die Ordner /local/lib/.. gibts wirklich nicht. Aber warum sucht er dort? Ist dies die Auswirkung des fehlenden ./configure welches unter dem unix system ausgeführt werden muss, auf der DOS Konsole aber nicht klappt?



  • Die Frage ist, warum er überhaupt nach einer .dylib-Datei sucht und nicht nach einer .DLL. Er scheint davon auszugehen, dass du auf Mac OS compilierst.

    Poste mal, welche Befehle du eingibst. Möglicherweise ist auch das Configure-Skript fehlerhaft.


Anmelden zum Antworten