bug-a2ps
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

a2ps installation problem on Mac OS X


From: h500140
Subject: a2ps installation problem on Mac OS X
Date: Thu, 7 Feb 2019 10:27:13 +0100

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/Developer/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/Developer/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/Developer/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/Developer/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/Developer/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/Developer/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/Developer/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 „recipe“ from 
www.mail-archive.com/address@hidden/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()“ 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
 
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: address@hidden
web: www.nppt.de

MRS Spring Meeting 2019: Symposium CP03: Advances in In Situ Techniques for 
Diagnostics and Synthetic Design of Energy Materials 
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=CP03




reply via email to

[Prev in Thread] Current Thread [Next in Thread]