Re: Debian AMD64 compile problem
От | Joost Kraaijeveld |
---|---|
Тема | Re: Debian AMD64 compile problem |
Дата | |
Msg-id | 1131120725.13868.20.camel@Panoramix обсуждение исходный текст |
Ответ на | Re: Debian AMD64 compile problem ("Dave Page" <dpage@vale-housing.co.uk>) |
Список | pgadmin-support |
On Fri, 2005-11-04 at 15:46 +0000, Dave Page wrote: > Try: > > export CXX=/usr/bin/g++-4.0 OK, works, no more confusion. > > This time it did not link (undefined reference to "ScanKeywordLookup") This one is still there. I noticed that the function is implemented in a C file (keywords.c) and defined in keywords.h as extern const ScanKeyword *ScanKeywordLookup(const char *text); It is used in the C++ file misc.cpp. I suspect that is has something to do with mixing C and C++ and the linkage rules. Do you know by any chance the linkage rules in the C++ standard for extern const functions and if this could play a role? -- Groeten, Joost Kraaijeveld Askesis B.V. Molukkenstraat 14 6524NB Nijmegen tel: 024-3888063 / 06-51855277 fax: 024-3608416 e-mail: J.Kraaijeveld@Askesis.nl web: www.askesis.nl
В списке pgadmin-support по дате отправления: