Skip to content

build missing LIB #95

@jwang323

Description

@jwang323

From ebo.2...@gmail.com 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions