Carl-Daniel Hailfinger schrieb: > Ralf Gerbig schrieb: > >>SuSE does not have a shared libpci, only static so the precompiled >>binary unsurprisingly did not work. >> >>Compiling the source I got: >> >>rge@lapdog2:/usr/src/vbetool-0.2> make >>if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" >>-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"vbetool\" >>-DVERSION=\"0.2\" -I. -I. >>-g -Wall -Werror -pedantic -g -O2 -MT vbetool.o -MD -MP -MF ".deps/vbetool.Tpo" \ >> -c -o vbetool.o `test -f 'vbetool.c' || echo './'`vbetool.c; \ >>then mv -f ".deps/vbetool.Tpo" ".deps/vbetool.Po"; \ >>else rm -f ".deps/vbetool.Tpo"; exit 1; \ >>fi >>In file included from /usr/include/stdlib.h:416, >> from vbetool.c:14: >>/usr/include/sys/types.h:62: error: conflicting types for `dev_t' >>/usr/include/linux/types.h:22: error: previous declaration of `dev_t' >>[...] > > > Yes, the pci.h shipped by SUSE has problems. Simply move the #include > from the beginning to directly before #include > >>after fuzing around with -D, I temporally commented out the >>include. Thereafter adding -lpci to the end of the link command, I got >>a working executable. Matthew, could you apply attached patch and run aclocal, autoconf and automake again? This will fix the compile problems on SUSE 9.2. Regards, Carl-Daniel -- http://www.hailfinger.org/