NetXMS Support Forum

English Support => General Support => Topic started by: Billy on February 25, 2013, 12:40:25 PM

Title: compling error in netxms-1.2.6 code
Post by: Billy on February 25, 2013, 12:40:25 PM
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
Title: Re: compling error in netxms-1.2.6 code
Post by: Victor Kirhenshtein on February 25, 2013, 12:49:28 PM
Hi!

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

Best regards,
Victor
Title: Re: compling error in netxms-1.2.6 code
Post by: Billy on February 25, 2013, 01:39:58 PM
thank you!!! i'll try it now
Title: Re: compling error in netxms-1.2.6 code
Post by: Billy on February 25, 2013, 01:49:34 PM
the result is same, any other compliing option?
Title: Re: compling error in netxms-1.2.6 code
Post by: Victor Kirhenshtein on February 25, 2013, 01:51:28 PM
Are you doing an upgrade? If yes, try to remove old versions of NetXMS libraries before compilation.

Best regards,
Victor
Title: Re: compling error in netxms-1.2.6 code
Post by: Billy on February 25, 2013, 01:57:32 PM
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!
Title: Re: compling error in netxms-1.2.6 code
Post by: raoua on March 14, 2013, 03:14:04 PM
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.