[Bug 504597] New: gcc errors building the attached package
http://bugzilla.novell.com/show_bug.cgi?id=504597 Summary: gcc errors building the attached package Classification: openSUSE Product: openSUSE 11.2 Version: Milestone 1 Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: sboyce@blueyonder.co.uk QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-GB; rv:1.9.08) Gecko/2009032608 Firefox/3.0.8 Same errors on x86 and x86_64. Builds in kubuntu 9.04 x86_64 in a VirtualBox VM and the binary runs on openSUSE. yasu:/ftp/may09/usbsoftrock # make gcc `libusb-config --cflags` -O -Wall -std=c99 -c usbsoftrock.c usbsoftrock.c:287: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘readVersion’ usbsoftrock.c: In function ‘readStartupFreq’: usbsoftrock.c:304: error: ‘uint32_t’ undeclared (first use in this function) usbsoftrock.c:304: error: (Each undeclared identifier is reported only once usbsoftrock.c:304: error: for each function it appears in.) usbsoftrock.c:304: error: expected ‘;’ before ‘iFreq’ usbsoftrock.c:307: error: ‘iFreq’ undeclared (first use in this function) usbsoftrock.c: In function ‘readXtallFreq’: usbsoftrock.c:317: error: ‘uint32_t’ undeclared (first use in this function) usbsoftrock.c:317: error: expected ‘;’ before ‘iFreq’ usbsoftrock.c:320: error: ‘iFreq’ undeclared (first use in this function) usbsoftrock.c: In function ‘readMultiplyLO’: usbsoftrock.c:330: error: ‘uint32_t’ undeclared (first use in this function) usbsoftrock.c:330: error: expected ‘;’ before ‘iSM’ usbsoftrock.c:334: error: ‘iSM’ undeclared (first use in this function) usbsoftrock.c: In function ‘readFrequencyByValue’: usbsoftrock.c:345: error: ‘uint32_t’ undeclared (first use in this function) usbsoftrock.c:345: error: expected ‘;’ before ‘iFreq’ usbsoftrock.c:348: error: ‘iFreq’ undeclared (first use in this function) usbsoftrock.c: In function ‘readSmoothTunePPM’: usbsoftrock.c:359: error: ‘uint16_t’ undeclared (first use in this function) usbsoftrock.c:359: error: expected ‘;’ before ‘smooth’ usbsoftrock.c:362: error: ‘smooth’ undeclared (first use in this function) usbsoftrock.c: In function ‘readFilters’: usbsoftrock.c:370: error: ‘uint16_t’ undeclared (first use in this function) usbsoftrock.c:370: error: expected ‘;’ before ‘FilterCrossOver’ usbsoftrock.c:374: error: ‘FilterCrossOver’ undeclared (first use in this function) usbsoftrock.c: In function ‘setBPF’: usbsoftrock.c:400: error: ‘uint16_t’ undeclared (first use in this function) usbsoftrock.c:400: error: expected ‘;’ before ‘FilterCrossOver’ usbsoftrock.c:404: error: ‘FilterCrossOver’ undeclared (first use in this function) usbsoftrock.c: In function ‘main’: usbsoftrock.c:689: error: ‘uint16_t’ undeclared (first use in this function) usbsoftrock.c:689: error: expected ‘;’ before ‘version’ usbsoftrock.c:690: error: ‘version’ undeclared (first use in this function) make: *** [usbsoftrock.o] Error 1 The result of ldd for the kubuntu built binary that is running on openSUSE # ldd /usr/local/bin/usbsoftrock linux-vdso.so.1 => (0x00007fffdee50000) libusb-0.1.so.4 => /usr/lib64/libusb-0.1.so.4 (0x00007fc1c9bf1000) libm.so.6 => /lib64/libm.so.6 (0x00007fc1c999b000) libc.so.6 => /lib64/libc.so.6 (0x00007fc1c9642000) libusb-1.0.so.0 => /usr/lib64/libusb-1.0.so.0 (0x00007fc1c9435000) /lib64/ld-linux-x86-64.so.2 (0x00007fc1c9df6000) librt.so.1 => /lib64/librt.so.1 (0x00007fc1c922c000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fc1c9010000) Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: See Details above. Expected Results: the "usbsoftrock" binary should be built. -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=504597 Sid Boyce <sboyce@blueyonder.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=504597 User sboyce@blueyonder.co.uk added comment http://bugzilla.novell.com/show_bug.cgi?id=504597#c1 --- Comment #1 from Sid Boyce <sboyce@blueyonder.co.uk> 2009-05-17 05:48:26 MDT --- Created an attachment (id=292641) --> (http://bugzilla.novell.com/attachment.cgi?id=292641) source package Package contains the source file and Makefile. -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=504597 User sboyce@blueyonder.co.uk added comment http://bugzilla.novell.com/show_bug.cgi?id=504597#c2 --- Comment #2 from Sid Boyce <sboyce@blueyonder.co.uk> 2009-05-17 05:49:17 MDT --- Created an attachment (id=292642) --> (http://bugzilla.novell.com/attachment.cgi?id=292642) The README -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=504597 User sboyce@blueyonder.co.uk added comment http://bugzilla.novell.com/show_bug.cgi?id=504597#c3 --- Comment #3 from Sid Boyce <sboyce@blueyonder.co.uk> 2009-05-17 05:50:35 MDT --- Created an attachment (id=292643) --> (http://bugzilla.novell.com/attachment.cgi?id=292643) C source file -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=504597 Sid Boyce <sboyce@blueyonder.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #292641|source package |The Makefile description| | -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=504597 Zheng Chen <zchen@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zchen@novell.com AssignedTo|bnc-team-screening@forge.pr |matz@novell.com |ovo.novell.com | -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=504597 User rguenther@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=504597#c4 Richard Guenther <rguenther@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #4 from Richard Guenther <rguenther@novell.com> 2009-05-19 02:48:46 MDT --- Include stdint.h. -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=504597 User sboyce@blueyonder.co.uk added comment http://bugzilla.novell.com/show_bug.cgi?id=504597#c5 Sid Boyce <sboyce@blueyonder.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sboyce@blueyonder.co.uk --- Comment #5 from Sid Boyce <sboyce@blueyonder.co.uk> 2009-05-19 04:28:47 MDT --- That simple? Thanks, I was puzzled why it built on kubuntu and not on openSUSE. That's why I never thought it could be a missing header file. -- 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.
participants (1)
-
bugzilla_noreply@novell.com