cygwin

Dieses Thema im Forum "Sonstige Linux Distributionen" wurde erstellt von m0nKeY, 20.05.2008.

  1. #1 m0nKeY, 20.05.2008
    Zuletzt bearbeitet: 12.06.2008
    m0nKeY

    m0nKeY Grünschnabel

    Dabei seit:
    15.05.2008
    Beiträge:
    8
    Zustimmungen:
    0
    vpnc unter vista x64 via cygwin

    Hi,
    ich hab ein Problem und zwar ich möchte mir vpnc mit cygwin unter Vista x64 kompilieren, damit ich an meiner Hochschule ins VPN komme. Allerdings kann ich ja nicht von meinem Vista ins Internet damit cygwinsetup die Packete runterladen kann...
    Ist es möglich das ich die Packete von einem anderen Rechner oder ner VM downloade und anschließend das Setup auf dem x64 System ausführe, dann aber über die lokal runtergeladenen Packete installiere? Sprich ich sauge mir die Packte über ein 32-Bit System, installiere aber auf einem x64 System?

    Gruß m0nKeY
     
  2. Anzeige

    Schau dir mal diese Kategorie an. Dort findest du bestimmt etwas.
    Registrieren bzw. einloggen, um diese und auch andere Anzeigen zu deaktivieren
  3. #2 karru, 20.05.2008
    Zuletzt bearbeitet: 20.05.2008
    karru

    karru OSX'ler

    Dabei seit:
    02.05.2006
    Beiträge:
    338
    Zustimmungen:
    0
    Ja, wenn ich mich recht erinnere, kannst du mit der Cygwin "setup.exe" auch nur Pakete herunterladen und diese dann später(/woanders) verwenden. Du kannst dann ein lokales Verzeichnis als Paket-Quelle angeben.
    Ob x86 oder x64 ist in dem Moment auch erstmal völlig egal (cygwin wird eh als 32bit Prozess laufen...)

    Aber warum nimmst du nicht einfach ein VPN-Programm welches (native) unter Windows läuft? ;)
    Vielleicht macht diese VPN-gecygwine auch Probleme?

    Ich kann dir auch noch direkt eine Alternative anbieten:
    http://www.andlinux.org/
    Vielleicht gibt es hier schon Binär-Pakete = keine/weniger Probleme mit dem Kompilieren(?).

    Gruß
     
  4. tata

    tata Grünschnabel

    Dabei seit:
    23.05.2008
    Beiträge:
    4
    Zustimmungen:
    0
    Guten Morgen,

    ich versuche auch gerade dies nun endlich hinzubekommen.

    Vorweg, es gibt zwar einen Cisco client namens Cisco AnyConnect VPN Client, aber der versteht sich nicht immer mit den älteren pix. Es gibt daher einige Möglichkeiten, eine Pix oder ASA 5505 von Cisco zu kaufen und den VPN Server zu benutzen, der macht das dann automatisch. Der normale Cisco Client der im Internet rumläuft läuft nicht auf Vista 64 bit.

    das Unbuntu läuft ebenfalls nicht auf Vista 64 bit. hier ist im Grunde die Anleitung. Aber ich habe Probleme mit der make-installation.

    Nun meine Frage was muss ich für ein Paket bei cygwin auswählen, damit ich Zugang zun den Programmen make und gcc bekomme?

    1. Install cygwin onto vista. Details here: http://www.cygwin.com/
    2. Make sure you install the development options for cygwin to give you
    access to make and gcc etc
    3. Make sure you install libcrypt for cygwin as it is needed in the make
    4. Modify the bash.exe to run as administrator or you will have
    privilege issues later, this is done on the properties tab of the
    executable in c:/cygwin/bin
    4. Download vpnc tarball from here
    http://www.unix-ag.uni-kl.de/~massar/vpnc/ I used the vpnc-0.5.1.tar.gz
    version
    5. Unzip and explode the tarball
    6. modify tap-win32.h to change #define TAP_COMPONENT_ID "tap0801" to
    "tap0901" (No sure if this is necesary but I did it and it is working
    for me)
    7. make
    8.You should have a shinny new vpnc.exe
    9. Download openvpn from http://openvpn.net/download.html. I used
    *openvpn-2.1_rc4-install.exe *as all other version I tried had errors
    during install
    10. Run the exe but only install the TAP-Win32 Adapter V9
    11. Go to control Panel | Network Connections and rename the TAP device
    to my-tap
    12. create a /etc/vpnc/default.conf file something like this
    IPSec gateway YOURGATEWAY
    IPSec ID YOURID
    IPSec obfuscated secret YOURREALYLONGHEXVALUE (you can use your clear
    text password here if you remove obfuscated)
    Xauth username YOURUSERNAME
    Xauth password YOURPASSWORD
    Interface name my-tap
    Interface mode tap
    Local Port 0
    Script /etc/vpnc/custom-script
    13. I had to use a custom script as many required values were not coming
    back from vpnc, not sure if this was a VPN setup issue or a vpnc.exe
    issue. I gathered the missing values by looking in the statistic from
    my other machine that was runnig the cisco vpn client
    14. Build the custom script /etc/vpnc/custom-script (make sure you make
    it executable and store it as a unix file not a dos file (dos2unix is
    your friend)
    15. My script looks something like this: (I got these value by looking
    at another machine that was connected via the cisco vpn tool)
    #!/bin/sh

    # This sets up split networking regardless
    # of the concentrators specifications.
    # You can add as many routes as you want,
    # but you must set the counter $CISCO_SPLIT_INC
    # accordingly
    export CISCO_SPLIT_INC=6
    export CISCO_SPLIT_INC_0_ADDR=10.10.0.0
    export CISCO_SPLIT_INC_0_MASK=255.255.0.0
    export CISCO_SPLIT_INC_1_ADDR=10.12.0.0
    export CISCO_SPLIT_INC_1_MASK=255.255.0.0
    export CISCO_SPLIT_INC_2_ADDR=10.20.0.0
    export CISCO_SPLIT_INC_2_MASK=255.255.0.0
    export CISCO_SPLIT_INC_3_ADDR=10.30.0.0
    export CISCO_SPLIT_INC_3_MASK=255.255.0.0
    export CISCO_SPLIT_INC_4_ADDR=192.168.1.0
    export CISCO_SPLIT_INC_4_MASK=255.255.255.0
    export CISCO_SPLIT_INC_5_ADDR=192.168.100.0
    export CISCO_SPLIT_INC_5_MASK=255.255.255.0

    export INTERNAL_IP4_NETMASK=255.0.0.0

    . /etc/vpnc/vpnc-script

    NOTE: I had to add the netmask for in internal device as is was not
    coming back from vpnc.exe? Got the value by looking at my cisco vpn
    cliet on other machine

    16. The output of the route command has changed from XP to Vista so I
    had to modify /etc/vpnc/vpnc-script-win.js quite a bit to get the
    default gateway, it was my first play with jscript so I know it is ugly
    but it worked for me

    New vpnc-script-win.js
    // vpnc-script-win.js
    //
    // Sets up the Network interface and the routes
    // needed by vpnc.

    // --------------------------------------------------------------
    // Utilities
    // --------------------------------------------------------------

    function echo(msg)
    {
    WScript.echo(msg);
    }

    function run(cmd)
    {
    return (ws.Exec(cmd).StdOut.ReadAll());
    }

    function getDefaultGateway()
    {
    var stuff = run("route print 0.0.0.0 mask 0.0.0.0");
    var res;
    var inal;
    echo ("Stuff" + stuff);
    if (res = stuff.match(/0.0.0.0 *(.*) 0.0.0.0 *(.*)10/)) {
    // echo ("RegExp: "+RegExp.$1+"2: "+ RegExp.$2+" 3:"+RegExp.$3);
    echo ("res :" + res[0]+" THE END!!!");
    inal = res[0].split(/\s/);
    for (var i = 0; i < inal.length; i++) {
    echo ("inal :" + inal);
    }

    return (inal[2]);
    }
    return ("");
    }

    // --------------------------------------------------------------
    // Script starts here
    // --------------------------------------------------------------

    var ws = WScript.CreateObject("WScript.Shell");
    var env = ws.Environment("Process");

    switch (env("reason")) {
    case "pre-init":
    break;
    case "connect":
    var gw = getDefaultGateway();
    echo("Default Gateway :" + gw);
    echo("VPN Gateway: " + env("VPNGATEWAY"));
    echo("Internal Address: " + env("INTERNAL_IP4_ADDRESS"));
    echo("Internal Netmask: " + env("INTERNAL_IP4_NETMASK"));
    echo("Interface: \"" + env("TUNDEV") + "\"");

    echo("Configuring \"" + env("TUNDEV") + "\" interface...");

    var setinterface = "netsh interface ip set address " + env
    ("TUNDEV") + " static " + env("INTERNAL_IP4_ADDRESS") + " " +
    env("INTERNAL_IP4_NETMASK");
    echo(setinterface);
    run(setinterface);

    // Add direct route for the VPN gateway to avoid routing loops
    var setroute = "route add " + env("VPNGATEWAY") +
    " mask 255.255.255.255 " + gw;
    echo(setroute);
    run(setroute);

    if (env("INTERNAL_IP4_NBNS")) {
    var wins = env("INTERNAL_IP4_NBNS").split(/ /);
    for (var i = 0; i < wins.length; i++) {
    run("netsh interface ip add wins \"" +
    env("TUNDEV") + "\" " + wins
    + " index=" + (i+1));
    }
    }

    if (env("INTERNAL_IP4_DNS")) {
    var dns = env("INTERNAL_IP4_DNS").split(/ /);
    for (var i = 0; i < dns.length; i++) {
    var dnsrun = "netsh interface ip add dns \"" +
    env("TUNDEV") + "\" " + dns
    + " index=" + (i+1);
    echo(dnsrun);
    run(dnsrun);
    }
    }
    echo("done.");

    // Add internal network routes
    echo("Configuring networks:");
    if (env("CISCO_SPLIT_INC")) {
    for (var i = 0 ; i < parseInt(env("CISCO_SPLIT_INC")); i++) {
    var network = env("CISCO_SPLIT_INC_" + i + "_ADDR");
    var netmask = env("CISCO_SPLIT_INC_" + i + "_MASK");
    var internal = env("INTERNAL_IP4_ADDRESS");

    //echo("network:"+network);
    //echo("netmask:"+netmask);
    //echo("internal:"+internal);

    var blah = "route add " + network + " mask " +netmask + " "
    + internal; // + " IF 16";
    echo(blah);
    //run(blah);
    }
    } else {
    echo("Gateway did not provide network configuration.");
    }
    echo("Route configuration done.");

    if (env("CISCO_BANNER")) {
    echo("--------------------------------------------------");
    echo(env("CISCO_BANNER"));
    echo("--------------------------------------------------");
    }
    break;
    case "disconnect":
    // Delete direct route for the VPN gateway to avoid
    run("route delete " + env("VPNGATEWAY") + " mask 255.255.255.255");
    echo("Removing networks:");
    if (env("CISCO_SPLIT_INC")) {
    for (var i = 0 ; i < parseInt(env("CISCO_SPLIT_INC")); i++) {
    var network = env("CISCO_SPLIT_INC_" + i + "_ADDR");
    var netmask = env("CISCO_SPLIT_INC_" + i + "_MASK");
    var internal = env("INTERNAL_IP4_ADDRESS");

    echo("network:"+network);
    echo("netmask:"+netmask);
    echo("internal:"+internal);

    var blah = "route delete " + network;
    echo(blah);
    run(blah);
    }
    }
    }

    ----------------------------------------------------
    The main changes I did was to display all the commands prior to
    execution and to echo some commands you need to run after vpnc.exe has
    connected

    17. If you now run "./vpnc --debug 1 --no-detach" you should get some
    info about what it is doing and a print at the end something like
    Configuring networks:
    route add 10.10.0.0 mask 255.255.0.0 10.10.101.2
    route add 10.12.0.0 mask 255.255.0.0 10.10.101.2
    route add 10.20.0.0 mask 255.255.0.0 10.10.101.2
    route add 10.30.0.0 mask 255.255.0.0 10.10.101.2
    route add 192.168.1.0 mask 255.255.255.0 10.10.101.2
    route add 192.168.100.0 mask 255.255.255.0 10.10.101.2
    Route configuration done.
    VPNC started in foreground...

    18. You must cut and paste the route add command into a window an
    execute them. If I ran these in the script they worked but it never
    would use the correct interface and I had issues with routing etc. Once
    I did it after the thing was all up and runinng all was OK. Not sure if
    it was a timing issue or a bigger issue, but doing it externally worked
    for me

    19. At this point I have a working vpnc connetion allowing me access to
    my cisco VPN from 64 bit Vista.
     
  5. tata

    tata Grünschnabel

    Dabei seit:
    23.05.2008
    Beiträge:
    4
    Zustimmungen:
    0
    Guten Morgen,

    ich habe es nun hinbekommen und konnte man make ausführen. Der Befehl ist da. Dazu habe ich das komplette Devel installiert, da ich keine Ahnung habe wo sich genau dieser make Befehl versteckt hat.

    nun meine nächste Frage. Wie editiere ich im Unix Fenster bash Dateien? Ich habe das mal gewusst aber ich habe es vergessen.

    herzlichen Dank
     
  6. Shorti

    Shorti Routinier

    Dabei seit:
    08.04.2007
    Beiträge:
    271
    Zustimmungen:
    0
    vi, joe, mcedit?
     
  7. #6 m0nKeY, 26.05.2008
    Zuletzt bearbeitet: 26.05.2008
    m0nKeY

    m0nKeY Grünschnabel

    Dabei seit:
    15.05.2008
    Beiträge:
    8
    Zustimmungen:
    0
    Du kannst es auch einfach unter Windows editieren.

    Hast du es mittlerweile hinbekommen vpnc unter vista x64 zu kompilieren?

    @karru andlinux, sieht zwar auch ganz gut aus, läuft aber nur unter 32Bit Systemen und genau das ist ja gerade das Problem. :)

    Da es mit den Packeten gcc, make, der libriarie crypt (libcrypt, hab ich nicht gefunden), nicht geklappt hab, hab ich auch einfach mal alle developerpakete installiert, obwohl das ja eigentlich keine so gute Idee ist...

    Naja jedenfals, bekomme ich jetzt folgende Fehlermeldung beim make Befehl:

    Code:
    gcc -o vpnc sysdep.o vpnc-debug.o isakmp-pkt.o tunip.o config.o dh.o math_group.o supp.o vpnc.o -g
    lgcrypt -lgpg-error
    tunip.o: In function `hmac_compute':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/tunip.c:292: undefined reference to `_gcry_md_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/tunip.c:294: undefined reference to `_gcry_md_setkey'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/tunip.c:296: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/tunip.c:297: undefined reference to `_gcry_md_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/tunip.c:298: undefined reference to `_gcry_md_read'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/tunip.c:307: undefined reference to `_gcry_md_close'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/tunip.c:294: undefined reference to `_gcry_md_setkey'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/tunip.c:307: undefined reference to `_gcry_md_close'
    tunip.o: In function `encap_esp_encapsulate':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/tunip.c:354: undefined reference to `_gcry_create_nonce'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/tunip.c:360: undefined reference to `_gcry_cipher_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/tunip.c:361: undefined reference to `_gcry_cipher_encrypt'
    tunip.o: In function `encap_esp_recv_peer':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/tunip.c:536: undefined reference to `_gcry_cipher_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/tunip.c:537: undefined reference to `_gcry_cipher_decrypt'
    tunip.o: In function `vpnc_doit':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/tunip.c:991: undefined reference to `_gcry_create_nonce'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/tunip.c:1022: undefined reference to `_gcry_cipher_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/tunip.c:1023: undefined reference to `_gcry_cipher_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/tunip.c:1009: undefined reference to `_gcry_cipher_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/tunip.c:1010: undefined reference to `_gcry_cipher_ctl'
    config.o: In function `deobfuscate':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/config.c:145: undefined reference to `_gcry_md_hash_buffer'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/config.c:148: undefined reference to `_gcry_md_hash_buffer'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/config.c:154: undefined reference to `_gcry_md_hash_buffer'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/config.c:163: undefined reference to `_gcry_cipher_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/config.c:164: undefined reference to `_gcry_cipher_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/config.c:165: undefined reference to `_gcry_cipher_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/config.c:166: undefined reference to `_gcry_cipher_decrypt'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/config.c:167: undefined reference to `_gcry_cipher_close'
    math_group.o: In function `group_get':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:179: undefined reference to `_gcry_mpi_copy'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:180: undefined reference to `_gcry_mpi_copy'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:182: undefined reference to `_gcry_mpi_new'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:183: undefined reference to `_gcry_mpi_new'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:184: undefined reference to `_gcry_mpi_new'
    math_group.o: In function `group_free':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:198: undefined reference to `_gcry_mpi_release'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:199: undefined reference to `_gcry_mpi_release'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:200: undefined reference to `_gcry_mpi_release'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:201: undefined reference to `_gcry_mpi_release'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:202: undefined reference to `_gcry_mpi_release'
    math_group.o: In function `group_init':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:217: undefined reference to `_gcry_mpi_scan'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:218: undefined reference to `_gcry_mpi_scan'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:220: undefined reference to `_gcry_mpi_new'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:221: undefined reference to `_gcry_mpi_new'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:222: undefined reference to `_gcry_mpi_new'
    math_group.o: In function `modp_getlen':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:236: undefined reference to `_gcry_mpi_get_nbit
    '
    math_group.o: In function `modp_getraw':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:246: undefined reference to `_gcry_mpi_aprint'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:248: undefined reference to `_gcry_free'
    math_group.o: In function `modp_setraw':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:265: undefined reference to `_gcry_mpi_set_ui'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:267: undefined reference to `_gcry_mpi_mul_2exp
    
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:268: undefined reference to `_gcry_mpi_add_ui'
    math_group.o: In function `modp_setrandom':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:286: undefined reference to `_gcry_mpi_set_ui'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:292: undefined reference to `_gcry_mpi_mul_2exp
    
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:293: undefined reference to `_gcry_mpi_add_ui'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:290: undefined reference to `_gcry_randomize'
    math_group.o: In function `modp_operation':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:303: undefined reference to `_gcry_mpi_powm'
    vpnc.o: In function `sendrecv':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:285: undefined reference to `_gcry_md_get_algo_dlen'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:287: undefined reference to `_gcry_md_hash_buffer'
    vpnc.o: In function `isakmp_crypt':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:421: undefined reference to `_gcry_cipher_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:422: undefined reference to `_gcry_cipher_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:423: undefined reference to `_gcry_cipher_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:426: undefined reference to `_gcry_cipher_decrypt'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:436: undefined reference to `_gcry_cipher_close'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:431: undefined reference to `_gcry_cipher_encrypt'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:400: undefined reference to `_gcry_md_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:401: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:402: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:403: undefined reference to `_gcry_md_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:408: undefined reference to `_gcry_md_read'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:411: undefined reference to `_gcry_md_close'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:406: undefined reference to `_gcry_md_read'
    vpnc.o: In function `unpack_verify_phase2':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:491: undefined reference to `_gcry_md_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:492: undefined reference to `_gcry_md_setkey'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:493: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:495: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:496: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:497: undefined reference to `_gcry_md_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:498: undefined reference to `_gcry_md_read'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:508: undefined reference to `_gcry_md_close'
    vpnc.o: In function `phase2_authpacket':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:544: undefined reference to `_gcry_md_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:545: undefined reference to `_gcry_md_setkey'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:556: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:559: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:562: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:566: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:571: undefined reference to `_gcry_md_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:572: undefined reference to `_gcry_md_read'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:573: undefined reference to `_gcry_md_close'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:549: undefined reference to `_gcry_md_write'
    vpnc.o: In function `keepalive_ike':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:643: undefined reference to `_gcry_create_nonce'
    vpnc.o: In function `send_dpd':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:663: undefined reference to `_gcry_create_nonce'
    vpnc.o: In function `phase2_fatal':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:708: undefined reference to `_gcry_create_nonce'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:715: undefined reference to `_gcry_create_nonce'
    vpnc.o: In function `gen_keymat':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:754: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:755: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:756: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:757: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:758: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:759: undefined reference to `_gcry_md_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:760: undefined reference to `_gcry_md_read'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:761: undefined reference to `_gcry_md_close'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:749: undefined reference to `_gcry_md_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:750: undefined reference to `_gcry_md_setkey'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:752: undefined reference to `_gcry_md_write'
    vpnc.o: In function `do_phase2_config':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:2239: undefined reference to `_gcry_create_nonce'
    vpnc.o: In function `setup_link':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:2393: undefined reference to `_gcry_create_nonce'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:2395: undefined reference to `_gcry_create_nonce'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:2419: undefined reference to `_gcry_create_nonce'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:2717: undefined reference to `_gcry_create_nonce'
    vpnc.o:/cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:2732: more undefined references to `_gcry_crea
    e_nonce' follow
    vpnc.o: In function `setup_link':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:2593: undefined reference to `_gcry_md_get_algo_dlen'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:2585: undefined reference to `_gcry_cipher_algo_info'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:2586: undefined reference to `_gcry_cipher_algo_info'
    vpnc.o: In function `process_late_ike':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:2868: undefined reference to `_gcry_create_nonce'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:2869: undefined reference to `_gcry_create_nonce'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:2904: undefined reference to `_gcry_cipher_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:2905: undefined reference to `_gcry_cipher_ctl'
    vpnc.o: In function `main':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:3043: undefined reference to `_gcry_control'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:3045: undefined reference to `_gcry_check_version'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:3046: undefined reference to `_gcry_control'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1082: undefined reference to `_gcry_create_nonce'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1088: undefined reference to `_gcry_create_nonce'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1440: undefined reference to `_gcry_cipher_algo_info'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1441: undefined reference to `_gcry_cipher_algo_info'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1469: undefined reference to `_gcry_md_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1470: undefined reference to `_gcry_md_setkey'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1471: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1472: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1473: undefined reference to `_gcry_md_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1475: undefined reference to `_gcry_md_read'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1480: undefined reference to `_gcry_md_close'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1509: undefined reference to `_gcry_md_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1510: undefined reference to `_gcry_md_setkey'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1511: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1512: undefined reference to `_gcry_md_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1515: undefined reference to `_gcry_md_read'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1536: undefined reference to `_gcry_md_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1537: undefined reference to `_gcry_md_setkey'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1538: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1539: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1540: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1541: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1542: undefined reference to `_gcry_md_write'
    vpnc.o:/cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1543: more undefined references to `_gcry_md_w
    ite' follow
    vpnc.o: In function `main':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1544: undefined reference to `_gcry_md_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1545: undefined reference to `_gcry_md_read'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1671: undefined reference to `_gcry_md_close'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1673: undefined reference to `_gcry_md_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1674: undefined reference to `_gcry_md_setkey'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1675: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1676: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1677: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1678: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1679: undefined reference to `_gcry_md_write'
    vpnc.o:/cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1680: more undefined references to `_gcry_md_w
    ite' follow
    vpnc.o: In function `main':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1681: undefined reference to `_gcry_md_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1683: undefined reference to `_gcry_md_read'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1684: undefined reference to `_gcry_md_close'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1688: undefined reference to `_gcry_md_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1689: undefined reference to `_gcry_md_setkey'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1690: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1691: undefined reference to `_gcry_md_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1693: undefined reference to `_gcry_md_read'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1694: undefined reference to `_gcry_md_close'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1716: undefined reference to `_gcry_md_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1717: undefined reference to `_gcry_md_setkey'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1718: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1719: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1720: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1721: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1722: undefined reference to `_gcry_md_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1724: undefined reference to `_gcry_md_read'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1725: undefined reference to `_gcry_md_close'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1728: undefined reference to `_gcry_md_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1729: undefined reference to `_gcry_md_setkey'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1730: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1731: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1732: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1733: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1734: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1735: undefined reference to `_gcry_md_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1737: undefined reference to `_gcry_md_read'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1738: undefined reference to `_gcry_md_close'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1741: undefined reference to `_gcry_md_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1742: undefined reference to `_gcry_md_setkey'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1743: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1744: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1745: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1746: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1747: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1748: undefined reference to `_gcry_md_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1750: undefined reference to `_gcry_md_read'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1751: undefined reference to `_gcry_md_close'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1786: undefined reference to `_gcry_md_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1787: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1788: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1789: undefined reference to `_gcry_md_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1791: undefined reference to `_gcry_md_read'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1792: undefined reference to `_gcry_md_close'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1797: undefined reference to `_gcry_md_close'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1872: undefined reference to `_gcry_md_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1873: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1874: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1875: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1876: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1877: undefined reference to `_gcry_md_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1878: undefined reference to `_gcry_md_read'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1884: undefined reference to `_gcry_md_close'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1766: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1768: undefined reference to `_gcry_md_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:152: undefined reference to `_gcry_md_read'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1771: undefined reference to `_gcry_md_close'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1761: undefined reference to `_gcry_md_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1762: undefined reference to `_gcry_md_setkey'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1487: undefined reference to `_gcry_md_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1488: undefined reference to `_gcry_md_setkey'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1489: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1419: undefined reference to `_gcry_md_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1420: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1421: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1422: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1423: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1424: undefined reference to `_gcry_md_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1425: undefined reference to `_gcry_md_read'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1426: undefined reference to `_gcry_md_close'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1388: undefined reference to `_gcry_create_nonce'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1302: undefined reference to `_gcry_md_get_algo_dlen'
    collect2: ld returned 1 exit status
    make: *** [vpnc] Error 1
     
  8. #7 Hadrian2002, 26.05.2008
    Hadrian2002

    Hadrian2002 Grünschnabel

    Dabei seit:
    26.05.2008
    Beiträge:
    4
    Zustimmungen:
    0
    Hi !

    Bin auch dabei das gerade hinzufummeln, um es dann später im Netzwerk routen zu können.


    Die Fehler die du hast, kann man mit der vorgänger Version der libgcrypt Paket beseitigen. Konnte ich irgendwie aus der Devel Mailingliste in Erfahrung bringen. Leider treten mit dem älteren Paket trozdem noch Fehler auf, die ich bis jetzt nich beseitigen konnte. Abgesehen nervt mich die Cygwin Installation noch ganz schön, weil sobald man nen paar pakete rausnimmt funzt bei mir garnix mehr ... hab aber dafür nicht unbedingt 2 gig platz frei :think:

    Vielleicht kriegt ihr ja noch ne optimale zusammenstellung raus ;-)


    Gruß

    Hadrian
     
  9. #8 m0nKeY, 27.05.2008
    Zuletzt bearbeitet: 27.05.2008
    m0nKeY

    m0nKeY Grünschnabel

    Dabei seit:
    15.05.2008
    Beiträge:
    8
    Zustimmungen:
    0
    Also sowohl das Version 1.0-2, also auch die Version 1.1-1, des Packets "crypt" bringen den gleichen Fehler beim kompilieren. Das ist doch das richtige Packet oder?

    Gruß m0nKeY

    P.S.: Ich hab nun einfach mal nur die notwendigen Pakete installiern, also gcc, make, automake, mingw, crypt.... alles nicht die aktuellste Version sondern immer die ältere verfügbare, an der Fehlermeldung beim kompilieren ändert sich nix.

    P.P.S.: Ich hab nun einfach mal ein wneig gegoogelt und herausgefunden das der Name des Pakets in der Anleitung falsch ist... es ist nicht libcrypt, sondern libgcrypt... Jetzt konnte ich auch problemlos kompilieren...

    P.P.P.S.:
    Ich hab jetzt cygwin einmal komplett deinstalliert und dann folgende Pakete in der aktuellsten Version installiert.
    -gcc
    -make
    dazu hab ich dann libgcrypt in der version 1.4.0 installiert. Mehr ist in der Anleitung nicht angegeben und folgende Fehlermeldung erhalte ich:

    Code:
    gcc -MM sysdep.c vpnc-debug.c isakmp-pkt.c tunip.c config.c dh.c math_group.c supp.c vpnc.c cisco-de
    crypt.c -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.1\"  > .depend
    gcc -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.1\"   -c -o sysdep.o sys
    dep.c
    In file included from config.h:27,
                     from sysdep.h:31,
                     from sysdep.c:71:
    vpnc-debug.h:1: error: parse error before '/' token
    In file included from sysdep.h:31,
                     from sysdep.c:71:
    config.h:94: error: `LAST_CONFIG' undeclared here (not in a function)
    config.h:107: warning: "struct debug_strings" declared inside parameter list
    config.h:107: warning: its scope is only this definition or declaration, which is probably not what
    you want
    make: *** [sysdep.o] Error 1
    
     
  10. #9 Hadrian2002, 27.05.2008
    Zuletzt bearbeitet: 27.05.2008
    Hadrian2002

    Hadrian2002 Grünschnabel

    Dabei seit:
    26.05.2008
    Beiträge:
    4
    Zustimmungen:
    0
    mhh ich hab nicht nochmal explizit geschrieben, das ich micht nicht verschrieben habe, aber in meinem letzten post steht auch genau "libgcrypt" drinne :D

    Was den anderen Fehler angeht : k.A. genau deswegen war ich hier ;-)

    edit: hier ist ja auch eine Anleitung von jemandem der das schon vor langen gemacht hat: http://paolo.zarpellon.googlepages.com/

    leider steht bei ihm auch nur, dass man Cygwin mit den common *nix tools haben soll -.-
     
  11. m0nKeY

    m0nKeY Grünschnabel

    Dabei seit:
    15.05.2008
    Beiträge:
    8
    Zustimmungen:
    0
    Du hast ja auch keinen Fehler gemacht, aber weiter oben steht die Anleitung die man im allgeminen findetet wenn man nach vpnc und vista x64 googelt und da steht "libcrypt" und nicht "libgcrypt". Dieser eine Buchstabe macht es ziemlich schwer das Paket zu finden...
     
  12. #11 tata, 28.05.2008
    Zuletzt bearbeitet: 29.05.2008
    tata

    tata Grünschnabel

    Dabei seit:
    23.05.2008
    Beiträge:
    4
    Zustimmungen:
    0
    das mit dem libgcrypt ist mir auch schon aufgefallen, aber ich kann es einfach nicht installieren. Das make bringt sehr viele Fehler. Ich muss mich noch mehr in die Materie einarbeiten, denn gerade habe ich keine Fragen. Vielleicht ist auch mein Vista verbogen. Denn ich habe das SP1 deinstalliert und das tat dem OS nicht gut. Ich melde mich mit Erfolg oder mit Fragen

    Danke: Shorti
     
  13. #12 tata, 29.05.2008
    Zuletzt bearbeitet: 29.05.2008
    tata

    tata Grünschnabel

    Dabei seit:
    23.05.2008
    Beiträge:
    4
    Zustimmungen:
    0
    Hallo,

    ich habe das hier gefunden, versuche gerade die ältere Version libgcrypt-1.4.0 zu installieren. Aber man kann anscheinend dies auch über die cygwin.exe installieren. Das hat nicht gereicht, ich muss, da noch mehr grübeln.

    Also ich habe wie schon geschrieben die älter Version installiert und einfach make install eingegeben und nun ist die vpnc.exe da. Cool. Jetzt bin ich einen Schritt weiter.
     
  14. #13 Hadrian2002, 29.05.2008
    Zuletzt bearbeitet: 29.05.2008
    Hadrian2002

    Hadrian2002 Grünschnabel

    Dabei seit:
    26.05.2008
    Beiträge:
    4
    Zustimmungen:
    0
    soo also hab jetzt mal Cygwin komplett installiert und es war ein kompilieren möglich.

    So nun hab ich mir das Tut nochmal durchgelesen und da heißt es man muss noch diese diff datei einbinden, wenn man die originalen OpenVPN Treiber nimmt.

    ich habs mit : patch -i vpnc-trunk-95.diff probiert, aber ne Menge Fehler bekommen ... mach ich was falsch ? Bin leider nicht soo geübt was das angeht ...

    Vielen Dank

    Hadrian

    edit: bin jetzt nen stück weiter gekommen (wenn mans so nennen kann)

    hab mir doch mal überlegt die neuste version von VPNC zu nehmen und jetzt zeigt er mir dieses hier:

    Code:
    $ ./vpnc
    Enter password for ****@1**.***.***.***:
    Microsoft (R) Windows Script Host, Version 5.6
    Copyright (C) Microsoft Corporation 1996-2001. Alle Rechte vorbehalten.
    
    Device: LAN-Verbindung 14
    TUN mode is not supported
    can't initialise tunnel interface: No such file or directory
    weiß nich was ich nun genau falsch mache, aber vielleicht hat das Wochenende noch jemand ne Idee dazu ;-)
     
  15. Anzeige

    Vielleicht findest du HIER Antworten.
    Registrieren bzw. einloggen, um diese und auch andere Anzeigen zu deaktivieren
  16. #14 cfp, 04.06.2008
    Zuletzt bearbeitet: 04.06.2008
    cfp

    cfp Grünschnabel

    Dabei seit:
    04.06.2008
    Beiträge:
    4
    Zustimmungen:
    0
    perl und libgcrypt downgrade

    hi, ich bin am gleichen problem dran - vpnc auf vista x64 zum laufen bekommen.

    ich hatte anfangs die gleiche fehlermeldung wie monkey:

    Code:
    gcc -MM sysdep.c vpnc-debug.c isakmp-pkt.c tunip.c config.c dh.c math_group.c supp.c vpnc.c cisco-de
    crypt.c -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.1\"  > .depend
    gcc -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.1\"   -c -o sysdep.o sys
    dep.c
    In file included from config.h:27,
                     from sysdep.h:31,
                     from sysdep.c:71:
    vpnc-debug.h:1: error: parse error before '/' token
    In file included from sysdep.h:31,
                     from sysdep.c:71:
    config.h:94: error: `LAST_CONFIG' undeclared here (not in a function)
    config.h:107: warning: "struct debug_strings" declared inside parameter list
    config.h:107: warning: its scope is only this definition or declaration, which is probably not what
    you want
    make: *** [sysdep.o] Error 1
    
    die lösung war relativ einfach, bei cygwin hab ich nur die packages von perl hinzugefügt (weiß nicht welches genau gefehlt hat, aber da gibts nur etwa 5).
    nachtrag: man braucht nur ein package von perl und zwar perl: larry wall's practical extracting and report language

    Hadrian2002 und tata haben das problem bestimmt dadurch gelöst, dass sie alle devels packages installiert haben, da ist perl auch dabei.

    danach hatte ich einen weiteren fehler, den ebenfalls monkey etwas früher hatte:

    Code:
    gcc -o vpnc sysdep.o vpnc-debug.o isakmp-pkt.o tunip.o config.o dh.o math_group.o supp.o vpnc.o -g
    lgcrypt -lgpg-error
    tunip.o: In function `hmac_compute':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/tunip.c:292: undefined reference to `_gcry_md_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/tunip.c:294: undefined reference to `_gcry_md_setkey'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/tunip.c:296: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/tunip.c:297: undefined reference to `_gcry_md_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/tunip.c:298: undefined reference to `_gcry_md_read'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/tunip.c:307: undefined reference to `_gcry_md_close'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/tunip.c:294: undefined reference to `_gcry_md_setkey'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/tunip.c:307: undefined reference to `_gcry_md_close'
    tunip.o: In function `encap_esp_encapsulate':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/tunip.c:354: undefined reference to `_gcry_create_nonce'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/tunip.c:360: undefined reference to `_gcry_cipher_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/tunip.c:361: undefined reference to `_gcry_cipher_encrypt'
    tunip.o: In function `encap_esp_recv_peer':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/tunip.c:536: undefined reference to `_gcry_cipher_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/tunip.c:537: undefined reference to `_gcry_cipher_decrypt'
    tunip.o: In function `vpnc_doit':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/tunip.c:991: undefined reference to `_gcry_create_nonce'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/tunip.c:1022: undefined reference to `_gcry_cipher_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/tunip.c:1023: undefined reference to `_gcry_cipher_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/tunip.c:1009: undefined reference to `_gcry_cipher_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/tunip.c:1010: undefined reference to `_gcry_cipher_ctl'
    config.o: In function `deobfuscate':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/config.c:145: undefined reference to `_gcry_md_hash_buffer'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/config.c:148: undefined reference to `_gcry_md_hash_buffer'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/config.c:154: undefined reference to `_gcry_md_hash_buffer'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/config.c:163: undefined reference to `_gcry_cipher_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/config.c:164: undefined reference to `_gcry_cipher_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/config.c:165: undefined reference to `_gcry_cipher_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/config.c:166: undefined reference to `_gcry_cipher_decrypt'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/config.c:167: undefined reference to `_gcry_cipher_close'
    math_group.o: In function `group_get':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:179: undefined reference to `_gcry_mpi_copy'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:180: undefined reference to `_gcry_mpi_copy'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:182: undefined reference to `_gcry_mpi_new'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:183: undefined reference to `_gcry_mpi_new'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:184: undefined reference to `_gcry_mpi_new'
    math_group.o: In function `group_free':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:198: undefined reference to `_gcry_mpi_release'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:199: undefined reference to `_gcry_mpi_release'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:200: undefined reference to `_gcry_mpi_release'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:201: undefined reference to `_gcry_mpi_release'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:202: undefined reference to `_gcry_mpi_release'
    math_group.o: In function `group_init':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:217: undefined reference to `_gcry_mpi_scan'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:218: undefined reference to `_gcry_mpi_scan'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:220: undefined reference to `_gcry_mpi_new'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:221: undefined reference to `_gcry_mpi_new'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:222: undefined reference to `_gcry_mpi_new'
    math_group.o: In function `modp_getlen':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:236: undefined reference to `_gcry_mpi_get_nbit
    '
    math_group.o: In function `modp_getraw':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:246: undefined reference to `_gcry_mpi_aprint'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:248: undefined reference to `_gcry_free'
    math_group.o: In function `modp_setraw':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:265: undefined reference to `_gcry_mpi_set_ui'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:267: undefined reference to `_gcry_mpi_mul_2exp
    
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:268: undefined reference to `_gcry_mpi_add_ui'
    math_group.o: In function `modp_setrandom':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:286: undefined reference to `_gcry_mpi_set_ui'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:292: undefined reference to `_gcry_mpi_mul_2exp
    
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:293: undefined reference to `_gcry_mpi_add_ui'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:290: undefined reference to `_gcry_randomize'
    math_group.o: In function `modp_operation':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/math_group.c:303: undefined reference to `_gcry_mpi_powm'
    vpnc.o: In function `sendrecv':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:285: undefined reference to `_gcry_md_get_algo_dlen'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:287: undefined reference to `_gcry_md_hash_buffer'
    vpnc.o: In function `isakmp_crypt':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:421: undefined reference to `_gcry_cipher_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:422: undefined reference to `_gcry_cipher_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:423: undefined reference to `_gcry_cipher_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:426: undefined reference to `_gcry_cipher_decrypt'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:436: undefined reference to `_gcry_cipher_close'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:431: undefined reference to `_gcry_cipher_encrypt'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:400: undefined reference to `_gcry_md_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:401: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:402: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:403: undefined reference to `_gcry_md_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:408: undefined reference to `_gcry_md_read'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:411: undefined reference to `_gcry_md_close'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:406: undefined reference to `_gcry_md_read'
    vpnc.o: In function `unpack_verify_phase2':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:491: undefined reference to `_gcry_md_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:492: undefined reference to `_gcry_md_setkey'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:493: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:495: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:496: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:497: undefined reference to `_gcry_md_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:498: undefined reference to `_gcry_md_read'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:508: undefined reference to `_gcry_md_close'
    vpnc.o: In function `phase2_authpacket':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:544: undefined reference to `_gcry_md_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:545: undefined reference to `_gcry_md_setkey'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:556: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:559: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:562: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:566: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:571: undefined reference to `_gcry_md_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:572: undefined reference to `_gcry_md_read'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:573: undefined reference to `_gcry_md_close'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:549: undefined reference to `_gcry_md_write'
    vpnc.o: In function `keepalive_ike':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:643: undefined reference to `_gcry_create_nonce'
    vpnc.o: In function `send_dpd':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:663: undefined reference to `_gcry_create_nonce'
    vpnc.o: In function `phase2_fatal':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:708: undefined reference to `_gcry_create_nonce'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:715: undefined reference to `_gcry_create_nonce'
    vpnc.o: In function `gen_keymat':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:754: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:755: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:756: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:757: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:758: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:759: undefined reference to `_gcry_md_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:760: undefined reference to `_gcry_md_read'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:761: undefined reference to `_gcry_md_close'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:749: undefined reference to `_gcry_md_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:750: undefined reference to `_gcry_md_setkey'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:752: undefined reference to `_gcry_md_write'
    vpnc.o: In function `do_phase2_config':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:2239: undefined reference to `_gcry_create_nonce'
    vpnc.o: In function `setup_link':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:2393: undefined reference to `_gcry_create_nonce'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:2395: undefined reference to `_gcry_create_nonce'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:2419: undefined reference to `_gcry_create_nonce'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:2717: undefined reference to `_gcry_create_nonce'
    vpnc.o:/cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:2732: more undefined references to `_gcry_crea
    e_nonce' follow
    vpnc.o: In function `setup_link':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:2593: undefined reference to `_gcry_md_get_algo_dlen'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:2585: undefined reference to `_gcry_cipher_algo_info'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:2586: undefined reference to `_gcry_cipher_algo_info'
    vpnc.o: In function `process_late_ike':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:2868: undefined reference to `_gcry_create_nonce'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:2869: undefined reference to `_gcry_create_nonce'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:2904: undefined reference to `_gcry_cipher_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:2905: undefined reference to `_gcry_cipher_ctl'
    vpnc.o: In function `main':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:3043: undefined reference to `_gcry_control'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:3045: undefined reference to `_gcry_check_version'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:3046: undefined reference to `_gcry_control'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1082: undefined reference to `_gcry_create_nonce'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1088: undefined reference to `_gcry_create_nonce'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1440: undefined reference to `_gcry_cipher_algo_info'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1441: undefined reference to `_gcry_cipher_algo_info'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1469: undefined reference to `_gcry_md_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1470: undefined reference to `_gcry_md_setkey'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1471: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1472: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1473: undefined reference to `_gcry_md_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1475: undefined reference to `_gcry_md_read'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1480: undefined reference to `_gcry_md_close'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1509: undefined reference to `_gcry_md_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1510: undefined reference to `_gcry_md_setkey'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1511: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1512: undefined reference to `_gcry_md_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1515: undefined reference to `_gcry_md_read'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1536: undefined reference to `_gcry_md_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1537: undefined reference to `_gcry_md_setkey'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1538: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1539: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1540: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1541: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1542: undefined reference to `_gcry_md_write'
    vpnc.o:/cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1543: more undefined references to `_gcry_md_w
    ite' follow
    vpnc.o: In function `main':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1544: undefined reference to `_gcry_md_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1545: undefined reference to `_gcry_md_read'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1671: undefined reference to `_gcry_md_close'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1673: undefined reference to `_gcry_md_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1674: undefined reference to `_gcry_md_setkey'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1675: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1676: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1677: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1678: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1679: undefined reference to `_gcry_md_write'
    vpnc.o:/cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1680: more undefined references to `_gcry_md_w
    ite' follow
    vpnc.o: In function `main':
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1681: undefined reference to `_gcry_md_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1683: undefined reference to `_gcry_md_read'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1684: undefined reference to `_gcry_md_close'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1688: undefined reference to `_gcry_md_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1689: undefined reference to `_gcry_md_setkey'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1690: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1691: undefined reference to `_gcry_md_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1693: undefined reference to `_gcry_md_read'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1694: undefined reference to `_gcry_md_close'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1716: undefined reference to `_gcry_md_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1717: undefined reference to `_gcry_md_setkey'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1718: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1719: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1720: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1721: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1722: undefined reference to `_gcry_md_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1724: undefined reference to `_gcry_md_read'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1725: undefined reference to `_gcry_md_close'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1728: undefined reference to `_gcry_md_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1729: undefined reference to `_gcry_md_setkey'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1730: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1731: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1732: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1733: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1734: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1735: undefined reference to `_gcry_md_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1737: undefined reference to `_gcry_md_read'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1738: undefined reference to `_gcry_md_close'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1741: undefined reference to `_gcry_md_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1742: undefined reference to `_gcry_md_setkey'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1743: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1744: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1745: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1746: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1747: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1748: undefined reference to `_gcry_md_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1750: undefined reference to `_gcry_md_read'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1751: undefined reference to `_gcry_md_close'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1786: undefined reference to `_gcry_md_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1787: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1788: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1789: undefined reference to `_gcry_md_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1791: undefined reference to `_gcry_md_read'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1792: undefined reference to `_gcry_md_close'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1797: undefined reference to `_gcry_md_close'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1872: undefined reference to `_gcry_md_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1873: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1874: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1875: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1876: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1877: undefined reference to `_gcry_md_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1878: undefined reference to `_gcry_md_read'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1884: undefined reference to `_gcry_md_close'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1766: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1768: undefined reference to `_gcry_md_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:152: undefined reference to `_gcry_md_read'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1771: undefined reference to `_gcry_md_close'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1761: undefined reference to `_gcry_md_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1762: undefined reference to `_gcry_md_setkey'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1487: undefined reference to `_gcry_md_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1488: undefined reference to `_gcry_md_setkey'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1489: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1419: undefined reference to `_gcry_md_open'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1420: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1421: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1422: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1423: undefined reference to `_gcry_md_write'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1424: undefined reference to `_gcry_md_ctl'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1425: undefined reference to `_gcry_md_read'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1426: undefined reference to `_gcry_md_close'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1388: undefined reference to `_gcry_create_nonce'
    /cygdrive/f/vpnc/vpnc-0.5.1/vpnc-0.5.1/vpnc.c:1302: undefined reference to `_gcry_md_get_algo_dlen'
    collect2: ld returned 1 exit status
    make: *** [vpnc] Error 1
    
    dieser entsteht scheinbar, wenn man libgcrypt 1.4.1 nutzt. ein downgrade auf 1.4.0 hat den fehler ausgelöscht und das kompilieren funktionierte einwandfrei.
    btw: libcrypt scheint standardmäßig bei cygwin mit dabei zu sein, was aber noch installiert werden muss ist libgcrypt

    desweiteren steht noch ein problem mit openssl aus, da er bei mir beim ausführen der exe meckert, dass hybrid modus nicht möglich ist, weil openssl nicht mit eingebunden wurde. bei cygwin ist also noch das package devels / openssl zu installieren.

    nachtrag: es muss openssl-devels und openssl installiert werden (einmal development und einmal runtime version)

    danach muss die makefale des vpnc geändert werden. und zwar gibt es dort einen auskommentierten bereich:
    Code:
    # Comment this in to obtain a binary with certificate support which is
    # GPL incompliant though.
    #OPENSSL_GPL_VIOLATION = -DOPENSSL_GPL_VIOLATION
    #OPENSSLLIBS = -lcrypto
    
    bei diesem müssen vor den zwei unteren zeilen die # am anfang der zeilen entfernt werden, das sieht dann so aus:
    Code:
    # Comment this in to obtain a binary with certificate support which is
    # GPL incompliant though.
    OPENSSL_GPL_VIOLATION = -DOPENSSL_GPL_VIOLATION
    OPENSSLLIBS = -lcrypto
    
    kleiner tipp für updates von cygwin:
    achtet darauf, dass libgcrypt nicht aktualisiert wird. cygwin aktualisiert es ansonsten ohne das ihr es mitbekommt. in der ansicht partial könnt ihr libgcrypt als keep auswählen, dann wird es nicht geupdated.

    bis bald mit neuen problemen ;)

    mfg
     
  17. #15 m0nKeY, 09.06.2008
    Zuletzt bearbeitet: 10.06.2008
    m0nKeY

    m0nKeY Grünschnabel

    Dabei seit:
    15.05.2008
    Beiträge:
    8
    Zustimmungen:
    0
    Auch alle Pakete unter "Perl" helfen nicht gegen den Fehler. Ähnlicher Fehler:

    Code:
    gcc -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.1\"
      -c -o sysdep.o sysdep.c
    In file included from config.h:27,
                     from sysdep.h:31,
                     from sysdep.c:71:
    vpnc-debug.h:1: error: parse error before '/' token
    In file included from sysdep.h:31,
                     from sysdep.c:71:
    config.h:94: error: `LAST_CONFIG' undeclared here (not in a function)
    config.h:107: warning: "struct debug_strings" declared inside parameter list
    config.h:107: warning: its scope is only this definition or declaration, which i
    s probably not what you want
    make: *** [sysdep.o] Error 1
    Ich hab jetzt nochmal versucht alle Pakete zu installieren und dann zu kompilieren, denn ich hab den Eindruck das da fot Probleme auftreten wo man den Grund nicht wirklich erklären kann... Jedenfals hab ich ein altes Systembackup eingespielt und dann mal mit allen devel paketen zu kompilieren und es hat geklappt. jetzt probier ich es nochmal aber nur mit den "anscheinend" notewendigen Paketen. Hier mal die Ausgabe des Compilers, entwpricht ungefähr dem was bei euch auch erscheint?

    Code:
    perl -w ./enum2debug.pl isakmp.h >vpnc-debug.c 2>vpnc-debug.h
    gcc -MM sysdep.c vpnc-debug.c isakmp-pkt.c tunip.c config.c dh.c math_group.c su
    pp.c vpnc.c cisco-decrypt.c -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strin
    gs  -DVERSION=\"0.5.1\"  > .depend
    gcc -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.1\"
      -c -o sysdep.o sysdep.c
    gcc -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.1\"
      -c -o vpnc-debug.o vpnc-debug.c
    gcc -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.1\"
      -c -o isakmp-pkt.o isakmp-pkt.c
    gcc -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.1\"
      -c -o tunip.o tunip.c
    tunip.c: In function `vpnc_main_loop':
    tunip.c:879: warning: unsigned int format, uint32_t arg (arg 3)
    tunip.c:879: warning: unsigned int format, long unsigned int arg (arg 4)
    tunip.c:879: warning: unsigned int format, long unsigned int arg (arg 5)
    tunip.c:879: warning: unsigned int format, uint32_t arg (arg 6)
    tunip.c:879: warning: unsigned int format, uint32_t arg (arg 3)
    tunip.c:879: warning: unsigned int format, long unsigned int arg (arg 4)
    tunip.c:879: warning: unsigned int format, long unsigned int arg (arg 5)
    tunip.c:879: warning: unsigned int format, uint32_t arg (arg 6)
    tunip.c: In function `vpnc_doit':
    tunip.c:1028: warning: unsigned int format, long unsigned int arg (arg 2)
    tunip.c:1028: warning: unsigned int format, long unsigned int arg (arg 2)
    tunip.c:1029: warning: unsigned int format, long unsigned int arg (arg 2)
    tunip.c:1029: warning: unsigned int format, long unsigned int arg (arg 2)
    gcc -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.1\"
      -c -o config.o config.c
    config.c: In function `hex_dump':
    config.c:69: warning: unsigned int format, long unsigned int arg (arg 3)
    config.c:69: warning: unsigned int format, long unsigned int arg (arg 3)
    gcc -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.1\"
      -c -o dh.o dh.c
    gcc -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.1\"
      -c -o math_group.o math_group.c
    gcc -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.1\"
      -c -o supp.o supp.c
    gcc -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.1\"
      -c -o vpnc.o vpnc.c
    vpnc.c: In function `gcry_pthread_mutex_init':
    vpnc.c:59: warning: implicit declaration of function `pthread_mutex_init'
    vpnc.c: In function `gcry_pthread_mutex_destroy':
    vpnc.c:59: warning: implicit declaration of function `pthread_mutex_destroy'
    vpnc.c: In function `gcry_pthread_mutex_lock':
    vpnc.c:59: warning: implicit declaration of function `pthread_mutex_lock'
    vpnc.c: In function `gcry_pthread_mutex_unlock':
    vpnc.c:59: warning: implicit declaration of function `pthread_mutex_unlock'
    vpnc.c: In function `lifetime_ike_process':
    vpnc.c:1031: warning: int format, uint32_t arg (arg 2)
    vpnc.c:1031: warning: int format, uint32_t arg (arg 2)
    vpnc.c: In function `lifetime_ipsec_process':
    vpnc.c:1058: warning: int format, uint32_t arg (arg 2)
    vpnc.c:1058: warning: int format, uint32_t arg (arg 2)
    vpnc.c: In function `process_late_ike':
    vpnc.c:2999: warning: unsigned int format, uint32_t arg (arg 2)
    vpnc.c:2999: warning: unsigned int format, uint32_t arg (arg 3)
    vpnc.c:2999: warning: unsigned int format, uint32_t arg (arg 2)
    vpnc.c:2999: warning: unsigned int format, uint32_t arg (arg 3)
    vpnc.c: In function `lifetime_ike_process':
    vpnc.c:1015: warning: 'value' might be used uninitialized in this function
    vpnc.c: In function `lifetime_ipsec_process':
    vpnc.c:1042: warning: 'value' might be used uninitialized in this function
    gcc -o vpnc sysdep.o vpnc-debug.o isakmp-pkt.o tunip.o config.o dh.o math_group.
    o supp.o vpnc.o -g -lgcrypt -lgpg-error
    gcc -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.1\"
      -c -o cisco-decrypt.o cisco-decrypt.c
    gcc -o cisco-decrypt cisco-decrypt.o config.o supp.o sysdep.o vpnc-debug.o -g -l
    gcrypt -lgpg-error
    ./makeman.pl
    So, ich hab nun alle Tips befolgt und es hat alles hin gehaun, die vpnc.exe wurd ohne Fehler kompiliert. Allerdings hab ich nun ein anderes Problem, der client startet, wählt sich auch irgendwo ins vpn ein, allerdings erhalte ich beim verwenden von eine total wirre IPAdress..

    Hier erstmal die Ausgabe der vpnc.exe:
    Code:
    sh: /etc/vpnc/vpnc-script: No such file or directory
    Device: my-tap
    TAP-Win32 Driver Version 9.4
    Warning: using insecure memory!
    sh: /etc/vpnc/vpnc-script: No such file or directory
    VPNC started in background (pid: 4384)...
    sieht ja erstmal nicht so schlecht aus, allerdings sollte ich eine IP Adresse im Subnetz 10.99.0.0/255.255.0.0 bekommen, ipconfig zeit aber ein das ich eine 169.xxx.xxx.xxx Adresse habe...
     
