Error using SoftwareSerial.h and Wire.h library

Hi people,

I have one problem when I mixed this library, always comes de error message:

exit status 1 error compiling for board arduino/genuino uno

I made some test and I almost certain that the error occurs between SoftwareSerial and Wire library but I don't know how to solve it, any idea?

ps.: the same error occurs when I only compile and not only when i try to put the code intro de arduino

#include <SoftwareSerial.h>
#include <TinyGPS.h>
#include <Wire.h>                          //Include the Wire.h library so we can communicate with the gyro.
#include <EEPROM.h>                        
TinyGPS gps1;
SoftwareSerial serial1(0, 1); // RX, TX

void setup() {
   serial1.begin(9600);
}




void loop(){
     bool recebido = false;
     char cIn = serial1.read();
     recebido = gps1.encode(cIn);
}

exit status 1 error compiling for board arduino/genuino uno

Please post the entire error message.

SoftwareSerial serial1(0, 1); // RX, TX

Why are you using the hardware serial pins for software serial?

That code compiles for me with IDE 1.8.0, Win10, Uno.

You may want to ask a moderator to move this post to Programming Questions as it is probably not an installation issue.