problemm at compiling me4502 mod 2.0b4

  • Klotzstein
    27th Apr 2011 Member 0 Permalink
    erm somehow it gives weird compiller errors
    no this time not file missing

    ||=== me4502, Release ===|
    obj\Release\source code\tpt\me4502\src\elements\agas.o:agas.c|| multiple definition of `update_AGAS'|
    obj\Release\source code\tpt\me4502\src\elements\acid copy.o:acid copy.c|| first defined here|
    obj\Release\source code\tpt\me4502\src\main.o:main.c|| undefined reference to `_imp__pthread_mutex_lock'|
    obj\Release\source code\tpt\me4502\src\main.o:main.c|| undefined reference to `_imp__pthread_mutex_unlock'|
    obj\Release\source code\tpt\me4502\src\main.o:main.c|| undefined reference to `_imp__pthread_mutexattr_init'|
    obj\Release\source code\tpt\me4502\src\main.o:main.c|| undefined reference to `_imp__pthread_mutex_init'|
    obj\Release\source code\tpt\me4502\src\main.o:main.c|| undefined reference to `_imp__pthread_create'|
    obj\Release\source code\tpt\me4502\src\main.o:main.c|| undefined reference to `_imp__pthread_mutex_lock'|
    obj\Release\source code\tpt\me4502\src\main.o:main.c|| undefined reference to `_imp__pthread_mutex_unlock'|
    ||=== Build finished: 9 errors, 0 warnings ===|

    obj\Release\source code\tpt\me4502\src\elements\agas.o:agas.c:(.text+0x0): multiple definition of `update_AGAS'
    obj\Release\source code\tpt\me4502\src\elements\acid copy.o:acid copy.c:(.text+0x0): first defined here
    obj\Release\source code\tpt\me4502\src\main.o:main.c:(.text+0x71): undefined reference to `_imp__pthread_mutex_lock'
    obj\Release\source code\tpt\me4502\src\main.o:main.c:(.text+0x77): undefined reference to `_imp__pthread_mutex_unlock'
    obj\Release\source code\tpt\me4502\src\main.o:main.c:(.text+0x48b0): undefined reference to `_imp__pthread_mutexattr_init'
    obj\Release\source code\tpt\me4502\src\main.o:main.c:(.text+0x48c5): undefined reference to `_imp__pthread_mutex_init'
    obj\Release\source code\tpt\me4502\src\main.o:main.c:(.text+0x48ea): undefined reference to `_imp__pthread_create'
    obj\Release\source code\tpt\me4502\src\main.o:main.c:(.text+0x4a71): undefined reference to `_imp__pthread_mutex_lock'
    obj\Release\source code\tpt\me4502\src\main.o:main.c:(.text+0x4abe): undefined reference to `_imp__pthread_mutex_unlock'

    How i am doing it rong?
    It says something with Thread i think something with CPU but i have no idea how i should fix it
    using Windows 7
    Code::Block

    I feel stupid :S
    Edit: Ops typo it is 2.0b5 not 2.0b4 sorry for confusing
  • Pilihp64
    27th Apr 2011 Developer 0 Permalink
    as i said before in another thread, there is now some multi-threading, and you need to download some pthread library files. I haven't done it myself yet, but google should find it for you.
  • me4502
    27th Apr 2011 Member 0 Permalink
    @Klotzstein (View Post)
    @cracker64 (View Post)
    As cracker64 said it has multithreading now. I have adding every commit to make it up to date. Just search on google pthread lib windows and download the executable extractor. If you cant find it pm me and I could upload it on media fire. Just add that like anyother library.