Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OrangePi r1+ LTS Debian Buster, problem build #85

Open
cadpm opened this issue Jul 28, 2023 · 0 comments
Open

OrangePi r1+ LTS Debian Buster, problem build #85

cadpm opened this issue Jul 28, 2023 · 0 comments

Comments

@cadpm
Copy link

cadpm commented Jul 28, 2023

root@comunica4025:~/wiringOP# sudo ./build
wiringPi Build script

WiringPi Library
[UnInstall]
[Compile] wiringPi.c
[Compile] wiringSerial.c
[Compile] wiringShift.c
[Compile] piHiPri.c
[Compile] piThread.c
[Compile] wiringPiSPI.c
[Compile] wiringPiI2C.c
[Compile] softPwm.c
[Compile] softTone.c
[Compile] mcp23008.c
[Compile] mcp23016.c
[Compile] mcp23017.c
[Compile] mcp23s08.c
[Compile] mcp23s17.c
[Compile] sr595.c
[Compile] pcf8574.c
[Compile] pcf8591.c
[Compile] mcp3002.c
[Compile] mcp3004.c
[Compile] mcp4802.c
[Compile] mcp3422.c
[Compile] max31855.c
[Compile] max5322.c
[Compile] ads1115.c
[Compile] sn3218.c
[Compile] bmp180.c
[Compile] htu21d.c
[Compile] ds18b20.c
[Compile] rht03.c
[Compile] drcSerial.c
[Compile] drcNet.c
[Compile] pseudoPins.c
[Compile] wpiExtensions.c
pseudoPins.c: In function ‘myAnalogRead’:
pseudoPins.c:50:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
int *ptr = (int *)node->data0 ;
^
pseudoPins.c: In function ‘myAnalogWrite’:
pseudoPins.c:59:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
int *ptr = (int *)node->data0 ;
^
pseudoPins.c: In function ‘pseudoPinsSetup’:
pseudoPins.c:89:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
node->data0 = (unsigned int)ptr ;
^
[Compile] w25q64.c
[Compile] oled.c
[Compile] OrangePi.c
OrangePi.c: In function ‘readR’:
OrangePi.c:1645:7: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
else ;
^
OrangePi.c: In function ‘writeR’:
OrangePi.c:1704:7: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
else ;
^
OrangePi.c: In function ‘OrangePi_get_gpio_mode’:
OrangePi.c:1916:6: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
else;
^
OrangePi.c: In function ‘OrangePi_set_gpio_mode’:
OrangePi.c:2052:6: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
else;
^
OrangePi.c: In function ‘OrangePi_set_gpio_pullUpDnControl’:
OrangePi.c:2261:26: error: ‘GPIOL_BASE’ undeclared (first use in this function); did you mean ‘GPIO3_BASE’?
phyaddr = pullOffset + GPIOL_BASE + ((index >> 4) << 2);
^~~~~~~~~~
GPIO3_BASE
OrangePi.c:2261:26: note: each undeclared identifier is reported only once for each function it appears in
OrangePi.c:2264:26: error: ‘GPIO_BASE_MAP’ undeclared (first use in this function); did you mean ‘GPIO_BASE’?
phyaddr = pullOffset + GPIO_BASE_MAP + (bank * 36) + ((index >> 4) << 2);
^~~~~~~~~~~~~
GPIO_BASE
OrangePi.c: In function ‘OrangePi_digitalWrite’:
OrangePi.c:2423:8: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
else;
^
OrangePi.c: In function ‘OrangePi_digitalRead’:
OrangePi.c:2522:7: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
else;
^
make: *** [Makefile:158: OrangePi.o] Error 1
make: *** Waiting for unfinished jobs....

@cadpm cadpm changed the title OrangePi r1+ LTS Debia Buster OrangePi r1+ LTS Debian Buster, problem build Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant