>
> Hi,
> I have installed Swftools on Ubuntu (ver) and tried to compile pdfswf.c
> file using
> **
> *gcc pdf2swf.c*
> **
> Am getting the following list of errors. Kindly help me how to resolve it?
>
> pdf2swf.c: In function âargs_callback_optionâ:
> pdf2swf.c:273: warning: initialization makes pointer from integer without a
> cast
> pdf2swf.c: In function âmainâ:
> pdf2swf.c:634: warning: assignment makes pointer from integer without a
> cast
> /tmp/ccGqC2bZ.o: In function `sigalarm':
> pdf2swf.c:(.text+0x92c): undefined reference to `msg'
> /tmp/ccGqC2bZ.o: In function `args_callback_option':
> pdf2swf.c:(.text+0xaa9): undefined reference to `setConsoleLogging'
> pdf2swf.c:(.text+0xbfb): undefined reference to `setConsoleLogging'
> pdf2swf.c:(.text+0xfab): undefined reference to `gfxsource_pdf_create'
> pdf2swf.c:(.text+0xfdd): undefined reference to `gfxdevice_swf_init'
> pdf2swf.c:(.text+0x1479): undefined reference to `getInstallationPath'
> pdf2swf.c:(.text+0x1486): undefined reference to `concatPaths'
> pdf2swf.c:(.text+0x14e0): undefined reference to `getInstallationPath'
> pdf2swf.c:(.text+0x14ed): undefined reference to `concatPaths'
> pdf2swf.c:(.text+0x156e): undefined reference to `getInstallationPath'
> pdf2swf.c:(.text+0x157b): undefined reference to `concatPaths'
> pdf2swf.c:(.text+0x15f1): undefined reference to `getInstallationPath'
> pdf2swf.c:(.text+0x15fe): undefined reference to `concatPaths'
> /tmp/ccGqC2bZ.o: In function `getRate':
> pdf2swf.c:(.text+0x1963): undefined reference to `swf_ReadSWF'
> pdf2swf.c:(.text+0x19a5): undefined reference to `swf_FreeTags'
> /tmp/ccGqC2bZ.o: In function `show_info':
> pdf2swf.c:(.text+0x1a2d): undefined reference to `msg'
> /tmp/ccGqC2bZ.o: In function `create_output_device':
> pdf2swf.c:(.text+0x1b17): undefined reference to `gfxdevice_swf_init'
> pdf2swf.c:(.text+0x1b3b): undefined reference to
> `gfxdevice_removeclippings_init'
> pdf2swf.c:(.text+0x1b7b): undefined reference to `gfxdevice_rescale_init'
> /tmp/ccGqC2bZ.o: In function `main':
> pdf2swf.c:(.text+0x1c44): undefined reference to `initLog'
> pdf2swf.c:(.text+0x1c72): undefined reference to `gfxsource_pdf_create'
> pdf2swf.c:(.text+0x1d29): undefined reference to `stripFilename'
> pdf2swf.c:(.text+0x1d46): undefined reference to `msg'
> pdf2swf.c:(.text+0x1f0d): undefined reference to `msg'
> pdf2swf.c:(.text+0x1f43): undefined reference to `msg'
> pdf2swf.c:(.text+0x1f61): undefined reference to `msg'
> pdf2swf.c:(.text+0x2052): undefined reference to `msg'
> /tmp/ccGqC2bZ.o:pdf2swf.c:(.text+0x278f): more undefined references to
> `msg' follow
> /tmp/ccGqC2bZ.o: In function `main':
> pdf2swf.c:(.text+0x2d20): undefined reference to `getInstallationPath'
> pdf2swf.c:(.text+0x2d2d): undefined reference to `concatPaths'
> pdf2swf.c:(.text+0x2e07): undefined reference to `getInstallationPath'
> pdf2swf.c:(.text+0x2e14): undefined reference to `concatPaths'
> collect2: ld returned 1 exit status
>
>
>
> *Requesting your immediate response.*
>
> Thanks in advance.
>
> Regards,
> Ramya.
>