[Boost-bugs] [Boost C++ Libraries] #6588: boost::wave list_includes sample will not link with cpplexer

Subject: [Boost-bugs] [Boost C++ Libraries] #6588: boost::wave list_includes sample will not link with cpplexer
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-02-21 20:23:12


#6588: boost::wave list_includes sample will not link with cpplexer
--------------------------------------------------+-------------------------
 Reporter: Joe Kerian <jkerian+boost@…> | Owner: hkaiser
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: wave
  Version: Boost 1.48.0 | Severity: Problem
 Keywords: |
--------------------------------------------------+-------------------------
 After working around a jamfile problem where none of the wave samples will
 build(ticket will be posted shortly after this), list_includes (among
 others) still refuses to link.

 This is with VS10 on WindowsXP, Boost 1.48.0 having been built succesfully
 with --build-type=complete, but not installed.

 I apologize for the nasty formatting, but the Command Prompt just isn't
 very helpful.
 {{{
 C:\boost_1_48_0>b2.exe libs\wave\samples -q
 ...patience...
 ...patience...
 ...patience...
 ...found 2677 targets...
 ...updating 7 targets...
 msvc.link bin.v2\libs\wave\samples\list_includes\build\msvc-10.0\debug
 \asynch-exceptions-on\link-static\threading-multi\list_includes.exe
    Creating library
 bin.v2\libs\wave\samples\list_includes\build\msvc-10.0\debug\asynch-
 exceptions-o
 n\link-static\threading-multi\list_includes.lib and object
 bin.v2\libs\wave\samples\list_includes\bu
 ild\msvc-10.0\debug\asynch-exceptions-on\link-static\threading-
 multi\list_includes.exp
 list_includes.obj : error LNK2019: unresolved external symbol "public:
 static struct boost::wave::cp
 plexer::lex_input_interface<class boost::wave::cpplexer::lex_token<struct
 boost::wave::util::file_po
 sition<class boost::wave::util::flex_string<char,struct
 std::char_traits<char>,class std::allocator<
 char>,class boost::wave::util::CowString<class
 boost::wave::util::AllocatorStringStorage<char,class
 std::allocator<char> >,char *> > > > > * __cdecl
 boost::wave::cpplexer::lexertl::new_lexer_gen<class
  std::_String_iterator<char,struct std::char_traits<char>,class
 std::allocator<char> >,struct boost:
 :wave::util::file_position<class
 boost::wave::util::flex_string<char,struct std::char_traits<char>,c
 lass std::allocator<char>,class boost::wave::util::CowString<class
 boost::wave::util::AllocatorStrin
 gStorage<char,class std::allocator<char> >,char *> > > >::new_lexer(class
 std::_String_iterator<char
 ,struct std::char_traits<char>,class std::allocator<char> > const &,class
 std::_String_iterator<char
 ,struct std::char_traits<char>,class std::allocator<char> > const &,struct
 boost::wave::util::file_p
 osition<class boost::wave::util::flex_string<char,struct
 std::char_traits<char>,class std::allocator
 <char>,class boost::wave::util::CowString<class
 boost::wave::util::AllocatorStringStorage<char,class
  std::allocator<char> >,char *> > > const &,enum
 boost::wave::language_support)" (?new_lexer@?$new_l
 exer_gen_at_V?$_String_iterator_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@U?$file_position_at_V?$flex_
 string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2_at_V?$CowString_at_V?$AllocatorStringStorage_at_DV?$allocator@
 D_at_std@@@util_at_wave@boost@@PAD_at_util@wave_at_boost@@@util_at_wave@boost@@@util_at_wave@boost@@@lexertl_at_cpplexer@
 wave_at_boost@@SAPAU?$lex_input_interface_at_V?$lex_token_at_U?$file_position_at_V?$flex_string_at_DU?$char_traits@
 D_at_std@@V?$allocator_at_D@2_at_V?$CowString_at_V?$AllocatorStringStorage_at_DV?$allocator_at_D@std@@@util_at_wave@boost
 @@PAD_at_util@wave_at_boost@@@util_at_wave@boost@@@util_at_wave@boost@@@cpplexer_at_wave@boost@@@345_at_ABV?$_String_i
 terator_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@0ABU?$file_position_at_V?$flex_string_at_DU?$char_tr
 aits_at_D@std@@V?$allocator_at_D@2_at_V?$CowString_at_V?$AllocatorStringStorage_at_DV?$allocator_at_D@std@@@util_at_wave@
 boost@@PAD_at_util@wave_at_boost@@@util_at_wave@boost@@@util_at_45@W4language_support_at_45@@Z)
 referenced in funct
 ion "public: static struct
 boost::wave::cpplexer::lex_input_interface<class boost::wave::cpplexer::l
 ex_token<struct boost::wave::util::file_position<class
 boost::wave::util::flex_string<char,struct st
 d::char_traits<char>,class std::allocator<char>,class
 boost::wave::util::CowString<class boost::wave
 ::util::AllocatorStringStorage<char,class std::allocator<char> >,char *> >
> > > * __cdecl boost::wa
 ve::cpplexer::lexertl::lexertl_input_interface<class
 boost::wave::cpplexer::lex_token<struct boost::
 wave::util::file_position<class boost::wave::util::flex_string<char,struct
 std::char_traits<char>,cl
 ass std::allocator<char>,class boost::wave::util::CowString<class
 boost::wave::util::AllocatorString
 Storage<char,class std::allocator<char> >,char *> > > > >::new_lexer<class
 std::_String_iterator<cha
 r,struct std::char_traits<char>,class std::allocator<char> > >(class
 std::_String_iterator<char,stru
 ct std::char_traits<char>,class std::allocator<char> > const &,class
 std::_String_iterator<char,stru
 ct std::char_traits<char>,class std::allocator<char> > const &,struct
 boost::wave::util::file_positi
 on<class boost::wave::util::flex_string<char,struct
 std::char_traits<char>,class std::allocator<char
>,class boost::wave::util::CowString<class
 boost::wave::util::AllocatorStringStorage<char,class std:
 :allocator<char> >,char *> > > const &,enum
 boost::wave::language_support)" (??$new_lexer_at_V?$_String
 _iterator_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@@?$lexertl_input_interface_at_V?$lex_token_at_U?$f
 ile_position_at_V?$flex_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2_at_V?$CowString_at_V?$AllocatorStringS
 torage_at_DV?$allocator_at_D@std@@@util_at_wave@boost@@PAD_at_util@wave_at_boost@@@util_at_wave@boost@@@util_at_wave@boos
 t@@@cpplexer_at_wave@boost@@@lexertl_at_cpplexer@wave_at_boost@@SAPAU?$lex_input_interface_at_V?$lex_token_at_U?$fi
 le_position_at_V?$flex_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2_at_V?$CowString_at_V?$AllocatorStringSt
 orage_at_DV?$allocator_at_D@std@@@util_at_wave@boost@@PAD_at_util@wave_at_boost@@@util_at_wave@boost@@@util_at_wave@boost
 @@@cpplexer_at_wave@boost@@@234_at_ABV?$_String_iterator_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@0AB
 U?$file_position_at_V?$flex_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2_at_V?$CowString_at_V?$AllocatorStr
 ingStorage_at_DV?$allocator_at_D@std@@@util_at_wave@boost@@PAD_at_util@wave_at_boost@@@util_at_wave@boost@@@util_at_34@W4
 language_support_at_34@@Z)
 bin.v2\libs\wave\samples\list_includes\build\msvc-10.0\debug\asynch-
 exceptions-on\link-static\thread
 ing-multi\list_includes.exe : fatal error LNK1120: 1 unresolved externals

         call "c:\Program Files\Microsoft Visual Studio
 10.0\VC\vcvarsall.bat" x86 >nul
 link /NOLOGO /INCREMENTAL:NO /DEBUG /MACHINE:X86 /subsystem:console
 /out:"bin.v2\libs\wave\samples\l
 ist_includes\build\msvc-10.0\debug\asynch-exceptions-on\link-static
 \threading-multi\list_includes.ex
 e" @"bin.v2\libs\wave\samples\list_includes\build\msvc-10.0\debug
 \asynch-exceptions-on\link-static
 \threading-multi\list_includes.exe.rsp"
         if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%

 ...failed msvc.link
 bin.v2\libs\wave\samples\list_includes\build\msvc-10.0\debug\asynch-
 exceptions-o
 n\link-static\threading-multi\list_includes.exe
 bin.v2\libs\wave\samples\list_includes\build\msvc-10
 .0\debug\asynch-exceptions-on\link-static\threading-
 multi\list_includes.pdb...
 ...removing bin.v2\libs\wave\samples\list_includes\build\msvc-10.0\debug
 \asynch-exceptions-on\link-s
 tatic\threading-multi\list_includes.pdb
 ...failed updating 1 target...

 C:\boost_1_48_0>
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6588>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC