|
最近Arch下编译东西好郁闷
configure看似都正常,libXext在/usr/X11R6/lib下,但是后面那个ld的时候又没有把X的库包括进去
从aur找的PKGBUILD,应该没问题的
在我这就不行了
求助成功过的
- /opt/qt/include/private/qucomextra_p.h:87: warning: ‘struct QUType_varptr’ has v irtual functions but non-virtual destructor
- /bin/sh ../libtool --silent --tag=CXX --mode=link g++ -Wnon-virtual-dtor -Wno-l ong-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversi on -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -march=i686 -O 2 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check- new -fno-common -o kchmviewer -L/opt/qt/lib iconstorage.o kchmbookmarkwindow .o kchmconfig.o kchmindexwindow.o kchmmainwindow.o kchmsearchtoolbar.o kchmsearc hwindow.o kchmsettings.o kchmsourcefactory.o kchmtextencoding.o kchmtreeviewitem .o kchmviewwindow.o main.o xchmfile.o kchmdialogchooseurlfromlist.o kde-qt.o kch mviewwindow_qtextbrowser.o kchmviewwindow_khtmlpart.o kchmsetupdialog.o kchmbook markwindow.moc.o kchmsearchwindow.moc.o kchmviewwindow_qtextbrowser.moc.o kchmin dexwindow.moc.o kchmdialogchooseurlfromlist.moc.o kchmmainwindow.moc.o kchmsearc htoolbar.moc.o ../chmlib-0.35/libchm.la -lqt-mt -lz -lpng -lz -lm -lXext -lX11 -lSM -lICE -lpthread
- /usr/bin/ld: cannot find -lXext
- collect2: ld returned 1 exit status
- make[2]: *** [kchmviewer] Error 1
- make[2]: Leaving directory `/var/abs/local/kchmviewer/src/kchmviewer-1.0/src'
- make[1]: *** [all] Error 2
- make[1]: Leaving directory `/var/abs/local/kchmviewer/src/kchmviewer-1.0/src'
- make: *** [all-recursive] Error 1
复制代码 |
|