bug-moe
[Top][All Lists]
Advanced

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

[Bug-moe] error compiling moe on linux


From: G
Subject: [Bug-moe] error compiling moe on linux
Date: Wed, 23 Apr 2008 15:29:39 -0700 (PDT)

Hi please suggest a solution to these erors, moe seems nice and I would love to 
try it. -Gavin


address@hidden moe-0.9]# ./configure && make && make install

creating config.status
creating Makefile
VPATH = .
prefix = /usr/local
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
datadir = $(prefix)/share
infodir = $(datadir)/info
mandir = $(datadir)/man
sysconfdir = $(prefix)/etc
CC = gcc
CXX = g++
CPPFLAGS = 
CFLAGS = -Wall -W -O2
CXXFLAGS = -Wall -W -O2
LDFLAGS = -lncurses
OK. Now you can run make.
g++  -Wall -W -O2 -c -o arg_parser.o arg_parser.cc
g++  -Wall -W -O2 -c -o basic_buffer.o basic_buffer.cc
g++  -Wall -W -O2 -c -o block.o block.cc
g++  -Wall -W -O2 -c -o buffer.o buffer.cc
buffer.cc: In member function ‘bool Buffer::pputc(Point&, unsigned char)’:
buffer.cc:388: warning: suggest a space before ‘;’ or explicit braces around 
empty body in ‘while’ statement
buffer.cc:390: warning: suggest a space before ‘;’ or explicit braces around 
empty body in ‘while’ statement
g++  -Wall -W -O2 -c -o encoding.o encoding.cc
g++  -Wall -W -O2 -c -o iso_8859.o iso_8859.cc
g++  -Wall -W -O2 -DPROGVERSION=\"0.9\" -DSYSCONFDIR=\"/usr/local/etc\" -c -o 
main.o main.cc
main.cc: In function ‘void RC::show_error(const char*, int, bool)’:
main.cc:168: error: ‘strerror’ was not declared in this scope
main.cc: In function ‘int main(int, const char**)’:
main.cc:182: error: ‘strcmp’ is not a member of ‘std’
main.cc:182: error: ‘strcmp’ is not a member of ‘std’
main.cc:184: error: ‘strcmp’ is not a member of ‘std’
main.cc:184: error: ‘strcmp’ is not a member of ‘std’
make: *** [main.o] Error 1
address@hidden moe-0.9]#
 
Name           : ncurses Version        : 5.6-6
Name           : gcc         Version        : 4.3.0-1

# uname -a
Linux myhost 2.6.24-ARCH #1 SMP PREEMPT Sun Mar 30 11:40:06 CEST 2008 i686 
Intel(R) Pentium(R) 4 CPU 3.40GHz GenuineIntel GNU/Linux




      
____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ




reply via email to

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