http://bugzilla.novell.com/show_bug.cgi?id=516616 User joop_boonen@web.de added comment http://bugzilla.novell.com/show_bug.cgi?id=516616#c2 --- Comment #2 from Joop Boonen <joop_boonen@web.de> 2009-06-26 00:41:49 MDT --- I get the following error while building in OBS: ( https://build.opensuse.org/package/show?package=dfu-util&project=openSUSE%3AFactory%3AContrib ) . I've added: BuildRequires: libusb-compat-devel in the spec file, for opensuse > 1110 /usr/lib64/gcc/x86_64-suse-linux/4.4/../../../../x86_64-suse-linux/bin/ld: cannot find -lusb The whole info: + make make all-recursive make[1]: Entering directory `/usr/src/packages/BUILD/dfu-util-0.1+svn5213' Making all in src make[2]: Entering directory `/usr/src/packages/BUILD/dfu-util-0.1+svn5213/src' echo -e '#ifndef DFU_UTIL_VERSION' \ '\n#define DFU_UTIL_VERSION "'`svnversion`'"' \ '\n#endif' > dfu-version.h make all-am make[3]: Entering directory `/usr/src/packages/BUILD/dfu-util-0.1+svn5213/src' gcc -DHAVE_CONFIG_H -I. -I.. -Wall -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c main.c: In function 'main': main.c:710: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' mv -f .deps/main.Tpo .deps/main.Po gcc -DHAVE_CONFIG_H -I. -I.. -Wall -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -MT sam7dfu.o -MD -MP -MF .deps/sam7dfu.Tpo -c -o sam7dfu.o sam7dfu.c mv -f .deps/sam7dfu.Tpo .deps/sam7dfu.Po gcc -DHAVE_CONFIG_H -I. -I.. -Wall -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -MT dfu.o -MD -MP -MF .deps/dfu.Tpo -c -o dfu.o dfu.c mv -f .deps/dfu.Tpo .deps/dfu.Po gcc -Wall -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -o dfu-util main.o sam7dfu.o dfu.o -lusb gcc -Wall -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -static -o dfu-util_static main.o sam7dfu.o dfu.o -lusb /usr/lib64/gcc/x86_64-suse-linux/4.4/../../../../x86_64-suse-linux/bin/ld: cannot find -lusb collect2: ld returned 1 exit status make[3]: *** [dfu-util_static] Error 1 make[3]: Leaving directory `/usr/src/packages/BUILD/dfu-util-0.1+svn5213/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/src/packages/BUILD/dfu-util-0.1+svn5213/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/packages/BUILD/dfu-util-0.1+svn5213' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.7547 (%build) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.