看板 DFBSD_bugs 關於我們 聯絡資訊
On 2004-09-02, Rum <rumko@precious.networklinux.net> wrote: > On 2004-08-31, Rum <rumko@precious.networklinux.net> wrote: >> On 2004-08-31, Rum <rumko@precious.networklinux.net> wrote: >>> On 2004-08-31, Patrick Mauritz <patrick.mauritz@gmail.com> wrote: >>>>> kpty.cpp: In member function `bool KPty::open()': >>>>> kpty.cpp:319: error: `TCGETS' undeclared (first use this function) >>>>> kpty.cpp:319: error: (Each undeclared identifier is reported only once for >>>>> each function it appears in.) >>>>> kpty.cpp:330: error: `TCSETS' undeclared (first use this function) >>>>> kpty.cpp: In member function `void KPty::setXonXoff(bool)': >>>>> kpty.cpp:470: error: `TCGETS' undeclared (first use this function) >>>>> kpty.cpp:477: error: `TCSETS' undeclared (first use this function) >>>> s,__FreeBSD__,__DragonFly__,g in that file (and others) >>> >>> hm, this seems to fix the problems with compiling (still compiling so we will >>> see if it really solves it), maybe somebody should make a dfport with the >>> patches for this? >> >> i got stuck again and this time i cant find in the file __FreeBSD__ >> >> setproctitle.cpp: In function `void setproctitle(const char*, ...)': >> setproctitle.cpp:188: error: `void setproctitle(const char*, ...)' >> was declared `extern' and later `static' >> /usr/include/unistd.h:100: error: previous declaration of >> `void setproctitle(const char*, ...)' >> gmake[3]: *** [setproctitle.o] Error 1 > > fixed that by using grep -r -i __FreeBSD__ work/* > now my problem is this: > > ./.libs/libkdecore.so: undefined reference to `idna_to_unicode_44i' > ./.libs/libkdecore.so: undefined reference to `idna_to_ascii_4i' > gmake[3]: *** [kde-config] Error 1 > gmake[3]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.3.0/kdecore' the Makefile in kdecore doesnt have -lidn in the LIBART_LIBS line ... checked libart2-config --libs and it doesnt output the -lidn, what is going on?