Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build missing LIB #95

Open
jwang323 opened this issue Mar 29, 2015 · 0 comments
Open

build missing LIB #95

jwang323 opened this issue Mar 29, 2015 · 0 comments

Comments

@jwang323
Copy link
Contributor

From [email protected] on August 19, 2014 01:02:35

What steps will reproduce the problem? 1. svn co ...
2. ./build.py -w What is the expected output? What do you see instead? Expected it to build, but got the following error:

cons: building associated VariantDir targets: .release_build/ocelot
config_h_build([".release_build/ocelot/configure.h"], ["ocelot/configure.h.in"])
g++ -o .release_build/ocelot/LoadPtx -L/usr/lib64 -lz -lpthread -lffi -ldl -lm .release_build/ocelot/ocelot/tools/LoadPtx.o -L/usr/lib -L/usr/lib64 -locelot -lboost_system-mt -lboost_filesystem-mt -lboost_thread-mt -lGLEW -ldl -lrt -lpthread -lLLVMAsmParser -lLLVMX86Disassembler -lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMMCParser -lLLVMX86Desc -lLLVMX86Info -lLLVMX86AsmPrinter -lLLVMX86Utils -lLLVMJIT -lLLVMRuntimeDyld -lLLVMExecutionEngine -lLLVMCodeGen -lLLVMObjCARCOpts -lLLVMScalarOpts -lLLVMInstCombine -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMTarget -lLLVMMC -lLLVMObject -lLLVMCore -lLLVMSupport
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -locelot
collect2: error: ld returned 1 exit status
scons: *** [.release_build/ocelot/LoadPtx] Error 1 What version of the product are you using? On what operating system? Repository Root: http://gpuocelot.googlecode.com/svn Repository UUID: ec522b64-56cd-11de-8d7d-01d876f1962d
Revision: 2256

OS: Gentoo Linux-3.12.21-gentoo- r1 g++ (Gentoo 4.8.3 p1.1, pie-0.5.9) 4.8.3 Please provide any additional information below. I can get ocelot to build by adding -L.release_build to the beginning of the last G++ command. I have seen this before and was able to fix it by defining "LIBPATH=['.release_build']" in the environment. I was not able to figure out how to do this to the provided ./ocelot/SConscript

Original issue: http://code.google.com/p/gpuocelot/issues/detail?id=96

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant