[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Linkowanie bibliotek w Kdevelopie3



Witam,
Mam taki problem. Kompiluję program z bibliotekami flex oraz pcap. Dodanie opcji -lpcap skutkuje. Niestety dodanie opcji -lfl nie.
Przy budowaniu wywala:

cd '/home/jukka/Programowanie/C++/pcap_class1/debug' && CXXFLAGS="-Wall -ggdb -lpcap -lfl" "/home/jukka/Programowanie/C++/pcap_class1/./configure" --enable-debug=full
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name...
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
*** Zakończono w stanie: 77 **
*


Czy ktoś się spotkał z takimi błędami??
Dodaję, że kompilacja:
g++ żrodlo.cpp -o wyjscie -lpcap -lfl
chodzi bez problemu.


Dzieki z gory za fachową pomoc
begin:vcard
fn;quoted-printable:=C5=81ukasz Grzesik
n;quoted-printable:Grzesik;=C5=81ukasz
email;internet:grzesiklukasz@poczta.onet.pl
title:McS
tel;work:+48 (32) 7557575
tel;home:+48 (32) 7393031
tel;cell:+48 503 641498
x-mozilla-html:TRUE
version:2.1
end:vcard


Reply to: