Skip to content

warning make p1b - install failed #3

@danyboy666

Description

@danyboy666

The bcm libs havew compiles with no errors but I can't make the PiPROM binary.

hardware : rPi version 1 B
Distro : Raspian Linux raspberrypi 4.14.79+ #1159 Sun Nov 4 17:28:08 GMT 2018 armv6l GNU/Linux

pi@raspberrypi:~/PiPROM/PiPROM $ make p1b gcc -c -o obj/XboxI2C.o XboxI2C.c -I../include -DRASPI_BPLUS gcc -c -o obj/PiPROM.o PiPROM.c -I../include -DRASPI_BPLUS PiPROM.c: In function ‘FindCommendLineArg’: PiPROM.c:54:7: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration] if (strcmp(argv[i], psArgument) == 0) ^~~~~~ PiPROM.c: In function ‘main’: PiPROM.c:117:14: warning: implicit declaration of function ‘strtol’ [-Wimplicit-function-declaration] address = strtol(psAddress, NULL, 16); ^~~~~~ PiPROM.c:228:3: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration] memset(pbEEPROM, 0, XBOX_EEPROM_SIZE); ^~~~~~ PiPROM.c:228:3: warning: incompatible implicit declaration of built-in function ‘memset’ PiPROM.c:228:3: note: include ‘<string.h>’ or provide a declaration of ‘memset’ gcc -o PiPROM.a obj/XboxI2C.o obj/PiPROM.o -I../include -DRASPI_BPLUS -lbcm2835

The EEPROM is detected

pi@raspberrypi:~ $ sudo i2cdetect -y 1 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- 08 -- -- -- -- -- -- -- 10: 10 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- 54 -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: 70 -- -- -- -- -- -- --

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