shelnutt@Ubuntu32-L:~/wine/patches/cuda$ make winegcc -shared cuda.dll.spec -mno-cygwin -o cuda.dll.so cudart.o /usr/local/cuda/lib/libcudart.so.2.0 -lodbc32 -lole32 -loleaut32 -lwinspool -luuid -lcudart gcc: /usr/local/cuda/lib/libcudart.so.2.0: linker input file unused because linking not done winebuild: libcudart.so.2-jP21n2.o is an empty file winegcc: winebuild failed make: *** [cuda.dll.so] Error 2
Why do you need to link explicitly to libcudart.so.2.0? Try omitting that to see what happens. --Juan