Sorry the below cc line if for Solaris Studio compilers if you have gcc replace "-G" with "-shared".

thanks,

--td

On 3/21/2012 11:32 AM, TERRY DONTJE wrote:
I ran into a problem on a Suse 10.1 system and was wondering if anyone has a version of Suse newer than 10.1 that can try the following test and send me the results.
-----testpci----
cat <<EOF >testpci.c
#include <pci/pci.h>

int testpci() {
    struct pci_access *pciaccess;

    pci_init(pciaccess);
}

EOF

cc -G -m64 testpci.c -lpci



--
Terry D. Dontje | Principal Software Engineer
Developer Tools Engineering | +1.781.442.2631
Oracle *- Performance Technologies*
95 Network Drive, Burlington, MA 01803
Email terry.don...@oracle.com <mailto:terry.don...@oracle.com>



Reply via email to