There is not enough information here to determine the cause, can you post more of the driver compilation near the error?
Also, be sure you are using the DISTRO flag:
# rpmbuild --rebuild --define DISTRO=REDHAT_AS_3 (driver).src.rpm
# rpm -i /usr/src/redhat/RPMS/i386/dgrp-(ver).i386.rpm
# dgrp_gui