Re: Adding module copies -> xyz_xpm undeclared error
Martin Bayer <[email protected]> Mon, 31 Oct 2005 16:28:10 +0100
| Newsgroups | gmane.comp.video.gephex.devel |
|---|---|
| Message-ID | <[email protected]> |
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============0670018705== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig012FBE13726D88658A81DF56" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig012FBE13726D88658A81DF56 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Hi Herb, > When I copy a module (let's say the effectvwarpmodule-dir to > ownwarpmodule; renaming source files and modifiing the > ownwarpmodule.spec to match the new name) the build system gives me > errors concerning the xpm-icon of the module: > > ownwarpmodule_auto.c: In function `getInfo': > ownwarpmodule_auto.c:110: error: `ownwarpmodule_xpm' undeclared (first > use in this function) A xpm file is just a c file that defines an const array. Open the xpm with a text editor and change the name of the array to "ownwarpmodule_xpm". Martin --------------enig012FBE13726D88658A81DF56 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDZjgQCm3i57PRsbsRAoh4AKCAbOocdprxQtuMQjRHCX/dRsot2QCeIoLw LbZUzPsyNAzFqWqIynVO2RM= =p+43 -----END PGP SIGNATURE----- --------------enig012FBE13726D88658A81DF56-- --===============0670018705== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ gephex-devel mailing list [email protected] http://lists.gephex.org/mailman/listinfo/gephex-devel --===============0670018705==--