Консольный редактор le [SOLVED]
Прочитал что есть такая штука как le, захотелось посмотреть на это чудо.
возникли проблемы при компиляции из emerge, вручную - тоже ошибка.
вот лог:
make all-recursive
make[1]: Entering directory `/var/tmp/portage/le-1.9.2/work/le-1.9.2'
Making all in doc
make[2]: Entering directory `/var/tmp/portage/le-1.9.2/work/le-1.9.2/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/le-1.9.2/work/le-1.9.2/doc'
Making all in lib
make[2]: Entering directory `/var/tmp/portage/le-1.9.2/work/le-1.9.2/lib'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -O2 -mtune=i686 -pipe -fomit-frame-pointer -Wall -MT getopt.o -MD -MP -MF ".deps/getopt.Tpo" \
-c -o getopt.o `test -f 'getopt.c' || echo './'`getopt.c; \
then mv ".deps/getopt.Tpo" ".deps/getopt.Po"; \
else rm -f ".deps/getopt.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -O2 -mtune=i686 -pipe -fomit-frame-pointer -Wall -MT getopt1.o -MD -MP -MF ".deps/getopt1.Tpo" \
-c -o getopt1.o `test -f 'getopt1.c' || echo './'`getopt1.c; \
then mv ".deps/getopt1.Tpo" ".deps/getopt1.Po"; \
else rm -f ".deps/getopt1.Tpo"; exit 1; \
fi
rm -f liblib.a
ar cru liblib.a getopt.o getopt1.o
i686-pc-linux-gnu-ranlib liblib.a
make[2]: Leaving directory `/var/tmp/portage/le-1.9.2/work/le-1.9.2/lib'
Making all in include
make[2]: Entering directory `/var/tmp/portage/le-1.9.2/work/le-1.9.2/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/le-1.9.2/work/le-1.9.2/include'
Making all in src
make[2]: Entering directory `/var/tmp/portage/le-1.9.2/work/le-1.9.2/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -DPKGDATADIR=\"/usr/share/le\" -O2 -mtune=i686 -pipe -fomit-frame-pointer -fno-implement-inlines -Winline -Wall -MT about.o -MD -MP -MF ".deps/about.Tpo" \
-c -o about.o `test -f 'about.cc' || echo './'`about.cc; \
then mv ".deps/about.Tpo" ".deps/about.Po"; \
else rm -f ".deps/about.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -DPKGDATADIR=\"/usr/share/le\" -O2 -mtune=i686 -pipe -fomit-frame-pointer -fno-implement-inlines -Winline -Wall -MT block.o -MD -MP -MF ".deps/block.Tpo" \
-c -o block.o `test -f 'block.cc' || echo './'`block.cc; \
then mv ".deps/block.Tpo" ".deps/block.Po"; \
else rm -f ".deps/block.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -DPKGDATADIR=\"/usr/share/le\" -O2 -mtune=i686 -pipe -fomit-frame-pointer -fno-implement-inlines -Winline -Wall -MT calc.o -MD -MP -MF ".deps/calc.Tpo" \
-c -o calc.o `test -f 'calc.cc' || echo './'`calc.cc; \
then mv ".deps/calc.Tpo" ".deps/calc.Po"; \
else rm -f ".deps/calc.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -DPKGDATADIR=\"/usr/share/le\" -O2 -mtune=i686 -pipe -fomit-frame-pointer -fno-implement-inlines -Winline -Wall -MT chset.o -MD -MP -MF ".deps/chset.Tpo" \
-c -o chset.o `test -f 'chset.cc' || echo './'`chset.cc; \
then mv ".deps/chset.Tpo" ".deps/chset.Po"; \
else rm -f ".deps/chset.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -DPKGDATADIR=\"/usr/share/le\" -O2 -mtune=i686 -pipe -fomit-frame-pointer -fno-implement-inlines -Winline -Wall -MT cmd.o -MD -MP -MF ".deps/cmd.Tpo" \
-c -o cmd.o `test -f 'cmd.cc' || echo './'`cmd.cc; \
then mv ".deps/cmd.Tpo" ".deps/cmd.Po"; \
else rm -f ".deps/cmd.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -DPKGDATADIR=\"/usr/share/le\" -O2 -mtune=i686 -pipe -fomit-frame-pointer -fno-implement-inlines -Winline -Wall -MT color.o -MD -MP -MF ".deps/color.Tpo" \
-c -o color.o `test -f 'color.cc' || echo './'`color.cc; \
then mv ".deps/color.Tpo" ".deps/color.Po"; \
else rm -f ".deps/color.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -DPKGDATADIR=\"/usr/share/le\" -O2 -mtune=i686 -pipe -fomit-frame-pointer -fno-implement-inlines -Winline -Wall -MT edit.o -MD -MP -MF ".deps/edit.Tpo" \
-c -o edit.o `test -f 'edit.cc' || echo './'`edit.cc; \
then mv ".deps/edit.Tpo" ".deps/edit.Po"; \
else rm -f ".deps/edit.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -DPKGDATADIR=\"/usr/share/le\" -O2 -mtune=i686 -pipe -fomit-frame-pointer -fno-implement-inlines -Winline -Wall -MT editcalc.o -MD -MP -MF ".deps/editcalc.Tpo" \
-c -o editcalc.o `test -f 'editcalc.cc' || echo './'`editcalc.cc; \
then mv ".deps/editcalc.Tpo" ".deps/editcalc.Po"; \
else rm -f ".deps/editcalc.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -DPKGDATADIR=\"/usr/share/le\" -O2 -mtune=i686 -pipe -fomit-frame-pointer -fno-implement-inlines -Winline -Wall -MT ext.o -MD -MP -MF ".deps/ext.Tpo" \
-c -o ext.o `test -f 'ext.cc' || echo './'`ext.cc; \
then mv ".deps/ext.Tpo" ".deps/ext.Po"; \
else rm -f ".deps/ext.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -DPKGDATADIR=\"/usr/share/le\" -O2 -mtune=i686 -pipe -fomit-frame-pointer -fno-implement-inlines -Winline -Wall -MT file.o -MD -MP -MF ".deps/file.Tpo" \
-c -o file.o `test -f 'file.cc' || echo './'`file.cc; \
then mv ".deps/file.Tpo" ".deps/file.Po"; \
else rm -f ".deps/file.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -DPKGDATADIR=\"/usr/share/le\" -O2 -mtune=i686 -pipe -fomit-frame-pointer -fno-implement-inlines -Winline -Wall -MT format.o -MD -MP -MF ".deps/format.Tpo" \
-c -o format.o `test -f 'format.cc' || echo './'`format.cc; \
then mv ".deps/format.Tpo" ".deps/format.Po"; \
else rm -f ".deps/format.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -DPKGDATADIR=\"/usr/share/le\" -O2 -mtune=i686 -pipe -fomit-frame-pointer -fno-implement-inlines -Winline -Wall -MT frames.o -MD -MP -MF ".deps/frames.Tpo" \
-c -o frames.o `test -f 'frames.cc' || echo './'`frames.cc; \
then mv ".deps/frames.Tpo" ".deps/frames.Po"; \
else rm -f ".deps/frames.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -DPKGDATADIR=\"/usr/share/le\" -O2 -mtune=i686 -pipe -fomit-frame-pointer -fno-implement-inlines -Winline -Wall -MT getch.o -MD -MP -MF ".deps/getch.Tpo" \
-c -o getch.o `test -f 'getch.cc' || echo './'`getch.cc; \
then mv ".deps/getch.Tpo" ".deps/getch.Po"; \
else rm -f ".deps/getch.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -DPKGDATADIR=\"/usr/share/le\" -O2 -mtune=i686 -pipe -fomit-frame-pointer -fno-implement-inlines -Winline -Wall -MT getstr.o -MD -MP -MF ".deps/getstr.Tpo" \
-c -o getstr.o `test -f 'getstr.cc' || echo './'`getstr.cc; \
then mv ".deps/getstr.Tpo" ".deps/getstr.Po"; \
else rm -f ".deps/getstr.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -DPKGDATADIR=\"/usr/share/le\" -O2 -mtune=i686 -pipe -fomit-frame-pointer -fno-implement-inlines -Winline -Wall -MT help.o -MD -MP -MF ".deps/help.Tpo" \
-c -o help.o `test -f 'help.cc' || echo './'`help.cc; \
then mv ".deps/help.Tpo" ".deps/help.Po"; \
else rm -f ".deps/help.Tpo"; exit 1; \
fi
/usr/include/linux/wait.h: In function вЂint wait_on_bit(void*, int, int (*)(void*), unsigned int)’:
/usr/include/linux/wait.h:376: error: invalid conversion from вЂvoid*’ to вЂconst volatile long unsigned int*’
/usr/include/linux/wait.h:376: error: initializing argument 2 of вЂint constant_test_bit(int, const volatile long unsigned int*)’
/usr/include/linux/wait.h:376: error: invalid conversion from вЂvoid*’ to вЂconst volatile long unsigned int*’
/usr/include/linux/wait.h:376: error: initializing argument 2 of вЂint variable_test_bit(int, const volatile long unsigned int*)’
/usr/include/linux/wait.h: In function вЂint wait_on_bit_lock(void*, int, int (*)(void*), unsigned int)’:
/usr/include/linux/wait.h:400: error: invalid conversion from вЂvoid*’ to вЂvolatile long unsigned int*’
/usr/include/linux/wait.h:400: error: initializing argument 2 of вЂint test_and_set_bit(int, volatile long unsigned int*)’
make[2]: *** [getch.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/le-1.9.2/work/le-1.9.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/le-1.9.2/work/le-1.9.2'
make: *** [all] Error 2
!!! ERROR: app-editors/le-1.9.2 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
ebuild.sh, line 609: Called die
!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Кто сталкивался с подобным, посоветуйте куда можно глянуть чтоб выявить ошибку (кроме исходников разумеется))
- Для комментирования войдите или зарегистрируйтесь
затупил
Компилятор был i386-pc-linux-gnu-4.1.1 , а система i686 =)
Так а в чём
Так а в чём проблема была?
--
Программист - это, прежде всего, творческая личность и только потом - пьяная скотина ...
пересобрал
пересобрал компилятор и все заработало.