View previous topic :: View next topic |
Author |
Message |
AfterShoxX n00b

Joined: 09 Jul 2002 Posts: 16
|
Posted: Fri Aug 09, 2002 1:50 pm Post subject: error compiling giFTcurs |
|
|
I am unable to emerge giFTcurs due to the following error:
Code: |
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -Wall -pipe -DRELEASE -O2 -pipe -mcpu=750 -mpowerpc-gfxopt -mmultiple -mstring -c parse.c
parse.c: In function `vsprintf_alloc':
parse.c:393: incompatible types in assignment
make[2]: *** [parse.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/giftcurs-0.4.3/work/giFTcurs-0.4.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/giftcurs-0.4.3/work/giFTcurs-0.4.3'
make: *** [all-recursive-am] Error 2
|
The conspiring line in parse.c reads:
Code: |
/* Try to print in the allocated space. */
VA_COPY(aq, ap);
|
And a few more tidbits:
Code: |
checking for an implementation of va_copy()... no
checking for an implementation of __va_copy()... yes
|
Can anyone make anything of this?
I've actually seen some other errors related to va_* and feel as though I've done something tremendously stupid. So for the sake of my ego (and pr0n), help me
Thanks in advance mates. |
|
Back to top |
|
 |
AfterShoxX n00b

Joined: 09 Jul 2002 Posts: 16
|
Posted: Fri Aug 09, 2002 4:43 pm Post subject: |
|
|
I changed the code to read '__va_copy' instead of 'VA_COPY.'
Works fine now, surprisingly.  |
|
Back to top |
|
 |
|