Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linker errors #9

Closed
matthijs opened this issue Aug 11, 2014 · 3 comments
Closed

Linker errors #9

matthijs opened this issue Aug 11, 2014 · 3 comments

Comments

@matthijs
Copy link
Contributor

Hello Roland,

At the moment I get errors like these when linking the program:

main.o:/home/matthijs/sometest/../sqlpp11/include/sqlpp11/verbatim_table.h:86: first defined here
rss/rss.os: In function `insert':
/home/matthijs/sometest/../sqlpp11/include/sqlpp11/insert.h:99: multiple definition of `sqlpp::insert()'
main.o:/home/matthijs/sometest/../sqlpp11/include/sqlpp11/insert.h:99: first defined here
rss/rss.os: In function `remove':
/home/matthijs/sometest/../sqlpp11/include/sqlpp11/remove.h:103: multiple definition of `sqlpp::remove()'
main.o:/home/matthijs/sometest/../sqlpp11/include/sqlpp11/remove.h:103: first defined here
rss/rss.os: In function `select':
/home/matthijs/sometest/../sqlpp11/include/sqlpp11/select.h:83: multiple definition of `sqlpp::select()'
main.o:/home/matthijs/sometest/../sqlpp11/include/sqlpp11/select.h:83: first defined here
clang: error: linker command failed with exit code 1 (use -v to see invocation)
scons: *** [main] Error 1

Probably these functions need to be inlined.

Regards, Matthijs

@rbock
Copy link
Owner

rbock commented Aug 11, 2014

Hi Matthijs,

Right, I just stumbled over those today myself (along with a few other
small things) when porting one of our applications to the current
sqlpp11 version.

I pushed a bunch of commits to develop.

Cheers,

Roland

@rbock
Copy link
Owner

rbock commented Aug 12, 2014

Just pushed a release containing the fixes.

@rbock
Copy link
Owner

rbock commented Aug 24, 2014

If the problem should persist, please let me know. But at least for the cases I've seen, the current release works fine

@rbock rbock closed this as completed Aug 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants