error compiling sfs on linux
"Audrey NICLOT" <[email protected]> Wed, 19 Apr 2006 16:47:46 +0200
| Newsgroups | gmane.comp.file-systems.sfs.general |
|---|---|
| Message-ID | <[email protected]> |
hello I'm getting the following error when trying to compile sfs 0.8 on my linux (fedora Core 3): g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/db4 -DSLEEPYCAT -I.. -I../async -I../arpc -I../crypt -I../sfsmisc -I../sfsrodb -I../adb -I../svc -I../svc -DEXECDIR=\"/usr/local/lib/sfs-0.8pre\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/local/share/sfs\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -g -O2 -Wall -Werror -MT dnsparse.lo -MD -MP -MF .deps/dnsparse.Tpo -c dnsparse.C -o dnsparse.o dnsparse.C: In member function `ptr<mxlist> dnsparse::tomxlist()': dnsparse.C:526: error: `mxes' cannot appear in a constant-expression dnsparse.C:526: error: a function call cannot appear in a constant-expression dnsparse.C: In member function `ptr<srvlist> dnsparse::tosrvlist()': dnsparse.C:663: error: `recs' cannot appear in a constant-expression dnsparse.C:663: error: a function call cannot appear in a constant-expression dnsparse.C: In member function `ptr<txtlist> dnsparse::totxtlist()': dnsparse.C:715: error: `txtv' cannot appear in a constant-expression dnsparse.C:715: error: a function call cannot appear in a constant-expression make: *** [dnsparse.lo] Erreur 1 the version of gmp is 2.0.2. Do you know what is the problem?? thanks