Skip to content

Instantly share code, notes, and snippets.

@leetreveil
Created March 2, 2012 15:33
Show Gist options
  • Save leetreveil/1959198 to your computer and use it in GitHub Desktop.
Save leetreveil/1959198 to your computer and use it in GitHub Desktop.
unable to load shared lib...
test: test.obj
g++ test.o -o kdssvolumeinfo_node.node -L/usr/local/lib $(KDSS_SLIB_NAME) -shared
test.obj:
g++ $(CPPLAGS) $(CFLAGS) -g -fPIC -DPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DEV_MULTIPLICITY=0 $(INCLDIRS) -I/usr/local/include/node kdssvolumeinfo_node.cpp -c -o test.o
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment