Skip to content

Build failed on Ubuntu 18.04 #5

@c0g4ih4l4n

Description

@c0g4ih4l4n
gcc -o jwtcrack main.o base64.o -lssl -lcrypto -lpthread
/usr/bin/ld: base64.o: relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
Makefile:16: recipe for target 'jwtcrack' failed
make: *** [jwtcrack] Error 1

I have this error when build with Ubuntu 18.04, please help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions