Hi ... I just pulled the repo did a: hg update make [output] cc1plus: warning: command line option "-fno-exceptions" is valid for Modula-2 but not for C++ mv -f .deps/object.Tpo .deps/object.Po rm -f liblout.a ar cru liblout.a container.o identity.o misc.o object.o signal.o ranlib liblout.a make[2]: Leaving directory `/home/dnormandin/Downloads/dev/dillo_port1.3/lout' Making all in dw make[2]: Entering directory `/home/dnormandin/Downloads/dev/dillo_port1.3/dw' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/dnormandin/Downloads/dev/dillo_port1.3/dw' Making all in dlib make[2]: Entering directory `/home/dnormandin/Downloads/dev/dillo_port1.3/dlib' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/local/include -g -O2 -DD_DNS_THREADED -D_REENTRANT -D_THREAD_SAFE -Wall -W -Waggregate-return -MT dlib.o -MD -MP -MF .deps/dlib.Tpo -c -o dlib.o dlib.c In file included from /usr/include/bits/errno.h:25, from /usr/include/errno.h:36, from dlib.c:25: /usr/include/linux/errno.h:4:23: error: asm/errno.h: No such file or directory dlib.c: In function 'dGetcwd': dlib.c:838: error: 'ERANGE' undeclared (first use in this function) dlib.c:838: error: (Each undeclared identifier is reported only once dlib.c:838: error: for each function it appears in.) make[2]: *** [dlib.o] Error 1 make[2]: Leaving directory `/home/dnormandin/Downloads/dev/dillo_port1.3/dlib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/dnormandin/Downloads/dev/dillo_port1.3' make: *** [all] Error 2 [/output] What did I do wrong? -- Duke
On Sat, 30 Apr 2011 17:13:52 -0400, Duke Normandin <dukeofperl@ml1.net> wrote:
What did I do wrong?
Sounds like you're missing the Linux kernel includes (Dillo doesn't use them directly, but they're included through glibc). It's been forever since I've run Linux, but the package is usually called kernel-headers, kernel-includes, or something like that -- do you have that installed? ~Benjamin
On Sat, 30 Apr 2011, Benjamin Johnson wrote:
On Sat, 30 Apr 2011 17:13:52 -0400, Duke Normandin <dukeofperl@ml1.net> wrote:
What did I do wrong?
Sounds like you're missing the Linux kernel includes (Dillo doesn't use them directly, but they're included through glibc). It's been forever since I've run Linux, but the package is usually called kernel-headers, kernel-includes, or something like that -- do you have that installed?
kernel-headers is installed. I built Dillo the first time with no problems. The only thing that changed was the Dillo src code that "pulled" with mercurial. Also, Xubuntu upgraded my system from 10.04 to 11.04. Being new to mercurial, maybe I hosed something in the process. I'll have to do more reading, -- Duke
On Sun, 1 May 2011, corvid wrote:
Duke wrote:
Xubuntu upgraded my system from 10.04 to 11.04.
If my configuration changed and something stopped working, I'd try rerunning configure.
I did just that! I ran: autogen.sh configure make I did it again just now. configure passed with a warning only that I didn't have libjpeg, so it dissabled support. Here the results of "make": make make all-recursive make[1]: Entering directory `/home/dnormandin/Downloads/dev/dillo_port1.3' Making all in lout make[2]: Entering directory `/home/dnormandin/Downloads/dev/dillo_port1.3/lout' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/dnormandin/Downloads/dev/dillo_port1.3/lout' Making all in dw make[2]: Entering directory `/home/dnormandin/Downloads/dev/dillo_port1.3/dw' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/dnormandin/Downloads/dev/dillo_port1.3/dw' Making all in dlib make[2]: Entering directory `/home/dnormandin/Downloads/dev/dillo_port1.3/dlib' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/local/include -g -O2 -DD_DNS_THREADED -D_REENTRANT -D_THREAD_SAFE -Wall -W -Waggregate-return -MT dlib.o -MD -MP -MF .deps/dlib.Tpo -c -o dlib.o dlib.c In file included from /usr/include/bits/errno.h:25, from /usr/include/errno.h:36, from dlib.c:25: /usr/include/linux/errno.h:4:23: error: asm/errno.h: No such file or directory dlib.c: In function 'dGetcwd': dlib.c:838: error: 'ERANGE' undeclared (first use in this function) dlib.c:838: error: (Each undeclared identifier is reported only once dlib.c:838: error: for each function it appears in.) make[2]: *** [dlib.o] Error 1 make[2]: Leaving directory `/home/dnormandin/Downloads/dev/dillo_port1.3/dlib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/dnormandin/Downloads/dev/dillo_port1.3' make: *** [all] Error 2 -- Duke
On Sun, 1 May 2011, corvid wrote:
Duke wrote:
In file included from /usr/include/bits/errno.h:25, from /usr/include/errno.h:36, from dlib.c:25: /usr/include/linux/errno.h:4:23: error: asm/errno.h: No such file or directory
What do you get from ls -l /usr/include/asm/errno.h and cpp -v
dnormandin@select-man:~$ ls -l /usr/include/asm/errno.h ls: cannot access /usr/include/asm/errno.h: No such file or directory dnormandin@select-man:~$ cpp v cpp: v: No such file or directory cpp: warning: '-x c' after last input file has no effect cpp: no input files That means that my system is missing ......? -- Duke
dnormandin@select-man:~$ ls -l /usr/include/asm/errno.h ls: cannot access /usr/include/asm/errno.h: No such file or directory dnormandin@select-man:~$ cpp v cpp: v: No such file or directory cpp: warning: '-x c' after last input file has no effect cpp: no input files
Well, for the second test, all you need to do there is add the - to the v cpp -v or? CC -v or g++ -v The '-' indicates to the shell that what comes next is a switch, and in the case of the GCC C++ compiler, the option -v gives the version. ?Alternatively, the Solaris C++ compiler uses -V.
On Sun, 1 May 2011, Rob S. wrote:
dnormandin@select-man:~$ ls -l /usr/include/asm/errno.h ls: cannot access /usr/include/asm/errno.h: No such file or directory dnormandin@select-man:~$ cpp v cpp: v: No such file or directory cpp: warning: '-x c' after last input file has no effect cpp: no input files
Well, for the second test, all you need to do there is add the - to the v cpp -v or? CC -v or g++ -v The '-' indicates to the shell that what comes next is a switch, and in the case of the GCC C++ compiler, the option -v gives the version. ?Alternatively, the Solaris C++ compiler uses -V.
Too early in the morning here in Canada, when I tested and wrote the reply. :) Here we go again: dnormandin@select-man:~/ cpp -v Using built-in specs. Target: i486-linux-gnu Configured with: ../gcc-4.1.2+gm2-20101211/configure --enable-languages=c,c++,gm2 --prefix=/opt/gm2 --libexecdir=/usr/lib/gm2/libexec --infodir=/opt/gm2/share/info --mandir=/opt/gm2/share/man --disable-nls --enable-long-long --without-included-gettext --with-dwarf2 --disable-libssp --disable-multilib --enable-libstdcxx-debug --enable-shared --build=i486-linux-gnu --host=i486-linux-gnu Thread model: posix gcc version 4.1.2 /usr/lib/gm2/libexec/gcc/i486-linux-gnu/4.1.2/cc1 -E -quiet -v - -mtune=i486 ignoring nonexistent directory "/opt/gm2/lib/gcc/i486-linux-gnu/4.1.2/../../../../i486-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /usr/local/include /opt/gm2/include /opt/gm2/lib/gcc/i486-linux-gnu/4.1.2/include /usr/include End of search list. dnormandin@select-man:~/ locate errno.h /usr/include/errno.h /usr/include/asm-generic/errno.h /usr/include/bits/errno.h /usr/include/i386-linux-gnu/asm/errno.h /usr/include/linux/errno.h /usr/include/sys/errno.h /usr/lib/syslinux/com32/include/errno.h /usr/local/include/apr_errno.h /usr/local/include/mailutils/errno.h /usr/share/doc/fp-docs/2.4.0/rtl/baseunix/fpgeterrno.html /usr/share/doc/fp-docs/2.4.0/rtl/baseunix/fpseterrno.html /usr/share/doc/fp-docs/2.4.0/rtl/oldlinux/errno.html /usr/src/linux-headers-2.6.38-8/arch/alpha/include/asm/errno.h /usr/src/linux-headers-2.6.38-8/arch/arm/include/asm/errno.h /usr/src/linux-headers-2.6.38-8/arch/arm/mach-bcmring/include/csp/errno.h /usr/src/linux-headers-2.6.38-8/arch/avr32/include/asm/errno.h /usr/src/linux-headers-2.6.38-8/arch/blackfin/include/asm/errno.h /usr/src/linux-headers-2.6.38-8/arch/cris/include/asm/errno.h /usr/src/linux-headers-2.6.38-8/arch/frv/include/asm/errno.h /usr/src/linux-headers-2.6.38-8/arch/h8300/include/asm/errno.h /usr/src/linux-headers-2.6.38-8/arch/ia64/include/asm/errno.h /usr/src/linux-headers-2.6.38-8/arch/m32r/include/asm/errno.h /usr/src/linux-headers-2.6.38-8/arch/m68k/include/asm/errno.h /usr/src/linux-headers-2.6.38-8/arch/microblaze/include/asm/errno.h /usr/src/linux-headers-2.6.38-8/arch/mips/include/asm/errno.h /usr/src/linux-headers-2.6.38-8/arch/mn10300/include/asm/errno.h /usr/src/linux-headers-2.6.38-8/arch/parisc/include/asm/errno.h /usr/src/linux-headers-2.6.38-8/arch/powerpc/include/asm/errno.h /usr/src/linux-headers-2.6.38-8/arch/s390/include/asm/errno.h /usr/src/linux-headers-2.6.38-8/arch/score/include/asm/errno.h /usr/src/linux-headers-2.6.38-8/arch/sh/include/asm/errno.h /usr/src/linux-headers-2.6.38-8/arch/sparc/include/asm/errno.h /usr/src/linux-headers-2.6.38-8/arch/tile/include/asm/errno.h /usr/src/linux-headers-2.6.38-8/arch/x86/include/asm/errno.h /usr/src/linux-headers-2.6.38-8/arch/xtensa/include/asm/errno.h /usr/src/linux-headers-2.6.38-8/include/asm-generic/errno.h /usr/src/linux-headers-2.6.38-8/include/linux/errno.h /usr/src/linux-headers-2.6.38-8-generic/include/linux/errno.h -- Duke
Duke wrote:
dnormandin@select-man:~$ ls -l /usr/include/asm/errno.h ls: cannot access /usr/include/asm/errno.h: No such file or directory dnormandin@select-man:~$
That means that my system is missing ......?
I don't know anything about xubuntu and what its kernel-headers package may do exactly, but something's not right.
On Sun, 1 May 2011, corvid wrote:
Duke wrote:
In file included from /usr/include/bits/errno.h:25, from /usr/include/errno.h:36, from dlib.c:25: /usr/include/linux/errno.h:4:23: error: asm/errno.h: No such file or directory
What do you get from ls -l /usr/include/asm/errno.h and cpp -v ?
I fixed the problem and got Dillo rebuilt! :D had to do some fancy symlinking. If anybody is on a Debian-flavored outfit and having the same issue, the following fixed it: sudo ln -s /usr/src/linux-headers-2.6.38-8/include/asm-generic/ /usr/include/asm -- Duke
participants (4)
-
corvid@lavabit.com
-
dukeofperl@ml1.net
-
mr_semantics@hotmail.com
-
obeythepenguin@gmail.com