bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-mailutils] mailutils make errors


From: dhenman
Subject: [bug-mailutils] mailutils make errors
Date: Mon, 28 Jun 2010 19:39:34 +0900

This is the most recent information on the building problem I am having
with mailutils-2.1

Below, I have pasted the relevant output from a "make -k .. " run after a 
successfull ./configure run.

I think that "mailutils" itself is being built successfully, but all the 
programs in
mailutils/examples/cpp/*.cc cause errors.  This looks like an environmental 
variable or parameter error of some sort.  I'm not a c++ guy but the 
"namespace" problem surely means can't find the file... or structures/classes 
needed.

Any ideas on how to enable a successful build of the examples in subdir cpp?

Thanks,
  Darel Henman

--- paste make output start
Making all in cpp
make[3]: Entering directory `/usr/src/mailutils/mailutils-2.1/examples/cpp'
/usr/local/bin/g++ -g -O2 -DSYSCONFDIR=\"/usr/local/etc\"   addr.cc   -o addr
addr.cc:23:37: error: mailutils/cpp/mailutils.h: No such file or directory
addr.cc:26: error: 'mailutils' is not a namespace-name
addr.cc:26: error: expected namespace-name before ';' token
addr.cc: In function 'int parse(const char*)':
addr.cc:31: error: 'set_user_email_domain' was not declared in this scope
addr.cc:34: error: 'Address' was not declared in this scope
addr.cc:34: error: expected `;' before 'address'
addr.cc:35: error: 'address' was not declared in this scope
addr.cc:57: error: expected type-specifier before 'Exception'
addr.cc:57: error: expected `)' before '&' token
addr.cc:57: error: expected `{' before '&' token
addr.cc:57: error: 'e' was not declared in this scope
addr.cc:57: error: expected `;' before ')' token
make[3]: *** [addr] Error 1

/usr/local/bin/g++ -g -O2 -DSYSCONFDIR=\"/usr/local/etc\"   http.cc   -o http
http.cc:27:37: error: mailutils/cpp/mailutils.h: No such file or directory
http.cc:30: error: 'mailutils' is not a namespace-name
http.cc:30: error: expected namespace-name before ';' token
http.cc: In function 'int main(int, char**)':
http.cc:44: error: 'TcpStream' was not declared in this scope
http.cc:44: error: expected `;' before 'stream'
http.cc:48: error: 'stream' was not declared in this scope
http.cc:50: error: expected type-specifier before 'Stream'
http.cc:50: error: expected `)' before '::' token
http.cc:50: error: expected `{' before '::' token
http.cc:50: error: '::EAgain' has not been declared
http.cc:50: error: expected `;' before ')' token
http.cc:60: error: 'stream' was not declared in this scope
http.cc:62: error: expected type-specifier before 'Stream'
http.cc:62: error: expected `)' before '::' token
http.cc:62: error: expected `{' before '::' token
http.cc:62: error: '::EAgain' has not been declared
http.cc:62: error: expected `;' before ')' token
http.cc:68: error: 'stream' was not declared in this scope
http.cc:79: error: 'stream' was not declared in this scope
http.cc:81: error: expected type-specifier before 'Stream'
http.cc:81: error: expected `)' before '::' token
http.cc:81: error: expected `{' before '::' token
http.cc:81: error: '::EAgain' has not been declared
http.cc:81: error: expected `;' before ')' token
http.cc:85: error: 'stream' was not declared in this scope
http.cc:87: error: 'stream' was not declared in this scope
http.cc:89: error: expected type-specifier before 'Exception'
http.cc:89: error: expected `)' before '&' token
http.cc:89: error: expected `{' before '&' token
http.cc:89: error: 'e' was not declared in this scope
http.cc:89: error: expected `;' before ')' token
make[3]: *** [http] Error 1

--- end of paste

The above sequences follow for the remaining 9 programs in ../examples/cpp/*.cc



reply via email to

[Prev in Thread] Current Thread [Next in Thread]