compling error in netxms-1.2.6 code

Started by Billy, February 25, 2013, 12:40:25 PM

Previous topic - Next topic

Billy

Hi,Victor
   after i excuted
   --------------------------------------------------------------------
   configure --with-server --with-snmp --with-mysql --enable-unicode
   make
   --------------------------------------------------------------------

   Errors information comed out in compling netxms-1.2.6, please check, thank you!



Making all in libnxsnmp
make[4]: Entering directory `/home/netxms-1.2.6/src/snmp/libnxsnmp'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/netxms-1.2.6/src/snmp/libnxsnmp'
Making all in nxmibc
make[4]: Entering directory `/home/netxms-1.2.6/src/snmp/nxmibc'
  CXXLD  nxmibc
../../libnetxms/.libs/libnetxms.so: undefined reference to `tre_regwexec'   --------------------this position!!!!!!!!!!
../../libnetxms/.libs/libnetxms.so: undefined reference to `tre_regwcomp'  --------------------this position!!!!!!!!!!
collect2: ld returned 1 exit status
make[4]: *** [nxmibc] error 1
make[4]: Leaving directory `/home/netxms-1.2.6/src/snmp/nxmibc'
make[3]: *** [all-recursive] error 1
make[3]: Leaving directory `/home/netxms-1.2.6/src/snmp'
make[2]: *** [all-recursive] error 1
make[2]: Leaving directory `/home/netxms-1.2.6/src'
make[1]: *** [all-recursive] error 1
make[1]: Leaving directory `/home/netxms-1.2.6'
make: *** [all] error 2

Victor Kirhenshtein

Hi!

Try to add --with-internal-libtre configure option.

Best regards,
Victor

Billy


Billy

the result is same, any other compliing option?

Victor Kirhenshtein

Are you doing an upgrade? If yes, try to remove old versions of NetXMS libraries before compilation.

Best regards,
Victor

Billy

i have only executed "make clean" and not upgraded from old version, any other command can be used to delete old libs besides "make clean"?

thank you!

raoua

Bonjour :) j'ai telechargé le code source netxms et je trouve des difficultés pour le compiler.Est ce que quelqu'un peut me donner quelle compilateur je doit l'utiliser.Aussi a l'installation de serveur netxms avec la database SQlite je trouve un problème pour connecter et merci de me donner d'aide.
cordialement.