Build and compile the openwrt, Hi-Link-7628N

Hi,

when we try to build and compile this project in ubuntu 24.04.01, we getting this error.

we don't have a proper documentations for build this code.

we facing issues since last week. things we required.

  1. what are all the prerequisites and predependency files are required to build this.
  2. Configuration parameters.
  3. step by step guide documentations.

Our Hi-Link module is - HLK-7628N

From this line of the code is we are getting issue, even though as per C language this line is correct.

" define SIGSTKSZ 16384

#elif defined(HAVE_LIBSIGSEGV) && (SIGSTKSZ < 16384) "


"<command-line>: note: this is the location of the previous definition
In file included from /usr/include/signal.h:328,
                 from ./signal.h:52,
                 from c-stack.c:49:
c-stack.c:55:36: error: missing binary operator before token "("
   55 | #elif defined(HAVE_LIBSIGSEGV) && (SIGSTKSZ < 16384)
      |                                    ^~~~~~~~
make[7]: *** [Makefile:1837: c-stack.o] Error 1
make[7]: Leaving directory '/home/linux-24/Hi-Link/7628n--openwrt/openwrt-sdk/build_dir/host/m4-1.4.17/lib'
make[6]: *** [Makefile:1602: all] Error 2
make[6]: Leaving directory '/home/linux-24/Hi-Link/7628n--openwrt/openwrt-sdk/build_dir/host/m4-1.4.17/lib'
make[5]: *** [Makefile:1506: all-recursive] Error 1
make[5]: Leaving directory '/home/linux-24/Hi-Link/7628n--openwrt/openwrt-sdk/build_dir/host/m4-1.4.17'
make[4]: *** [Makefile:1461: all] Error 2
make[4]: Leaving directory '/home/linux-24/Hi-Link/7628n--openwrt/openwrt-sdk/build_dir/host/m4-1.4.17'
make[3]: *** [Makefile:31: /home/linux-24/Hi-Link/7628n--openwrt/openwrt-sdk/build_dir/host/m4-1.4.17/.built] Error 2
make[3]: Leaving directory '/home/linux-24/Hi-Link/7628n--openwrt/openwrt-sdk/tools/m4'
make[2]: *** [tools/Makefile:158: tools/m4/compile] Error 2
make[2]: Leaving directory '/home/linux-24/Hi-Link/7628n--openwrt/openwrt-sdk'
make[1]: *** [tools/Makefile:156: /home/linux-24/Hi-Link/7628n--openwrt/openwrt-sdk/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.tools_install_yynyynynynyyyyyyyyyynyyyyyyyynyyyynnyyynnyynnnyyyy] Error 2
make[1]: Leaving directory '/home/linux-24/Hi-Link/7628n--openwrt/openwrt-sdk'
make: *** [/home/linux-24/Hi-Link/7628n--openwrt/openwrt-sdk/include/toplevel.mk:173: world] Error 2 "

So, please help us to get out of this issue. Provide some valuable information's regarding this. your help will be appreciable.

Thanks in advance.

Where did you get the sdk for this?

Hi @psherman, Thank you for your response.

Actually we are getting this SDK code from openwrt website.

Here i will share the code drive link:Open wrt sdk source file
`

You need to ask the people who provided the sdk. Since it did not come from here, we cannot support it.

The openwrt build system is available and well documented. This is the only sdk supported on this forum.

https://openwrt.org/docs/guide-developer/toolchain/start

Thank you for the reply @psherman .

We are getting that sdk source from openwrt website only, if thats an issue, where we can get the support.

so please provide a support us, if possible can you please share us the SDK as well.

Thank you

The sdk you showed in your initial post does not look like it came from the official project.

Please see the link I shared above to see all the documentation about how to get started with the official build system.

Thank you @psherman ,

Can you please provide a SDK for the Hi-Link-7628N module.

Your help will be appreciable. Thanks

This topic was automatically closed after 60 minutes. New replies are no longer allowed.

No. I provided you with information about the official openwrt build system/sdk. Anything else is off topic and unsupported on these forums. Please ask the vendor of your product for assistance.