[SLE] [suse-programming-e] Problem with Digi rpmbuild --rebuild 40002347_B.src.rpm
Hello, I want to create a rpm for this and put it on my ftp site for others to use with SUSE Linux 10.0 retail version. I need some assistance. I may be too tired but I can not seem to figure out this problem. I am trying to get the Digi PC/Xem board working on SUSE Linux 10.0 retail version. I have done the following... 1. cd /usr/src/linux-2.6.13-15.8 2. make mrproper 3. make oldconfig Then... 4. # rpmbuild --rebuild 40002347_B.src.rpm ... + '[' /var/tmp/dgap-buildroot = / ']' + CFLAGS='-O2 -g -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2' + export CFLAGS + CXXFLAGS='-O2 -g -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2' + export CXXFLAGS + FFLAGS='-O2 -g -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2' + export FFLAGS + ./configure --host=i686-suse-linux --build=i686-suse-linux --target=i586-suse-linux --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info ... (cd driver; make all) make[1]: Entering directory `/usr/src/packages/BUILD/dgap-1.2/driver' make -C /lib/modules/2.6.13-15.8-smp/build SUBDIRS=$PWD modules MYPWD=/usr/src/packages/BUILD/dgap-1.2/driver make[2]: Entering directory `/usr/src/linux-2.6.13-15.8-obj/i386/smp' make -C ../../../linux-2.6.13-15.8 O=../linux-2.6.13-15.8-obj/i386/smp modules CC [M] /usr/src/packages/BUILD/dgap-1.2/driver/dgap_driver.o CC [M] /usr/src/packages/BUILD/dgap-1.2/driver/dgap_fep5.o CC [M] /usr/src/packages/BUILD/dgap-1.2/driver/dgap_mgmt.o CC [M] /usr/src/packages/BUILD/dgap-1.2/driver/dgap_parse.o CC [M] /usr/src/packages/BUILD/dgap-1.2/driver/dgap_proc.o CC [M] /usr/src/packages/BUILD/dgap-1.2/driver/dgap_trace.o CC [M] /usr/src/packages/BUILD/dgap-1.2/driver/dgap_tty.o CC [M] /usr/src/packages/BUILD/dgap-1.2/driver/dgap_sysfs.o /usr/src/packages/BUILD/dgap-1.2/driver/dgap_sysfs.c:183: warning: initialization from incompatible pointer type /usr/src/packages/BUILD/dgap-1.2/driver/dgap_sysfs.c:200: warning: initialization from incompatible pointer type /usr/src/packages/BUILD/dgap-1.2/driver/dgap_sysfs.c:228: warning: initialization from incompatible pointer type /usr/src/packages/BUILD/dgap-1.2/driver/dgap_sysfs.c:245: warning: initialization from incompatible pointer type /usr/src/packages/BUILD/dgap-1.2/driver/dgap_sysfs.c:262: warning: initialization from incompatible pointer type /usr/src/packages/BUILD/dgap-1.2/driver/dgap_sysfs.c:279: warning: initialization from incompatible pointer type /usr/src/packages/BUILD/dgap-1.2/driver/dgap_sysfs.c:296: warning: initialization from incompatible pointer type /usr/src/packages/BUILD/dgap-1.2/driver/dgap_sysfs.c:313: warning: initialization from incompatible pointer type /usr/src/packages/BUILD/dgap-1.2/driver/dgap_sysfs.c:330: warning: initialization from incompatible pointer type /usr/src/packages/BUILD/dgap-1.2/driver/dgap_sysfs.c:347: warning: initialization from incompatible pointer type /usr/src/packages/BUILD/dgap-1.2/driver/dgap_sysfs.c: In function ‘dgap_tty_class_init’: /usr/src/packages/BUILD/dgap-1.2/driver/dgap_sysfs.c:387: error: implicit declaration of function ‘class_simple_create’ /usr/src/packages/BUILD/dgap-1.2/driver/dgap_sysfs.c:387: warning: assignment makes pointer from integer without a cast /usr/src/packages/BUILD/dgap-1.2/driver/dgap_sysfs.c: In function ‘dgap_tty_class_destroy’: /usr/src/packages/BUILD/dgap-1.2/driver/dgap_sysfs.c:400: error: implicit declaration of function ‘class_simple_destroy’ /usr/src/packages/BUILD/dgap-1.2/driver/dgap_sysfs.c: In function ‘dgap_tty_register_device’: /usr/src/packages/BUILD/dgap-1.2/driver/dgap_sysfs.c:571: error: implicit declaration of function ‘class_simple_device_add’ /usr/src/packages/BUILD/dgap-1.2/driver/dgap_sysfs.c:573: warning: assignment makes pointer from integer without a cast /usr/src/packages/BUILD/dgap-1.2/driver/dgap_sysfs.c:582: warning: assignment makes pointer from integer without a cast /usr/src/packages/BUILD/dgap-1.2/driver/dgap_sysfs.c: In function ‘dgap_tty_unregister_device’: /usr/src/packages/BUILD/dgap-1.2/driver/dgap_sysfs.c:605: error: implicit declaration of function ‘class_simple_device_remove’ make[5]: *** [/usr/src/packages/BUILD/dgap-1.2/driver/dgap_sysfs.o] Error 1 make[4]: *** [_module_/usr/src/packages/BUILD/dgap-1.2/driver] Error 2 make[3]: *** [modules] Error 2 make[2]: *** [modules] Error 2 make[2]: Leaving directory `/usr/src/linux-2.6.13-15.8-obj/i386/smp' make[1]: *** [build] Error 2 make[1]: Leaving directory `/usr/src/packages/BUILD/dgap-1.2/driver' make: *** [build] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.23324 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.23324 (%build) Can someone shed some light on what to do to fix this? Thanks, -- Boyd Gerber <gerberb@zenez.com> ZENEZ 1042 East Fort Union #135, Midvale Utah 84047 -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Hi, I received a pre-release of a new driver and it works. Thanks, -- Boyd Gerber <gerberb@zenez.com> ZENEZ 1042 East Fort Union #135, Midvale Utah 84047
participants (1)
-
Boyd Lynn Gerber