Re: OcelotConfig: symbol lookup error:

47 views
Skip to first unread message

Saeed Salehi

unread,
Apr 23, 2013, 7:21:59 AM4/23/13
to gpuo...@googlegroups.com
up?
up?
please help me?
no body can't help me?
i nead to help?

در سه‌شنبه 16 آوریل 2013، ساعت 23:27:11 (UTC+4:30)، Saeed Salehi نوشته:
Hi dear all.
I'm a beginner in Ocelot.
Please guide me :).
When I want to run this code
        g++ -o hello.out hello.o `OcelotConfig -l`
I encounter with the following error:
Could you please help me?
Thanks a lot.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
OcelotConfig: symbol lookup error: /usr/lib/libocelot.so: undefined symbol: clock_gettime
saeed.o: In function `wrongMemcpyDirection()':
tmpxft_0000477a_00000000-3_saeed.cudafe1.cpp:(.text+0x3f): undefined reference to `cudaMalloc'
tmpxft_0000477a_00000000-3_saeed.cudafe1.cpp:(.text+0x61): undefined reference to `cudaMemcpy'
tmpxft_0000477a_00000000-3_saeed.cudafe1.cpp:(.text+0x6c): undefined reference to `cudaFree'
saeed.o: In function `hostPointerOnDevice()':
tmpxft_0000477a_00000000-3_saeed.cudafe1.cpp:(.text+0xc2): undefined reference to `cudaMalloc'
tmpxft_0000477a_00000000-3_saeed.cudafe1.cpp:(.text+0xe4): undefined reference to `cudaMemcpy'
tmpxft_0000477a_00000000-3_saeed.cudafe1.cpp:(.text+0x168): undefined reference to `cudaConfigureCall'
tmpxft_0000477a_00000000-3_saeed.cudafe1.cpp:(.text+0x182): undefined reference to `cudaFree'
saeed.o: In function `bufferOverrun()':
tmpxft_0000477a_00000000-3_saeed.cudafe1.cpp:(.text+0x1d8): undefined reference to `cudaMalloc'
tmpxft_0000477a_00000000-3_saeed.cudafe1.cpp:(.text+0x1fa): undefined reference to `cudaMemcpy'
tmpxft_0000477a_00000000-3_saeed.cudafe1.cpp:(.text+0x27e): undefined reference to `cudaConfigureCall'
tmpxft_0000477a_00000000-3_saeed.cudafe1.cpp:(.text+0x298): undefined reference to `cudaFree'
saeed.o: In function `__cudaUnregisterBinaryUtil()':
tmpxft_0000477a_00000000-3_saeed.cudafe1.cpp:(.text+0x48b): undefined reference to `__cudaUnregisterFatBinary'
saeed.o: In function `__device_stub__Z4initPi(int*)':
tmpxft_0000477a_00000000-3_saeed.cudafe1.cpp:(.text+0x4ae): undefined reference to `cudaSetupArgument'
saeed.o: In function `__nv_cudaEntityRegisterCallback(void**)':
tmpxft_0000477a_00000000-3_saeed.cudafe1.cpp:(.text+0x546): undefined reference to `__cudaRegisterFunction'
saeed.o: In function `__sti____cudaRegisterAll_40_tmpxft_0000477a_00000000_6_saeed_cpp1_ii_41d29f55()':
tmpxft_0000477a_00000000-3_saeed.cudafe1.cpp:(.text+0x55a): undefined reference to `__cudaRegisterFatBinary'
saeed.o: In function `cudaError cudaLaunch<char>(char*)':
tmpxft_0000477a_00000000-3_saeed.cudafe1.cpp:(.text._Z10cudaLaunchIcE9cudaErrorPT_[cudaError cudaLaunch<char>(char*)]+0xd): undefined reference to `cudaLaunch'
collect2: ld returned 1 exit status
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Reply all
Reply to author
Forward
0 new messages