Mailinglist Archive: opensuse-programming-de (46 mails)

< Previous Next >
KDevelop libs einbinden
  • From: Sergej Laiko <laiko@xxxxxxxxxxxxxxxxxx>
  • Date: Fri, 04 Mar 2005 09:20:13 +0100
  • Message-id: <200503040920.13594.laiko@xxxxxxxxxxxxxxxxxx>
Privet Roma,

nu poka ty esche ne v Amerike razreschi vopros, esli est vremja eto ne
srochno.

ich habe ein neues Projekt mit KDevelop 3.0.2 (KDE3.2.1) erzeugt und
schon existierende *.c, *.h Dateien hinzugefügt. Danach wollte ich gern
-lXt -lXm -lX11 einzubinden.

Mit Menu
Project
Projects Einstellungen
Einstellungen für Configure
Linker-Schalter (LDFLAGS)
habe ich probiert -lXm -lX11 -lXt einzutragen, hat nichts gebracht.

Meine Makefile.am Datei sieht so aus:

#------------Anfang-----------Makefile.am-------------------------------------
bin_PROGRAMS = lau
lau_SOURCES = lau.c axis_helpCB.c comp_Fhkl.c cr_mat44.c crys_dataCB.c
....
blja, blja
....
write_log.c XcellCB.c xray_charCB.c xray_dataCB.c XselectCB.c

lau_LDADD = -lXm -lX11 -lXt

# set the include path found by configure
INCLUDES= $(all_includes)

# the library search path.
#lauex_LDFLAGS = $(all_libraries)
noinst_HEADERS = Fgroup.h imgtif.h laue.h global.h

#------------Ende-----------Makefile.am-------------------------------------


Nach dem Erstellen des Projekts melledet KDevelop die Fehler.
Ausschnitt aus config.log Datei:

#----------------------- config.log --------------
configure:2287: checking for C compiler default output file name
configure:2290: gcc -lXm -lX11 -lXt conftest.c >&5
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld:
cannot find -lXm
collect2: ld returned 1 exit status
configure:2293: $? = 1
configure: failed program was:

Xm ist standartweise für SuSE 9.1 im Verzeichnis "/usr/X11R6/lib/libXm.a"
installiert.

Nu a teper populjarnyj dlja Rossii vopros, KTO VINOVAT (nu eto ja primerno
dogadyvajus) i CHTO DELAT (a vot ob etom u tebja hochu sprosit)

Chemodan to ushe upakoval? Denshat tebe ne podkinut?

Sergej





< Previous Next >