Installing Your Gateway Driver


After you compile your gateway driver, you simply need to move, copy, or link it to the bin subdirectory where K2 is installed. The following Unix commands show renaming and linking the vgwsamp driver, where install_dir is the directory in which K2 is installed:

mv /install_dir/k2/_ssol26/bin/vgwsamp.so \
/install_dir/k2/_ssol26/bin/vgwsamp.so.orig

ln -s /install_dir/k2/samples/client/c/GDK/vgwsamp/src \
/_ssol26/vgwsamp.so \
/install_dir/k2/_ssol26/bin/vgwsamp.so