rtl_tcp.c:112:10: error: invalid suffix "Ui64" on integer constant

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-sdr@lists.osmocom.org/.

Alessandro alex_stani at yahoo.it
Wed Oct 9 13:25:00 UTC 2013


It sounds good, thanks!
Now I have compiled rtl_sdr_x64 on Windows7x64 arch and it shows only 
Ui64 problem. I didn't do other 'sed-operation' on C files ( useful 
script keenerd!!! ) but I have added -lws2_32  to resolve the undefined 
reference (it's a known fail on mingws user community)

Thanks



On 09/10/2013 13:58, keenerd wrote:
 > Take a look at my mingw build script:
 > http://kmkeen.com/tmp/mingw32.sh.txt
 >
 > -Kyle
 > http://kmkeen.com
 >


On 09/10/2013 13:03, Adam Nielsen wrote:
>> Just been trying to compile rtl-sdr on my Windows7x64; so I have
>> cloned the trunk repository, download mingw64, download cmake, get
>> libusb-1.0 for windows and get pthreads-win32.
>
>> ..\..\src\rtl_tcp.c:112:10: error: invalid suffix "Ui64" on integer
>> constant tmp -= 11644473600000000Ui64;
>>
>> Someone can help me?
>
> It looks like the "i64" suffix is specific to Microsoft VC++.  I guess
> since you're compiling for Windows it's assumed you'll be using the MS
> compiler.  Try changing the "Ui64" at the end of the number to the
> standard "ULL" instead and see if that lets you finish compiling.
>
> Cheers,
> Adam.
>




More information about the osmocom-sdr mailing list