Steve Fox wrote:
>
> I'm trying to recompile xchat-1.6.0 from source and it get the below
> error:
>
> perl.c:979: warning: assignment makes pointer from integer without a
> cast
> perl.c:1017: warning: control reaches end of non-void function
> perl.c: At top level:
> perl.c:1020: warning: return-type defaults to `int'
> perl.c:1020: redefinition of `XS'
> perl.c:967: `XS' previously defined here
> perl.c: In function `XS':
> perl.c:1058: warning: control reaches end of non-void function
> perl.c: At top level:
> perl.c:1063: warning: return-type defaults to `int'
> perl.c:1063: redefinition of `XS'
> perl.c:1020: `XS' previously defined here
> perl.c: In function `XS':
> perl.c:1071: warning: assignment makes pointer from integer without a
> cast
> perl.c:1076: warning: control reaches end of non-void function
> perl.c: At top level:
> perl.c:1079: warning: return-type defaults to `int'
> perl.c:1079: redefinition of `XS'
> perl.c:1063: `XS' previously defined here
> perl.c: In function `XS':
> perl.c:1087: warning: assignment makes pointer from integer without a
> cast
> perl.c:1094: warning: assignment makes pointer from integer without a
> cast
> perl.c:1122: warning: control reaches end of non-void function
> perl.c: At top level:
> perl.c:1133: warning: return-type defaults to `int'
> perl.c:1133: redefinition of `XS'
> perl.c:1079: `XS' previously defined here
> perl.c: In function `XS':
> perl.c:1144: warning: assignment makes pointer from integer without a
> cast
> perl.c:1145: warning: assignment makes pointer from integer without a
> cast
> perl.c:1177: warning: control reaches end of non-void function
> perl.c: At top level:
> perl.c:1184: warning: return-type defaults to `int'
> perl.c:1184: redefinition of `XS'
> perl.c:1133: `XS' previously defined here
> perl.c: In function `XS':
> perl.c:1201: warning: control reaches end of non-void function
> make[3]: *** [perl.o] Error 1
> make[3]: Leaving directory
> `/home/drfickle/src/RPM/BUILD/xchat-1.6.0/src/common'make[2]: ***
> [all-recursive] Error 1
> make[2]: Leaving directory
> `/home/drfickle/src/RPM/BUILD/xchat-1.6.0/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/drfickle/src/RPM/BUILD/xchat-1.6.0'
> make: *** [all-recursive-am] Error 2
> Bad exit status from /home/drfickle/src/RPM/tmp/rpm-tmp.40622 (%build)
>
> Any ideas?
I solved that by manually editing the configure.in script in the rpm
source tarball to turn OFF the perl embedding option.
I assume that if instead you install the verion of perl that is in
cooker, the problem would also go away.
--
- Antony Suter ([EMAIL PROTECTED]) "Examiner" openpgp:71ADFC87
- "And how do you store the nuclear equivalent of the universal
- solvent?"