[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [CPROG] Linker problem ved brug af egen so fil



Kasper Hauge wrote:

> og så:
>
> gcc -D_LINUX_ -D_ISOC99_SOURCE -g -o test test.o -L. -lmylib
>
> ./libmylib.so: undefined reference to `pthread_create'
> ./libmylib.so: undefined reference to `pthread_cancel'
> ./libmylib.so: undefined reference to `Tcl_Sleep'
> collect2: ld returned 1 exit status
>

Jeg skal jo huske at angive alle de libs jeg bruger

gcc -D_LINUX_ -D_ISOC99_SOURCE -g -o test test.o -L. -lmylib -lpthread
-ltcl

:-))




 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:08 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *