- or download this
#ifdef cplusplus
#define EXTERN_C extern "C"
...
newXS("DBI::bootstrap", boot_DBI, __FILE__);
newXS("DBD::mysql::bootstrap", boot_DBD__mysql, __FILE__);
}
- or download this
g++ -g -o dbChg dbWrapper.cc -Wno-deprecated `perl -MExtUtils::Embed -
+e ccopts -e ldopts`
- or download this
/tmp/cccNMAhR.o: In function `void __iter_swap<char *, char *, char>(c
+har *, char *, char *)':
/usr/include/g++-3/stl_iterator.h(.text+0x29): undefined reference to
+`boot_DBI'
/usr/include/g++-3/stl_iterator.h(.text+0x43): undefined reference to
+`boot_DBD__mysql'
collect2: ld returned 1 exit status