From: frank m. h. <fm...@st...> - 2002-03-26 00:48:15
|
Okay, the cvs version of osinit.c should have this fixed now. Or you could just comment out the initialization of the sendpage and get_unmapped_area members of ib_fops (they were added in 2.4.4). Frank On Mon, 25 Mar 2002 sa...@es... wrote: > OK, solved that problem but got a new one :( > (I was not `su' before - I guess the config does stuff in the > kernel tree, but because of the gui-ish interface, the errors > got covered up... oops). > > But I now get the compilation going OK for a bit and then hanging with: > > <successful compilation stuff deleted...> > > gcc -D__KERNEL__ -I/usr/src/linux-2.4.2/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.2/include/linux/modversions.h -I. -I../include -I ../board/ -I../../include -DEXPORT_SYMTAB -c -o osinit.o osinit.c > osinit.c:124: unknown field `sendpage' specified in initializer > osinit.c:125: unknown field `get_unmapped_area_R9c286fe9' specified in initializer > osinit.c:125: warning: excess elements in struct initializer > osinit.c:125: warning: (near initialization for `ib_fops') > make[2]: *** [osinit.o] Error 1 > make[2]: Leaving directory `/home/sak/GPIB/linux-gpib-3.1.2/driver/sys' > make[1]: *** [subdirs] Error 2 > make[1]: Leaving directory `/home/sak/GPIB/linux-gpib-3.1.2/driver' > make: *** [linux-gpib] Error 2 > [root@erebus linux-gpib-3.1.2]# > > Any help appreciated... > Thanks, > Sridhar. > > PS, in case any body is interested, I am trying to talk to a Tektronix > TDS-310 oscilloscope running at 50 Msamples/s to read some ice > penetrating radar data (while driving around on the ice in > Antarctica). Then the data will be stored to disk and I will run > a Tcl (with BLT) program to look at the data... > > The alternative is to pay Mathworks for their data acquisition toolbox > for matlab and use that - and I would rather go the open source way! > > Thanks, > Sridhar. > > _______________________________________________ > Linux-gpib-general mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linux-gpib-general > |