Menu

Having trouble compiling Gaim 1.0.0 on Win

vasomecola
2004-09-23
2013-01-14
  • vasomecola

    vasomecola - 2004-09-23

    I'm trying to learn how to compile gaim on windows, I already know how to compile it on Linux. And today I decided to learn how to do it on windows.

    I went to the instructions on the gaim site:
    http://gaim.sf.net/win32/build.php

    I followed the instructions from there, downloading and installing and so on. Instead of using my C: drive i'm using my F: drive letter. So I had made the change necessary in the .bash_profile to:
    PATH="/cygdrive/f/MinGW/bin:$PATH"

    Changed the drive letter also in gaim/plugins/perl/common/Makefile.mingw

    I downloaded the source for Gaim 1.0.0 and extracted into ~/gaim

    I run make -f Makefile.mingw install,

    And it started compiling and stops because of an error within: ~/gaim/src/protocols/oscar. It starts to make liboscar.dll

    Creating library file: liboscar.lib
    auth.o(.text+0.522):auth.c: undefined reference to '__isctype'
    auth.o(.text+0.7c1):auth.c: undefined reference to '__imp___pctype'

    .... and so on......

    collect2: ld returned 1 exit status
    make[1]: *** [liboscar.dll] Error 1
    make[1]: Leaving directory....
    make: *** [all] Error 2

    Am i missing some library or package in need to install from cygwin?

     
    • Daniel Atallah

      Daniel Atallah - 2004-09-23

      it sounds like you are trying to compile it with cygwin's gcc.

      you want to make sure that you are using mingw's gcc

      `which gcc`

       
    • vasomecola

      vasomecola - 2004-09-23

      which gcc prints out:

      /usr/bin/gcc

       
    • vasomecola

      vasomecola - 2004-09-23

      Thanks, i got it to compile. I just ran this at the command:

      export PATH=/cygdrive/f/MinGW/bin:$PATH

      It for some reason wasn't getting it from the .bash_profile where i had it set to:

      PATH="/cygdrive/f/MinGW/bin:$PATH"