We have a vme crate running RedHat Enterprise Linux 3. Students are writing programs to access data on the vme crate. In order to do this, we need a computer with compilation tools and drivers for the vme crate. (The crate only has a 1gb flash card in it, which does not have enough room to hold all the compilation programs.) So, we are using a computer running Cern SL 3.0.8 (2.4.21-27.0.2.EL.cernsmp), which is close enough to the kernel on the crate (2.4.21-4.EL).

The driver/libraries were downloaded from here and the documentation came from here

The software was untarred to /cpv/code/vme where it was compiled with make and installed with make install (as root).

It installed:

ll /usr/lib/libvme.so*
lrwxrwxrwx    1 root     root           11 Aug 18 12:15 /usr/lib/libvme.so -> libvme.so.3
lrwxrwxrwx    1 root     root           13 Aug 18 12:15 /usr/lib/libvme.so.3 -> libvme.so.3.6
-rw-r--r--    1 root     root        12629 Aug 18 12:15 /usr/lib/libvme.so.3.6
/lib/modules/2.4.21-27.0.2.EL.cernsmp/kernel/drivers/vme
ll
total 68
-rw-r--r--    1 root     root        63606 Aug 18 12:14 vme_universe.o
cd /usr/include/vme
ll
total 72
-rw-r--r--    1 root     root        33954 Aug 18 12:15 universe.h
-rw-r--r--    1 root     root        10516 Aug 18 12:15 vme_api.h
-rw-r--r--    1 root     root        12804 Aug 18 12:15 vme.h
-rw-r--r--    1 root     root         5682 Aug 18 12:15 vmivme.h

Then go to the vme_universe/test directory and run make and make install. This creates the following:

cd /usr/bin
ll vme*
-rwxr-xr-x    1 root     root        10748 Aug 18 13:16 vme_acquire_bus*
-rwxr-xr-x    1 root     root        13198 Aug 18 13:16 vme_catch_interrupt*
-rwxr-xr-x    1 root     root        12982 Aug 18 13:16 vme_dma_read*
-rwxr-xr-x    1 root     root        13366 Aug 18 13:16 vme_dma_write*
-rwxr-xr-x    1 root     root        13231 Aug 18 13:16 vme_endian*
-rwxr-xr-x    1 root     root        11461 Aug 18 13:16 vme_generate_interrupt*
-rwxr-xr-x    1 root     root        13034 Aug 18 13:16 vme_peek*
-rwxr-xr-x    1 root     root        13234 Aug 18 13:16 vme_poke*
-rwxr-xr-x    1 root     root        10748 Aug 18 13:16 vme_release_bus*
-rwxr-xr-x    1 root     root        12205 Aug 18 13:16 vme_rmw*
-rwxr-xr-x    1 root     root        13035 Aug 18 13:16 vme_slave_peek*
-rwxr-xr-x    1 root     root        13327 Aug 18 13:16 vme_slave_poke*
-rwxr-xr-x    1 root     root        10708 Aug 18 13:16 vme_sysreset*