Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Ubuntu 12.04 default linker fails to produce HOPS executable #2

Open
GoogleCodeExporter opened this issue Feb 17, 2016 · 0 comments
Open

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Use Ubuntu 12.04
2. Try to 'make' the project

What is the expected output? What do you see instead?
'make' should terminate without errors but insted we get a Linker error 
(undefined references)

What version of the product are you using? On what operating system?
Hops 1.0.0 (rev 2, 4 January)
Ubuntu 12.04

Please provide any additional information below.
The new linker does not work putting -l libraries before source code at the g++ 
command line

To avoid this:
a) Put libraries after source code
b) check for binutils-gold (this linker works wether -l libraries are before or 
after)

credit goes to: 
http://stackoverflow.com/questions/335928/ld-cannot-find-an-existing-library

Original issue reported on code.google.com by joaquinc...@gmail.com on 5 Jul 2012 at 1:30

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant