2250930_ja-JP

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2250930_ja-JP

2250930_ja-JP

LWIPのPFEデモがビルドされない

従うガイド:

https://www.nxp.com/document/guide/getting-started-with-the-s32g-reference-design-board-3-for-vehicl...

ボード:

S32G3 ゴールドボックス

IDEs:

S32 Design Studio for S32 Platform

バージョン: 3.6.4

ビルドID: 250929


問題の概要:

このガイドに従って、 PFE デモ コードをダウンロードし、インストーラーを実行しました。
ガイドにはどのフォルダをインポートすればよいか記載されていませんが、lwip_s32g274a をインポートしました [正確なフォルダを明示的に指定するようにガイドを修正してください]

インポート後、プロジェクトを右クリックして「ビルド」を選択しました。ガイド通りならエラーなくビルドできるはずですが、実際にはそうではありませんでした。コンソールに以下のビルドエラーが表示されています。

ビルディングファイル: ../stacks/tcpip/lwip/src/netif/ppp/polarssl/md5.c

ビルディングファイル: ../stacks/tcpip/lwip/src/netif/ppp/polarssl/des.c

ビルディングファイル: ../stacks/tcpip/lwip/src/netif/ppp/ccp.c

呼び出し: 標準 S32DS C コンパイラ

arm-none-eabi-gcc "@stacks/tcpip/lwip/src/netif/ppp/polarssl/arc4.args"-MMD -MP -MF"スタック/tcpip/lwip/src/netif/ppp/polarssl/sha1.d"-MT"スタック/tcpip/lwip/src/netif/ppp/polarssl/sha1.o"-o "stacks/tcpip/lwip/src/netif/ppp/polarssl/sha1.o"「../stacks/tcpip/lwip/src/netif/ppp/polarssl/sha1.c」

呼び出し: 標準 S32DS C コンパイラ

arm-none-eabi-gcc "@stacks/tcpip/lwip/src/netif/ppp/polarssl/arc4.args"-MMD -MP -MF"stacks/tcpip/lwip/src/netif/ppp/polarssl/arc4.d"-MT「スタック/tcpip/lwip/src/netif/ppp/polarssl/arc4.o」-o "スタック/tcpip/lwip/src/netif/ppp/polarssl/arc4.o"「../stacks/tcpip/lwip/src/netif/ppp/polarssl/arc4.c」

呼び出し: 標準 S32DS C コンパイラ

arm-none-eabi-gcc "@stacks/tcpip/lwip/src/netif/ppp/polarssl/arc4.args"-MMD -MP -MF"スタック/tcpip/lwip/src/netif/ppp/polarssl/des.d"-MT"スタック/tcpip/lwip/src/netif/ppp/polarssl/des.o"-o "スタック/tcpip/lwip/src/netif/ppp/polarssl/des.o"「../stacks/tcpip/lwip/src/netif/ppp/polarssl/des.c」

呼び出し: 標準 S32DS C コンパイラ

呼び出し: 標準 S32DS C コンパイラ

arm-none-eabi-gcc "@stacks/tcpip/lwip/src/netif/ppp/polarssl/arc4.args"-MMD -MP -MF"stacks/tcpip/lwip/src/netif/ppp/polarssl/md5.d"-MT"スタック/tcpip/lwip/src/netif/ppp/polarssl/md5.o"-o "stacks/tcpip/lwip/src/netif/ppp/polarssl/md5.o"「../stacks/tcpip/lwip/src/netif/ppp/polarssl/md5.c」

arm-none-eabi-gcc "@stacks/tcpip/lwip/src/netif/ppp/polarssl/arc4.args"-MMD -MP -MF"stacks/tcpip/lwip/src/netif/ppp/polarssl/md4.d"-MT"スタック/tcpip/lwip/src/netif/ppp/polarssl/md4.o"-o "stacks/tcpip/lwip/src/netif/ppp/polarssl/md4.o"「../stacks/tcpip/lwip/src/netif/ppp/polarssl/md4.c」

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/lwip/src/include/lwip/arch.h:48からインクルードされたファイルでは、

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/lwip/src/include/lwip/debug.h:40 から、

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/lwip/src/include/lwip/opt.h:52 から、

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/lwip/src/include/netif/ppp/ppp_opts.h:31 から、

../stacks/tcpip/lwip/src/netif/ppp/polarssl/arc4.c:41 から:

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/code/ports/プラットフォーム/generic/gcc/setting/arch/cc.h:37:10: 致命的なエラー: Devassert.h:そのようなファイル、又はディレクトリはありません

37 | #include "Devassert.h"

| ^~~~~~~~~~~~~

コンパイルが終了しました。

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/lwip/src/include/lwip/arch.h:48からインクルードされたファイルでは、

呼び出し: 標準 S32DS C コンパイラ

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/lwip/src/include/lwip/debug.h:40 から、

呼び出し: 標準 S32DS C コンパイラ

arm-none-eabi-gcc "@stacks/tcpip/lwip/src/netif/ppp/auth.args"-MMD -MP -MF"stacks/tcpip/lwip/src/netif/ppp/auth.d"-MT「スタック/tcpip/lwip/src/netif/ppp/auth.o」-o "スタック/tcpip/lwip/src/netif/ppp/auth.o"「../stacks/tcpip/lwip/src/netif/ppp/auth.c」

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/lwip/src/include/lwip/opt.h:52 から、

ビルディングファイル: ../stacks/tcpip/lwip/src/netif/ppp/chap-md5.c

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/lwip/src/include/netif/ppp/ppp_opts.h:31 から、

../stacks/tcpip/lwip/src/netif/ppp/polarssl/sha1.c:41 から:

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/code/ports/プラットフォーム/generic/gcc/setting/arch/cc.h:37:10: 致命的なエラー: Devassert.h:そのようなファイル、又はディレクトリはありません

arm-none-eabi-gcc "@stacks/tcpip/lwip/src/netif/ppp/auth.args"-MMD -MP -MF"スタック/tcpip/lwip/src/netif/ppp/ccp.d"-MT「スタック/tcpip/lwip/src/netif/ppp/ccp.o」-o "スタック/tcpip/lwip/src/netif/ppp/ccp.o"「../stacks/tcpip/lwip/src/netif/ppp/ccp.c」

37 | #include "Devassert.h"

| ^~~~~~~~~~~~~

コンパイルが終了しました。

作成: *** [stacks/tcpip/lwip/src/netif/ppp/polarssl/subdir.mk:32:スタック/tcpip/lwip/src/netif/ppp/polarssl/arc4.o]エラー1

make: *** 未完了のジョブを待機しています....

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/lwip/src/include/lwip/arch.h:48からインクルードされたファイルでは、

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/lwip/src/include/lwip/debug.h:40 から、

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/lwip/src/include/lwip/opt.h:52 から、

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/lwip/src/include/netif/ppp/ppp_opts.h:31 から、

../stacks/tcpip/lwip/src/netif/ppp/polarssl/des.c:42 から:

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/code/ports/プラットフォーム/generic/gcc/setting/arch/cc.h:37:10: 致命的なエラー: Devassert.h:そのようなファイル、又はディレクトリはありません

37 | #include "Devassert.h"

| ^~~~~~~~~~~~~

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/lwip/src/include/lwip/arch.h:48からインクルードされたファイルでは、

呼び出し: 標準 S32DS C コンパイラ

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/lwip/src/include/lwip/debug.h:40 から、

arm-none-eabi-gcc "@stacks/tcpip/lwip/src/netif/ppp/auth.args"-MMD -MP -MF"stacks/tcpip/lwip/src/netif/ppp/chap-md5.d"-MT「スタック/tcpip/lwip/src/netif/ppp/chap-md5.o」-o "スタック/tcpip/lwip/src/netif/ppp/chap-md5.o"「../stacks/tcpip/lwip/src/netif/ppp/chap-md5.c」

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/lwip/src/include/lwip/opt.h:52 から、

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/lwip/src/include/netif/ppp/ppp_opts.h:31 から、

