Activation failed (error code 0xd)

Hello,

I am trying to use TurboActivate on a Raspbian Pi 3 Model B with OpenSuse 42.2 but it is not working.

First of all, I am using the Example.c test program that TurboActivate 4.0.9.6 provides in its API. When I run this program, it returns the following information:

Not activated: hr = 0x3 TA_UseTrial failed: hr = 0x1e Product key saved successfully. Activation failed: hr = 0xd Hello world.

I thought the problem might be because Raspberry Pi does not have RTC (Real Time Clock), so I bought an RTC module.Now, the date, time zone and time are correct, as you can see in the text below, but the program is still not working.

Local time: Wed 2017-04-26 11:26:34 CEST Universal time: Wed 2017-04-26 09:26:34 UTC RTC time: Wed 2017-04-26 09:26:35 Time zone: Europe/Madrid (CEST, +0200) Network time on: no NTP synchronized: yes RTC in local TZ: no

I don't know why this error happens.I would appreciate any help.

Thanks in advance.

The error tells you how to fix things:

/* MessageId: TA_E_EXPIRED Message code (in Hex): 0xD Message code (in Decimal): 13

MessageText:

The activation has expired or the system time has been tampered with. Ensure your time, timezone, and date settings are correct.

If you know for sure the offline activation (or offline verified trial) has not expired, then the problem is fraudulent date/time/timezone. To fix the problem do the following in order, don't skip a step:

1. Fix the timezone on the device. 2. Fix the date on the device. 3. Fix the time on the device. 4. Restart the device.

Step 1 is critical. As is step 4.*/#define TA_E_EXPIRED ((HRESULT)0x0000000DL)

You need to do every one of those steps (including step 4).

I had already seen this message, but I have followed these steps again. I have set the time and date with Yast and, after this, I have set the RTC time with hwclock -w. Finally, I have restarted the Raspberry PI, but the problem is still happens.

Have you tried TurboActivate in Raspberry Pi with Raspbian? In this case, is it necessary to use an RTC module?

I have only tried with OpenSUSE, so I dont know if the problem is due to OpenSUSE.

It's likely a problem with OpenSUSE. Other customers are successfully using raspbian.

Today, I have tried the same process with Raspbian. I am going to summarize the steps followed:

1) Extract the files "Example.c" and "TurboActivate.h" from "TurboActivate-Linux.zip:/API/C" (v4.0.9.6) to an empty directory.

2) In "Example.c", replace every occurrence of "exit(1)" with "return 1".

3) Create a Makefile with contents:CXXFLAGS = -Os -s -ffunction-sections -fdata-sections -DNDEBUG -L .LDFLAGS = -Wl,--gc-sections -Wl,-rpath='$$ORIGIN'example: example.og++ $(CXXFLAGS) $(LDFLAGS) -o ./example.out ./example.o -lTurboActivate -lrtexample.o:g++ -c $(CXXFLAGS) $(L DFLAGS) ./Example.c -o ./example.o

4) Copy the "libTurboActivate.so" library from the architecture you want to test (armv7-a for Raspberry Pi) to this same directory (don't put it inside a TurboActivate folder!)

5) Execute the following command: "make -f makefile-arm"

6) Run the test: in the directory where you have the "libTurboActivate.so" and the other files: "./example.out"

After folowing these steps, you get this:./example.out: error while loading shared libraries: libTurboActivate.so: cannot open shared object file: No such file or directory

I would like to solve this problem and use TurboActivate on Raspberry (with any kind of OS) as soon as possible.

Thanks in advance.