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

Re: [MiNT] libiio



On Mon, 24 May 2010 23:31:13 , Vincent Rivière <vincent.riviere@freesbee.fr> wrote:
> Peter Slegg wrote:
> > In file included from photorec.c:57:
> > /usr/lib/libiio.a:44: unterminated character constant
> > /usr/lib/libiio.a:58: unterminated character constant
> > /usr/lib/libiio.a:137: unterminated character constant
> > /usr/lib/libiio.a:209: unterminated character constant
> > /usr/lib/libiio.a:238: unterminated string or character constant
> > /usr/lib/libiio.a:7: possible real start of unterminated constant
> >
> >
> > A quick look at libiio.a shows that it has been updated in 2008
> > so this may have caused the errors above.
>
> I don't think this problem comes from libiio.a, because such error messag
> es
> occurs during the compilation phase, and libiio.a had been compiled
> successfully.
>
> But I see line numbers on the error messages, it seems that libiio.a is a
> ze
> #include'd from photorec.c, which is obviously wrong.
>
> Look at photorec.c and tell us what is on line 57.
>

#include <usr\lib\libiio.a>

I know it had compiled back in 2007, I have the bin to prove it
but I am not sure what I was doing to it. I probably added the
line above trying to get it to work on mint partitions.

Without that line I have some odd error:

<SNIP>
photorec.c: In function `data_check_size':
photorec.c:1151: warning: unused parameter `buffer'
photorec.c:1151: warning: unused parameter `buffer_size'
photorec.c: In function `file_finish':
photorec.c:1244: warning: cast increases required alignment of target type
make[2]: *** [photorec.o] Error 1
make[2]: Leaving directory `/i/usr/src/testdisk/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/i/usr/src/testdisk'
make: *** [all] Error 2


Peter