Discussion:
error compiling sfs on linux
Audrey NICLOT
2006-04-19 14:47:46 UTC
Permalink
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

Loading...