Thema:

cygwin

Die Seite wird geladen...

cygwin - Ähnliche Themen

  1. Cygwin beim abmelden

    Cygwin beim abmelden: Guten Morgen, nach einer Migration von Windows XP nach Windows 7 x64 gibt es Probleme bei Abmelden von Cygwin. Nach dem Anklicken von...
  2. Zeichensatzprobleme - Perlskript mit cygwin unter Windows

    Zeichensatzprobleme - Perlskript mit cygwin unter Windows: Hallo, ich arbeite mit cygwin unter Windows XP und führe damit ein Perlskript aus. Das Skript liest Werte (Strings) aus einer Textdatei und...
  3. Cygwin Schriftgröße in der GUI

    Cygwin Schriftgröße in der GUI: Hallo erstmal! Hoffe ich poste hier richtig. Habe ein Problem mit Cygwin. Habe mir das Programm Ghemical mittels Cygwin auf windows...
  4. Problem beim Kompilieren von C++ Code in Cygwin

    Problem beim Kompilieren von C++ Code in Cygwin: Hallo allerseits, ich habe neulich Cygwin installiert und es läuft jetzt bei mir unter Windows 7. Wollte jetzt erstmal folgenden einfachen Code...
  5. run rsync on windows cygwin bashshell via ssh to an linux sshd

    run rsync on windows cygwin bashshell via ssh to an linux sshd: Hallo Leute, möchte von einer WinXP-maschine mithilfe von cygwin rsync ausführen. Quelle ist ein Linuxhost, Ziel die WinXPmaschine. Die...