使用eclipse, make: *** Error 1。

时间:2021-12-28 12:42:54

i´m making a proyect with eclipse in c languaje and i met with this error that i don´t know how to solve. I would thank any help.

我做proyect´与eclipse c languaje和´我会见了这个错误,我不知道如何解决。我将感谢任何帮助。

11:04:11 ** Incremental Build of configuration Debug for project POrueba- **
make all
Building target: POrueba-
Invoking: GCC C Linker
gcc -L"/home/utnso/workspace/Libreria-nivel/Debug" -o "POrueba-" ./src/POrueba-.o -lLibreria-nivel
/home/utnso/workspace/Libreria-nivel/Debug/libLibreria-nivel.so: referencia a waddch' sin definir
/home/utnso/workspace/Libreria-nivel/Debug/libLibreria-nivel.so: referencia a
wborder' sin definir
/home/utnso/workspace/Libreria-nivel/Debug/libLibreria-nivel.so: referencia a init_pair' sin definir
/home/utnso/workspace/Libreria-nivel/Debug/libLibreria-nivel.so: referencia a
wbkgd' sin definir
/home/utnso/workspace/Libreria-nivel/Debug/libLibreria-nivel.so: referencia a wrefresh' sin definir
/home/utnso/workspace/Libreria-nivel/Debug/libLibreria-nivel.so: referencia a
keypad' sin definir
/home/utnso/workspace/Libreria-nivel/Debug/libLibreria-nivel.so: referencia a initscr' sin definir
/home/utnso/workspace/Libreria-nivel/Debug/libLibreria-nivel.so: referencia a
start_color' sin definir
/home/utnso/workspace/Libreria-nivel/Debug/libLibreria-nivel.so: referencia a newwin' sin definir
/home/utnso/workspace/Libreria-nivel/Debug/libLibreria-nivel.so: referencia a
delwin' sin definir
/home/utnso/workspace/Libreria-nivel/Debug/libLibreria-nivel.so: referencia a printw' sin definir
/home/utnso/workspace/Libreria-nivel/Debug/libLibreria-nivel.so: referencia a
stdscr' sin definir
/home/utnso/workspace/Libreria-nivel/Debug/libLibreria-nivel.so: referencia a endwin' sin definir
/home/utnso/workspace/Libreria-nivel/Debug/libLibreria-nivel.so: referencia a
noecho' sin definir
/home/utnso/workspace/Libreria-nivel/Debug/libLibreria-nivel.so: referencia a wmove' sin definir
/home/utnso/workspace/Libreria-nivel/Debug/libLibreria-nivel.so: referencia a
werase' sin definir
collect2: error: ld devolvió el estado de salida 1

11:04:11 ** *为POrueba- *项目增加配置调试构建,使所有构建目标:POrueba-调用:GCC C Linker GCC - l "/home/utnso/workspace/ workspace -nivel/Debug -o“POrueba-”./src/POrueba-。o -lLibreria-nivel /home/utnso/workspace/Libreria-nivel /调试/ libLibreria-nivel。因此:引用定义为/home/utnso/workspace/ libreria -nivel/Debug/libLibreria-nivel。例如:referencia awborder' sin define /home/utnso/workspace/ libreria -nivel/Debug/ liblibrerial-nivel。所以:referencia a init_pair' sindefinir / home/utnso/workspace/libreria -nivel/Debug/libLibreria-nivel。例如:referencia awbkgd' sin definition ir /home/utnso/workspace/ libreria -nivel/Debug/libLibreria-nivel。所以:引用一个新的定义:home/utnso/workspace/ libreria -nivel/Debug/libLibreria-nivel。所以:referencia akeypad的sin definir /home/ utnso/workspace/libreria -nivel/Debug/libLibreria-nivel。因此:引用一个initscr的罪恶定义/home/utnso/workspace/ libreria -nivel/Debug/libLibreria-nivel。所以:referencia astart_color' sin define /home/utnso/workspace/ libreria -nivel/Debug/ liblibreriaa -nivel。因此:引用一个newwin' sin的定义/home/utnso/workspace/ libreria -nivel/Debug/libLibreria-nivel。所以:引用adelwin的罪恶定义/ home/utnso/workspace/libreria-nivel /Debug/ liblibrerianivel。因此:引用一个printw的sin define / home/utnso/workspace/libreria-nivel /Debug/ liblibreri/nivel。所以:referencia astdscr的sin定义/home/utnso/workspace/ libreria -nivel/Debug/ liblibrerial-nivel。因此:引用一个endwin' sin的定义/home/utnso/workspace/ libreria -nivel/Debug/libLibreria-nivel。所以:referencia anoecho的sin definition ir /home/utnso/workspace/ libreria -nivel/Debug/libLibreria-nivel。因此:引用一个定义为/home/utnso/workspace/ libreria -nivel/Debug/libLibreria-nivel的错误。所以说:referencia out from ' sin definir collect2: error: ld开发者el estado de salida 1

make: * [POrueba-] Error 1

make: * [POrueba-]错误1

11:04:12 Build Finished (took 642ms)

11:04:12完成(642ms)

1 个解决方案

#1


0  

This is a dependency issue. One of your shared objects (libLibreria-nivel.so) seems to reference another library that has the function/variable/definition of init_pair. You need to find out where these definitions are, and link them appropriately.

这是一个依赖关系问题。您的一个共享对象(liblibreria - nivelso)似乎引用了另一个具有init_pair函数/变量/定义的库。您需要找出这些定义在哪里,并适当地链接它们。

#1


0  

This is a dependency issue. One of your shared objects (libLibreria-nivel.so) seems to reference another library that has the function/variable/definition of init_pair. You need to find out where these definitions are, and link them appropriately.

这是一个依赖关系问题。您的一个共享对象(liblibreria - nivelso)似乎引用了另一个具有init_pair函数/变量/定义的库。您需要找出这些定义在哪里,并适当地链接它们。