../stacks/tcpip/lwip/src/netif/ppp/polarssl/md5.c:41 から:

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/code/ports/プラットフォーム/generic/gcc/setting/arch/cc.h:37:10: 致命的なエラー: Devassert.h:そのようなファイル、又はディレクトリはありません

37 | #include "Devassert.h"

| ^~~~~~~~~~~~~

コンパイルが終了しました。

作成: *** [stacks/tcpip/lwip/src/netif/ppp/polarssl/subdir.mk:32:スタック/tcpip/lwip/src/netif/ppp/polarssl/sha1.o]エラー1

コンパイルが終了しました。

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/lwip/src/include/lwip/arch.h:48からインクルードされたファイルでは、

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/lwip/src/include/lwip/debug.h:40 から、

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/lwip/src/include/lwip/opt.h:52 から、

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/lwip/src/include/netif/ppp/ppp_opts.h:31 から、

../stacks/tcpip/lwip/src/netif/ppp/polarssl/md4.c:42 から:

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/code/ports/プラットフォーム/generic/gcc/setting/arch/cc.h:37:10: 致命的なエラー: Devassert.h:そのようなファイル、又はディレクトリはありません

37 | #include "Devassert.h"

| ^~~~~~~~~~~~~

作成: *** [stacks/tcpip/lwip/src/netif/ppp/polarssl/subdir.mk:32:スタック/tcpip/lwip/src/netif/ppp/polarssl/md5.o]エラー1

作成: *** [stacks/tcpip/lwip/src/netif/ppp/polarssl/subdir.mk:32:スタック/tcpip/lwip/src/netif/ppp/polarssl/des.o]エラー1

コンパイルが終了しました。

作成: *** [stacks/tcpip/lwip/src/netif/ppp/polarssl/subdir.mk:32:スタック/tcpip/lwip/src/netif/ppp/polarssl/md4.o]エラー1

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/lwip/src/include/lwip/arch.h:48からインクルードされたファイルでは、

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/lwip/src/include/lwip/debug.h:40 から、

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/lwip/src/include/lwip/opt.h:52 から、

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/lwip/src/include/netif/ppp/ppp_opts.h:31 から、

../stacks/tcpip/lwip/src/netif/ppp/auth.c:71 から:

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/code/ports/プラットフォーム/generic/gcc/setting/arch/cc.h:37:10: 致命的なエラー: Devassert.h:そのようなファイル、又はディレクトリはありません

37 | #include "Devassert.h"

| ^~~~~~~~~~~~~

コンパイルが終了しました。

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/lwip/src/include/lwip/arch.h:48からインクルードされたファイルでは、

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/lwip/src/include/lwip/debug.h:40 から、

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/lwip/src/include/lwip/opt.h:52 から、

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/lwip/src/include/netif/ppp/ppp_opts.h:31 から、

../stacks/tcpip/lwip/src/netif/ppp/ccp.c:31 から:

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/code/ports/プラットフォーム/generic/gcc/setting/arch/cc.h:37:10: 致命的なエラー: Devassert.h:そのようなファイル、又はディレクトリはありません

37 | #include "Devassert.h"

| ^~~~~~~~~~~~~

メイク: *** [stacks/tcpip/lwip/src/netif/ppp/subdir.mk:92:スタック/tcpip/lwip/src/netif/ppp/auth.o]エラー1

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/lwip/src/include/lwip/arch.h:48からインクルードされたファイルでは、

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/lwip/src/include/lwip/debug.h:40 から、

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/lwip/src/include/lwip/opt.h:52 から、

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/lwip/src/include/netif/ppp/ppp_opts.h:31 から、

../stacks/tcpip/lwip/src/netif/ppp/chap-md5.c:31 から:

D:/disrupt/PFE-demo/RTD_PFE_DEMO/source/lwip_s32g274a/stacks/tcpip/code/ports/プラットフォーム/generic/gcc/setting/arch/cc.h:37:10: 致命的なエラー: Devassert.h:そのようなファイル、又はディレクトリはありません

37 | #include "Devassert.h"

| ^~~~~~~~~~~~~

コンパイルが終了しました。

コンパイルが終了しました。

メイク: *** [stacks/tcpip/lwip/src/netif/ppp/subdir.mk:92:スタック/tcpip/lwip/src/netif/ppp/ccp.o]エラー1

メイク: *** [stacks/tcpip/lwip/src/netif/ppp/subdir.mk:92:スタック/tcpip/lwip/src/netif/ppp/chap-md5.o]エラー1

「make -j8 all」は終了コード 2 で終了しました。ビルドが不完全である可能性があります。


12:23:54 ビルドに失敗しました。エラー 17 件、警告 0 件。(1秒417ミリ秒かかりました)



ここ 3 日間、M7 の LWIP に苦労していますが、動作するデモ例が見つからず、非常にイライラしています。

正しい方向を指し示す手助けをしてください。すぐに使える特定のリンク/ドキュメント/ソースが必要です。S32G3 の M7 コアの LWIP サンプルを実行するだけです。


Re: PFE demo for LWIP does not build

こんにちは、 @rizwan_at_disruptdotcom

ご返信ありがとうございます。

PFE を絶対に使用する必要がない場合は、S32G の GMAC インターフェースに基づく LwIP の例があり、最新のソフトウェア リリースをサポートしています。

もしそれがあなたの要件を満たすことができれば、NXPからS32DSにプロビジョニングされたLwIPとFreeRTOSパッケージをインストールしてみてください。その例が見つかります。

chenyin_h_0-1764556654206.pngchenyin_h_0-1764556654206.png

お役に立てれば幸いです。


BR

チェイン


Re: PFE demo for LWIP does not build

参考までに、バンドルから SDK をインストールすることも試しました: https://www.nxp.com/app-autopackagemgr/automotive-software-package-manager:AUTO-SW-PACKAGE-MANAGER?c...

Re: PFE demo for LWIP does not build返信ありがとうございます。

S32G3 M7 で LWIP + FreeRTOS をテストするための適切なリソースを教えていただけますか?

S32 DS 環境で動作するデモ/例が必要です。
Re: PFE demo for LWIP does not build

こんにちは、 @rizwan_at_disruptdotcom

ご投稿ありがとうございます。

あなたが試したデモは古くなっており、非常に古いバージョンの S32DS と対応する RTD/PFE コードに基づいているため、使用した S32DS と互換性がありません。

このデモを使用する場合は、おそらく S32DS3.4 が必要です。


BR

チェイン

Re: PFE demo for LWIP does not build

こんにちは、 @chenyin_h
引き続きのサポートをよろしくお願いいたします。

S32G TCP STACK の例があるようですが、私のセットアップにはそれがありません。
ソフトウェア バンドルのリンクまたはアップデート サイトを教えていただけますか?


Re: PFE demo for LWIP does not build

こんにちは、 @rizwan_at_disruptdotcom

ご返信ありがとうございます。

S32DS にどのバージョンの RTD をインストールしたか教えていただけますか?


BR

チェイン

Re: PFE demo for LWIP does not build

こんにちは@chenyin_hさん

示された TCIP の例に基づいて、 NXP ソフトウェア パッケージ マネージャーで SW32G_TCPIP_STACK_2.0.0_D2511_DesignStudio_updatesite.zip を検索してダウンロードしました。

私は
リアルタイム・ドライバ バージョン 5.0.0 QLP03を使用しています

この設定で構築された例。

サポートありがとうございます。

Tags (1)
No ratings
Version history
Last update:
‎12-03-2025 02:40 AM
Updated by: