Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #2983
| From | Markus Elfring <Markus.Elfring@web.de> |
|---|---|
| Newsgroups | comp.programming, comp.unix.programmer |
| Subject | Should the passed command parameters result into the same error messages for a configuration test? |
| Date | 2013-02-09 12:15 +0100 |
| Message-ID | <anmpeoFegq2U1@mid.individual.net> (permalink) |
Cross-posted to 2 groups.
Hello,
I try to generate the Luyten release of a library combination with the software
tool "g++ 4.7.2" on my openSUSE Tumbleweed system.
I wonder about the following results here.
http://gcc.gnu.org/ml/gcc-help/2013-02/msg00032.html
elfring@Sonne:~/Projekte/OpalVoip/OPAL/3.10.9> ./configure --disable-libavcodec
...
checking PTLIB has expat... yes
checking PTLIB has video... no
...
Excerpt from ~/Projekte/OpalVoip/OPAL/3.10.9/config.log:
...
/usr/local/lib64/libpt_s.a(vsdl.o): In function `_GLOBAL__sub_I_vsdl.cxx':
vsdl.cxx:(.text.startup+0x42): undefined reference to
`PPlugin_PVideoInputDevice_Application_link()'
/usr/local/lib64/libpt_s.a(vfakeio.o): In function `_GLOBAL__sub_I_vfakeio.cxx':
vfakeio.cxx:(.text.startup+0x42): undefined reference to
`PPlugin_PVideoInputDevice_Application_link()'
...
elfring@Sonne:~/Projekte/OpalVoip/OPAL/Probe> cat Video1.cpp
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define STDC_HEADERS 1
#define OPAL_MAJOR 3
#define OPAL_MINOR 10
#define OPAL_BUILD 9
#define OPAL_VERSION "3.10.9"
#define OPAL_PLUGIN_DIR "/usr/local/lib64/opal-3.10.9"
#define OPAL_PTLIB_SSL 1
#define OPAL_PTLIB_ASN 1
#define OPAL_PTLIB_EXPAT 1
#include <ptbuildopts.h>
#include <ptlib.h>
#include <ptlib/video.h>
int main(void)
{
PVideoChannel vc;
return 0;
}
elfring@Sonne:~/Projekte/OpalVoip/OPAL/Probe> LANG=C g++ -o Video1 -Wall -Wextra
-Wstrict-aliasing -Wfloat-equal -Wno-comment -Wno-unused -Winit-self
-Wno-missing-field-initializers -Wreorder -felide-constructors -fexceptions
-fPIC -DP_64BIT -DPTRACING=1 -D_REENTRANT -D_GNU_SOURCE=1 -I/usr/local/include
-I/usr/include/SDL -L/usr/local/lib64 -lpt_s -lrt -lsasl2 -lldap -llber -lldap_r
-lssl -lcrypto -lexpat -llua -lSDL -lpthread -lodbc -lresolv -ldl Video1.cpp
/tmp/ccc6uWN0.o: In function `main':
Video1.cpp:(.text+0x17): undefined reference to `PVideoChannel::PVideoChannel()'
Video1.cpp:(.text+0x2b): undefined reference to `PVideoChannel::~PVideoChannel()'
/tmp/ccc6uWN0.o: In function `__static_initialization_and_destruction_0(int, int)':
Video1.cpp:(.text+0x8c): undefined reference to
`PFactoryLoader::PluginLoaderStartup_link()'
Video1.cpp:(.text+0x97): undefined reference to
`PPlugin_PVideoInputDevice_FakeVideo_link()'
Video1.cpp:(.text+0xa2): undefined reference to
`PPlugin_PVideoInputDevice_Application_link()'
Video1.cpp:(.text+0xad): undefined reference to
`PPlugin_PVideoInputDevice_FFMPEG_link()'
Video1.cpp:(.text+0xb8): undefined reference to
`PPlugin_PVideoInputDevice_YUVFile_link()'
Video1.cpp:(.text+0xc3): undefined reference to
`PPlugin_PVideoOutputDevice_SDL_link()'
collect2: error: ld returned 1 exit status
I find it also especially strange that the reduced command parameter set
(deletion of duplicated options and preprocessor symbols) shows differences in
the error messages.
I would appreciate your advices.
Regards,
Markus
Back to comp.programming | Previous | Next — Next in thread | Find similar | Unroll thread
Should the passed command parameters result into the same error messages for a configuration test? Markus Elfring <Markus.Elfring@web.de> - 2013-02-09 12:15 +0100
Re: Should the passed command parameters result into the same error messages for a configuration test? Rainer Weikusat <rweikusat@mssgmbh.com> - 2013-02-10 18:27 +0000
Re: Should the passed command parameters result into the same error messages for a configuration test? Markus Elfring <Markus.Elfring@web.de> - 2013-02-11 09:55 +0100
Re: Should the passed command parameters result into the same error messages for a configuration test? Johann Klammer <klammerj@NOSPAM.a1.net> - 2013-02-11 13:38 +0100
Re: Should the passed command parameters result into the same error messages for a configuration test? Markus Elfring <Markus.Elfring@web.de> - 2013-02-11 18:28 +0100
Re: Should the passed command parameters result into the same error messages for a configuration test? Johann Klammer <klammerj@NOSPAM.a1.net> - 2013-02-11 19:35 +0100
Re: Should the passed command parameters result into the same error messages for a configuration test? Markus Elfring <Markus.Elfring@web.de> - 2013-02-11 20:02 +0100
Re: Should the passed command parameters result into the same error messages for a configuration test? Rainer Weikusat <rweikusat@mssgmbh.com> - 2013-02-13 11:59 +0000
Re: Should the passed command parameters result into the same error messages for a configuration test? Markus Elfring <Markus.Elfring@web.de> - 2013-02-13 20:57 +0100
csiph-web