a2ps installation problem on Mac OS X
h500140 <[email protected]> Thu, 7 Feb 2019 10:27:13 +0100
| Newsgroups | gmane.comp.printing.a2ps.bugs |
|---|---|
| Message-ID | <[email protected]> |
Dear Madam / Sir,
when installing a2ps on my m,ac (10.14) with xcode installed, after make =
install, I had the following error messages
xstrrpl.c:25:15: error: expected parameter declarator
extern char * stpcpy();
^
=
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Devel=
oper/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:91:31: note:
expanded from macro 'stpcpy'
__builtin___stpcpy_chk (dest, __VA_ARGS__, __darwin_obsz =
(dest))
^
xstrrpl.c:25:15: error: expected parameter declarator
=
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Devel=
oper/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:91:44: note:
expanded from macro 'stpcpy'
__builtin___stpcpy_chk (dest, __VA_ARGS__, __darwin_obsz =
(dest))
^
xstrrpl.c:25:15: error: expected parameter declarator
=
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Devel=
oper/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:91:46: note:
expanded from macro 'stpcpy'
__builtin___stpcpy_chk (dest, __VA_ARGS__, __darwin_obsz =
(dest))
xstrrpl.c:25:15: error: expected parameter declarator
=
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Devel=
oper/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:91:46: note:
expanded from macro 'stpcpy'
__builtin___stpcpy_chk (dest, __VA_ARGS__, __darwin_obsz =
(dest))
xstrrpl.c:25:15: error: expected parameter declarator
=
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Devel=
oper/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:91:46: note:
expanded from macro 'stpcpy'
__builtin___stpcpy_chk (dest, __VA_ARGS__, __darwin_obsz =
(dest))
xstrrpl.c:25:15: error: expected ')'
=
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Devel=
oper/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:91:46: note:
expanded from macro 'stpcpy'
__builtin___stpcpy_chk (dest, __VA_ARGS__, __darwin_obsz =
(dest))
xstrrpl.c:25:15: error: conflicting types for '__builtin___stpcpy_chk'
=
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Devel=
oper/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:91:3: note:
expanded from macro 'stpcpy'
__builtin___stpcpy_chk (dest, __VA_ARGS__, __darwin_obsz =
(dest))
^
using an old =E2=80=9Erecipe=E2=80=9C from=20
www.mail-archive.com/[email protected]/msg36220.html
Re: [Fink-users] failed attempt to build a2ps in 10.7 tree from 10.4
William G. Scott Sat, 28 Apr 2012 15:02:06 -0700
I removed the file line "extern char * stpcpy()=E2=80=9C from xstrrpl.c =
and then everything worked fine after I included my bin directory as =
path in .profile.
I believe since this seems to be an old error, it should be removed from =
the source file in your distribution.
Yours sincerely
Markus Winterer
Prof. Dr. Markus Winterer
=20
Nanoparticle Process Technology
Faculty of Engineering
University of Duisburg-Essen
Lotharstr. 1
47057 Duisburg
Germany
room: MA 345
phone: +49-203-379-4446
secr.: +49-203-379-4445
fax: +49-203-379-4453
e-mail: [email protected]
web: www.nppt.de
MRS Spring Meeting 2019: Symposium CP03: Advances in In Situ Techniques =
for Diagnostics and Synthetic Design of Energy Materials=20
Chairs: Chengjun Sun (APS/ANL), Feng Wang (BNL), Jenny Lockard (Rutgers =
U) and Markus Winterer (UDE)
Phoenix, April 22nd to 26th 2019
https://www.mrs.org/spring-2019/call-for-papers?code=3DCP03