Article View: es.comp.os.linux.programacion
Article #11942Problemas al enlazar
From: Salva
Date: Mon, 17 Sep 2001 17:45
Date: Mon, 17 Sep 2001 17:45
45 lines
2655 bytes
2655 bytes
Hola a todos. Estoy trabajando en un programa compuesto por varios ficheros .cpp y sus correspondientes .hpp. Despu�s de solucionar los no pocos problemas al compilar, he pasado a la etapa de enlazar todos los ficheros objeto. Mi problema es que me han salido errores que no se a que son debido. Aqu� los pongo para ver si alguien me puede decir que puedo hacer. Incluso aparecen unos debido a las libreria ncurses. Errores al enlazar ( linkar no creo que sea adecuado): algebra.o: In function `operator==(Vector2D const &, Vector2D const &)': algebra.o(.text+0x3aef): undefined reference to `operator==(complex<float> const &, complex<float> const &)' algebra.o(.text+0x3b06): undefined reference to `operator==(complex<float> const &, complex<float> const &)' algebra.o: In function `operator==(Matriz2D const &, Matriz2D const &)': algebra.o(.text+0x42e8): undefined reference to `operator==(complex<float> const &, complex<float> const &)' algebra.o(.text+0x4339): more undefined references to `operator==(complex<float> const &, complex<float> const &)' follow /usr/lib/libncurses.a(lib_mouse.o): In function `initialize_mousetype': lib_mouse.o(.text+0x35): undefined reference to `Gpm_Open' lib_mouse.o(.text+0x51): undefined reference to `gpm_fd' /usr/lib/libncurses.a(lib_mouse.o): In function `_nc_mouse_event': lib_mouse.o(.text+0xdc): undefined reference to `gpm_fd' lib_mouse.o(.text+0x10b): undefined reference to `Gpm_GetEvent' /usr/lib/libncurses.a(lib_mouse.o): In function `_nc_mouse_resume': lib_mouse.o(.text+0x78a): undefined reference to `gpm_fd' /usr/lib/libncurses.a(lib_mouse.o): In function `mousemask': lib_mouse.o(.text+0x8db): undefined reference to `gpm_fd' collect2: ld returned 1 exit status Gracias. Adeu. Salva salause@teleco.upv.es
Technical Details
Message-ID:
<9o5cok$j8r$1@polaris.cc.upv.es>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!195.64.68.27!newsgate.cistron.nl!isdnet!news.rediris.es!news.uv.es!news.upv.es!kabutShow Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: f86c8,197249f8e619f24e,start X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2001-09-17 10:57:56 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!195.64.68.27!newsgate.cistron.nl!isdnet!news.rediris.es!news.uv.es!news.upv.es!kabut From: salause@teleco.upv.es (Salva) Newsgroups: es.comp.os.linux.programacion Subject: Problemas al enlazar Date: Mon, 17 Sep 2001 17:45:06 GMT Organization: U.P.V. Lines: 45 Message-ID: <9o5cok$j8r$1@polaris.cc.upv.es> NNTP-Posting-Host: ext-a28.ras.upv.es X-Trace: polaris.cc.upv.es 1000748628 19739 158.42.240.28 (17 Sep 2001 17:43:48 GMT) X-Complaints-To: newsmaster@upv.es NNTP-Posting-Date: 17 Sep 2001 17:43:48 GMT X-Newsreader: News Xpress 2.01