I added pthread and everything worked. Thanks a lot. =]

-
Guilherme Cavalcanti
81 9194-5317

*"People who are crazy enough to think they can change the world, are the
ones who do."*



On Mon, Nov 10, 2008 at 12:53 PM, Guilherme Cavalcanti <
[EMAIL PROTECTED]> wrote:

> I got it:
>
> g++ -L/usr/local/lib -o"TesteMico"  ./account.o ./main.o   -lcrypto -lssl
>> -lmico2.3.13 -lmicoir2.3.13
>> /usr/local/lib/libmico2.3.13.so: undefined reference to `pthread_cancel'
>> /usr/local/lib/libmico2.3.13.so: undefined reference to
>> `pthread_getspecific'
>> /usr/local/lib/libmico2.3.13.so: undefined reference to `pthread_create'
>> /usr/local/lib/libmico2.3.13.so: undefined reference to
>> `pthread_mutexattr_destroy'
>> /usr/local/lib/libmico2.3.13.so: undefined reference to
>> `pthread_rwlock_destroy'
>> /usr/local/lib/libmico2.3.13.so: undefined reference to
>> `pthread_key_delete'
>> /usr/local/lib/libmico2.3.13.so: undefined reference to
>> `pthread_key_create'
>> /usr/local/lib/libmico2.3.13.so: undefined reference to
>> `pthread_mutexattr_init'
>> /usr/local/lib/libmico2.3.13.so: undefined reference to
>> `pthread_rwlock_rdlock'
>> /usr/local/lib/libmico2.3.13.so: undefined reference to `sem_wait'
>> /usr/local/lib/libmico2.3.13.so: undefined reference to `pthread_join'
>> /usr/local/lib/libmico2.3.13.so: undefined reference to `pthread_detach'
>> /usr/local/lib/libmico2.3.13.so: undefined reference to `sem_post'
>> /usr/local/lib/libmico2.3.13.so: undefined reference to
>> `pthread_mutexattr_settype'
>> /usr/local/lib/libmico2.3.13.so: undefined reference to
>> `pthread_rwlock_init'
>> /usr/local/lib/libmico2.3.13.so: undefined reference to
>> `pthread_rwlock_unlock'
>> /usr/local/lib/libmico2.3.13.so: undefined reference to
>> `pthread_rwlock_wrlock'
>> /usr/local/lib/libmico2.3.13.so: undefined reference to `pthread_sigmask'
>> /usr/local/lib/libmico2.3.13.so: undefined reference to
>> `pthread_setspecific'
>> /usr/local/lib/libmico2.3.13.so: undefined reference to `sem_init'
>> /usr/local/lib/libmico2.3.13.so: undefined reference to `sem_destroy'
>> collect2: ld returned 1 exit status
>> make: *** [TesteMico] Error 1
>>
>
> On Mon, Nov 10, 2008 at 12:43 PM, Karel Gardas <[EMAIL PROTECTED]
> > wrote:
>
>>
>> You should add -lcrypto and -lssl as well.
>>
>> Karel
>>
>> Guilherme Cavalcanti wrote:
>> > Thanks everyone for helping me. I finally compiled mico. But there is a
>> > problem: When I try to build something, I get these error messages:
>> >
>> > Building target: TesteMico
>> >> Invoking: GCC C++ Linker
>> >> g++ -L/usr/local/lib -o"TesteMico"  ./account.o ./main.o   -lmico2.3.13
>> >> -lmicoaux2.3.13 -lmicoir2.3.13 -lmicocoss2.3.13
>> --
>> Karel Gardas                  [EMAIL PROTECTED]
>> ObjectSecurity Ltd.           http://www.objectsecurity.com
>>
>
>
_______________________________________________
Mico-devel mailing list
Mico-devel@mico.org
http://www.mico.org/mailman/listinfo/mico-devel

Reply via email to