Skip to content

小白求问 编译错误怎么解决 #1

@SagitPixel

Description

@SagitPixel

sxplugin.c:121:21: error: 'user' undeclared (first use in this function)
121 | strcpy(saveuser,user);
| ^~~~
sxplugin.c:121:21: note: each undeclared identifier is reported only once for each function it appears in
sxplugin.c:122:20: error: 'passwd' undeclared (first use in this function)
122 | strcpy(savepwd,passwd);
| ^~~~~~
sxplugin.c:125:5: error: 'pap_check_hook' undeclared (first use in this function)
125 | pap_check_hook=check;
| ^~~~~~~~~~~~~~
sxplugin.c:126:5: error: 'chap_check_hook' undeclared (first use in this function)
126 | chap_check_hook=check;
| ^~~~~~~~~~~~~~~
make[4]: *** [Makefile:13: chongqing_sxplugin] Error 1
make[4]: Leaving directory '/home/sagit/immortalwrt/build_dir/target-mipsel_24kc_musl/netkeeper'
make[3]: *** [Makefile:44: /home/sagit/immortalwrt/build_dir/target-mipsel_24kc_musl/netkeeper/.built] Error 2
make[3]: Leaving directory '/home/sagit/immortalwrt/feeds/netkeeper/netkeeper'
time: package/feeds/netkeeper/netkeeper/compile#0.10#0.00#0.14
ERROR: package/feeds/netkeeper/netkeeper failed to build.
make[2]: *** [package/Makefile:185: package/feeds/netkeeper/netkeeper/compile] Error 1
make[2]: Leaving directory '/home/sagit/immortalwrt'
make[1]: *** [package/Makefile:179: /home/sagit/immortalwrt/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/sagit/immortalwrt'
make: *** [/home/sagit/immortalwrt/include/toplevel.mk:233: world] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions