Skip to content

undefined reference to 'main' while compiling via gcc -o OpenFuck.c -lcrypto #4

@BabyDaddyGamer

Description

@BabyDaddyGamer

Getting the following error block when attempting to compile OpenFuck.c using the following command on Kali Linux:

gcc -o OpenFuck.c -lcrypto

/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/Scrt1.o: in function _start': (.text+0x20): undefined reference to main'

Please advise.

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