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

clang error. #16

Open
mrodfuentes opened this issue Mar 4, 2015 · 0 comments
Open

clang error. #16

mrodfuentes opened this issue Mar 4, 2015 · 0 comments

Comments

@mrodfuentes
Copy link

Hi, I have tried to build the distribuition using maven. This is the trace shown when I run "mvn clean install"

"/usr/bin/ld" --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o /home/adminuser/tools/libkafka-master/lib/target/libkafka.so /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crt1.o /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crti.o /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/crtbegin.o -L/opt/local/lib -L/usr/bin/../lib/gcc/x86_64-linux-gnu/4.9 -L/usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu -L/lib/x86_64-linux-gnu -L/lib/../lib64 -L/usr/lib/x86_64-linux-gnu -L/usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../.. -L/usr/lib/llvm-3.5/bin/../lib -L/lib -L/usr/lib -lstdc++ -lz -lsnappy -lgtest target/objs/Connection.o target/objs/Response.o target/objs/Util.o target/objs/Client.o target/objs/MessageSet.o target/objs/Message.o target/objs/Request.o target/objs/Packet.o target/objs/ApiConstants.o target/objs/RequestOrResponse.o target/objs/Broker.o target/objs/MetadataRequest.o target/objs/MetadataResponse.o target/objs/PartitionMetadata.o target/objs/TopicMetadata.o target/objs/ProduceResponsePartition.o target/objs/ProduceRequest.o target/objs/ProduceResponse.o target/objs/ProduceMessageSet.o target/objs/FetchResponse.o target/objs/FetchRequest.o target/objs/FetchResponsePartition.o target/objs/FetchPartition.o target/objs/OffsetResponsePartition.o target/objs/OffsetPartition.o target/objs/OffsetResponse.o target/objs/OffsetRequest.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/crtend.o /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crtn.o
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crt1.o: In function _start': /build/buildd/glibc-2.19/csu/../sysdeps/x86_64/start.S:118: undefined reference tomain'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] libkafka-all ....................................... SUCCESS [ 0.444 s]
[INFO] libkafka ........................................... FAILURE [ 10.557 s]
[INFO] libkafka-test ...................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.950 s
[INFO] Finished at: 2015-03-04T13:44:38+01:00
[INFO] Final Memory: 9M/60M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:native-maven-plugin:1.0-alpha-7:link (default-link) on project libkafka: Error executing command line. Exit code:1 -> [Help 1]
[ERROR]

Thanks

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

1 participant