[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Pspp compiled for Windows
From: |
John Darrington |
Subject: |
Re: Pspp compiled for Windows |
Date: |
Sun, 5 Oct 2008 15:10:34 +0800 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Sun, Oct 05, 2008 at 02:34:12AM -0300, Michel Boaventura wrote:
I try with --enable-relocatable, but I got a new error.
When the make try to compile tests/dissect-sysfile.c it prints this:
tests/dissect-sysfile.c: In function `main':
tests/dissect-sysfile.c:92: error: `INSTALLDIR' undeclared (first use
in this function)
tests/dissect-sysfile.c:92: error: (Each undeclared identifier is
reported only once
tests/dissect-sysfile.c:92: error: for each function it appears in.)
Looking at the code of tests/dissect-sysfile.c, line 92 we have:
"set_program_name (argv[0]);". This function is declared on the header
"gl/progname.h".
I guess that the problem isn't directly with this function, but with
the include. If we look at the line 60 of progname.h, we see:
"set_program_name_and_installdir (ARG0, INSTALLPREFIX, INSTALLDIR)". I
guess that INSTALLDIR isn't set,
but I can't figured it out how to solve it.
Any ideas?
I suggest that for now, you just delete the line "set_program_name"
from dissect-sysfile.c The dissect-sysfile program is really
intended for debugging and development anyway.
J'
signature.asc
Description: Digital signature