Skip to content

"Compilation error: Error: 2 UNKNOWN: exit status 1" error #149

Closed
@TheAnton205

Description

@TheAnton205

I recently installed the beta with these:

Windows 10 64-bit
Latest git version (2.30.1) 64-bit

Attempted to run example code 'blink' and ran into this:

c:/users/anton/appdata/local/arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/lib/avr5/crtatmega328p.o:(.init9+0x0): undefined reference to `main'
collect2.exe: error: ld returned 1 exit status
Compilation error: Error: 2 UNKNOWN: exit status 1

Is this due to the fact I have not resolved the issue that popped up before that led to this link? This notification popped up when I first ran the IDE but I don't see it anymore... Is this unrelated?

Activity

TheAnton205

TheAnton205 commented on Mar 1, 2021

@TheAnton205
Author

Wrong format
(duplicate of #151)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    conclusion: duplicateHas already been submittedtopic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @per1234@TheAnton205@rsora

        Issue actions

          "Compilation error: Error: 2 UNKNOWN: exit status 1" error · Issue #149 · arduino/arduino-ide