gpt4 book ai didi

gcc - 使: *** [ ] Error 1 error

转载 作者:行者123 更新时间:2023-12-02 08:56:31 24 4
gpt4 key购买 nike

我正在尝试在 gcc 上编译 Pro*C 文件,但收到此错误:

make: *** [MedLib_x.o] Error 1

这是 make 打印的命令:

   /usr/bin/gcc -g -fPIC -m64 -DSS_64BIT_SERVER  -I/home/med/src/common -
I/u01/app/oradb11r2/product/11.2.0/dbhome_3/rdbms/demo
-I/u01/app/oradb11r2/product/11.2.0/dbhome_3/rdbms/public
-I/u01/app/oradb11r2/product/11.2.0/dbhome_3/precomp/public
-I/u01/app/oradb11r2/product/11.2.0/dbhome_3/xdk/include INCLUDE=/u01/app/oradb11r2/product/11.2.0/dbhome_3/precomp/public -lnapi -ltabs -c MedLib_x.c

请帮我看看为什么会出现这个错误?虽然也创建了目标文件。

最佳答案

来自 GNU Make 错误附录,如您所见,这不是 Make 错误,而是来自 gcc 的错误。

‘[foo] Error NN’ ‘[foo] signal description’ These errors are not really make errors at all. They mean that a program that make invoked as part of a recipe returned a non-0 error code (‘Error NN’), which make interprets as failure, or it exited in some other abnormal fashion (with a signal of some type). See Errors in Recipes. If no *** is attached to the message, then the subprocess failed but the rule in the makefile was prefixed with the - special character, so make ignored the error.

因此,为了解决这个问题,需要来自 gcc 的错误消息。将Makefile中的命令直接粘贴到命令行,看看gcc说什么。 For more details on Make errors click here.

关于gcc - 使: *** [ ] Error 1 error,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5535548/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com