LDFLAGS+= -fPIC and LIBS += -lrt -lpthread doesn't work via debian/rules at Launchpad
Please view PPA https:/
For second package i specify in debian/rules :-
LDFLAGS = -shared -fPIC,-
LIBS += -lrt -lpthread
with error
cc -shared -shared -fPIC,-
/usr/bin/ld: /usr/lib/
/usr/lib/
collect2: ld returned 1 exit status
make[2]: *** [libusbredirhos
make[2]: Leaving directory `/build/
make[1]: *** [all] Error 1
make[1]: Leaving directory `/build/
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
Build
succeeds, but with warning
dpkg-shlibdeps: warning: symbol pthread_
dpkg-shlibdeps: warning: symbol pthread_
dpkg-shlibdeps: warning: symbol pthread_
dpkg-shlibdeps: warning: symbol pthread_
dpkg-shlibdeps: warning: symbol clock_gettime used by debian/
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Boris Derzhavets
- Solved:
- Last query:
- Last reply:
This question was originally filed as bug #859666.