Menu

#16 Linking error with httpserver.cpp

v2.2
open
nobody
None
5
2006-02-18
2006-02-18
No

Package: aprsd-2.2.5-15.tar.gz
OS: Fedora Core 4
Compiler gcc 4.0.2

httpserver.o(.text+0xe04): In function
`buildPage(std::list<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::allocator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > >&)':
/home/aprs/aprsd-2.2.5-15/src/httpserver.cpp:217:
undefined reference to `convertUpTime(int)'

This error is caused by the convertUpTime is declared
in servers.cpp:3280 as a inline function.

inline string convertUpTime(int dTime)

Removing the 'inline' makes it compile happily.

Discussion


Log in to post a comment.