David C. Rankin
2010-11-10 23:09:56 UTC
Guys,
I'm trying to build inkscape 0.48 for an 11.0 box. The issue I'm running into
is errno.h on 11.0 doesn't contain EINVAL or ERANGE defines resulting in the
following build errors:
dir-util.cpp: In function ‘char* inkscape_rel2abs(const char*, const char*,
char*, size_t)’:
dir-util.cpp:114: error: ‘EINVAL’ was not declared in this scope
dir-util.cpp:180: error: ‘ERANGE’ was not declared in this scope
dir-util.cpp: In function ‘char* inkscape_abs2rel(const char*, const char*,
char*, size_t)’:
dir-util.cpp:201: error: ‘EINVAL’ was not declared in this scope
dir-util.cpp:251: error: ‘ERANGE’ was not declared in this scope
make[2]: *** [dir-util.o] Error 1
Seems like I should be able to work around this with:
#define EINVAL 22
#define ERANGE 34
but where to put them? dir-util.h? Modify the existing /usr/include/errno.h?
What say the build gurus?
--
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
I'm trying to build inkscape 0.48 for an 11.0 box. The issue I'm running into
is errno.h on 11.0 doesn't contain EINVAL or ERANGE defines resulting in the
following build errors:
dir-util.cpp: In function ‘char* inkscape_rel2abs(const char*, const char*,
char*, size_t)’:
dir-util.cpp:114: error: ‘EINVAL’ was not declared in this scope
dir-util.cpp:180: error: ‘ERANGE’ was not declared in this scope
dir-util.cpp: In function ‘char* inkscape_abs2rel(const char*, const char*,
char*, size_t)’:
dir-util.cpp:201: error: ‘EINVAL’ was not declared in this scope
dir-util.cpp:251: error: ‘ERANGE’ was not declared in this scope
make[2]: *** [dir-util.o] Error 1
Seems like I should be able to work around this with:
#define EINVAL 22
#define ERANGE 34
but where to put them? dir-util.h? Modify the existing /usr/include/errno.h?
What say the build gurus?
--
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
--
To unsubscribe, e-mail: opensuse+***@opensuse.org
For additional commands, e-mail: opensuse+***@opensuse.org
To unsubscribe, e-mail: opensuse+***@opensuse.org
For additional commands, e-mail: opensuse+***@opensuse.org