Get the latest update on our Vizio court case
Until July 17ᵗʰ, we'll direct1 newly initiated Sustainerships & SFC donations to our software right-to-repair work & efforts to resolve Bambu Lab's AGPLv3 violations!
$127,218 raised!
$122,789 to go!

Help us reach this goal so we can dedicate long-term full-time SFC staff on our software right to repair work for 3D printers, & take action on Bambu Lab's AGPLv3 violations!

Use The Source

Belkin WLS040(3) round 1 of N

Vendor: Belkin

Device: WLS040(3)

Released: Sept. 4, 2019

This source candidate was received after finding a "Third Party Software" manual page (see https://s3.belkin.com/support/assets/wemo/license/FW_LICENSE_WeMo_WLS040_v2.00.11421.pdf and https://s3.belkin.com/support/assets/wemo/license/FW_LICENSE_WLS0403_v2.00.11421.pdf for example) and downloading the "copy of the source code [candidate]" that it referenced.

Note that the source candidates provided for the WLS040 and WLS0403 at https://www.belkin.com/support-article/?articleNum=51238 are identical, so we are covering both here.

Comments

denver — July 12, 2025, 9:32 p.m.
Inside the tarball we found a README.txt file that told us how to unpack the source candidate. After that, its final instruction was to run "make lightv2-prod". So we ran that command but the command failed with this error while in the wemo_gpl_lightv2_package-11421/build_dir/host/m4-1.4.17/lib folder attempting to compile freadahead.c:

freadahead.c: In function 'freadahead':
freadahead.c:91:3: error: #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib."
#error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib."

This may be an error related to the cross-compiler not being specified, or being incorrectly specified. In any case, the build did not complete with the scripts that Belkin provided so we had nothing to install onto the device.

Furthermore, we could not find any "scripts used to control ... installation of the executable" for this device. So even if the build did complete, we would not have the information required to install the compiled executable back onto the device.

We did find another README file inside the wemo_gpl_lightv2_package-11421.tar.gz tarball, but it did not provide any information about how to fix this compilation issue, or how to install the compiled executable back onto this Belkin device.

Header image adapted from Stars 01 by Mathias Krumbholz (CC BY-SA 3.0 Deed). Icons adapted from Magnifying Glass by Rohith M S, Magnifying Glass by icondesign178 and Upload by sureya from Noun Project (CC BY 3.0)