[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] avrdude compile fails due to missing HAVE_STDINT_H using f
From: |
lazobo |
Subject: |
[avrdude-dev] avrdude compile fails due to missing HAVE_STDINT_H using fink / patch #8436 |
Date: |
Sun, 18 Jan 2015 03:17:26 +0100 |
Hello,
With a fresh and clean fink on Mac OS X Lion, sudo fink install avrdude fetches
avrdude-6.1-1 and fails to build:
gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/sw/etc\" -I/sw/include -Wall -g -O2
-MT libavrdude_a-flip1.o -MD -MP -MF .deps/libavrdude_a-flip1.Tpo -c -o
libavrdude_a-flip1.o `test -f 'flip1.c' || echo './'`flip1.c
flip1.c:171:33: error: unknown type name 'uint32_t'
enum flip1_mem_unit mem_unit, uint32_t addr, void *ptr, int size);
^
flip1.c:173:33: error: unknown type name 'uint32_t'
enum flip1_mem_unit mem_unit, uint32_t addr, const void *ptr, int size);
^
flip1.c:617:33: error: unknown type name 'uint32_t'
enum flip1_mem_unit mem_unit, uint32_t addr, void *ptr, int size)
^
flip1.c:704:33: error: unknown type name 'uint32_t'
enum flip1_mem_unit mem_unit, uint32_t addr, const void *ptr, int size)
^
4 errors generated.
make[2]: *** [libavrdude_a-flip1.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of make failed, exit code 2
### execution of /tmp/fink.B4OGY failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-avrdude-6.1-1
(Reading database ... 85195 files and directories currently installed.)
Removing fink-buildlock-avrdude-6.1-1 ...
Failed: phase compiling: avrdude-6.1-1 failed
Applying http://savannah.nongnu.org/patch/?8436 from April 2014 fixes the issue…
As of v6.1I do not see HAVE_STDINT_H in libavrdude.h as opposed to Joerg
Wunsch's answer from seven months later.
System information:
Package manager version: 0.38.3
Distribution version: selfupdate-rsync Sat Jan 17 10:58:44 2015, 10.7, x86_64
Trees: local/main stable/main
Xcode.app: 4.6.3
Xcode command-line tools: 4.6.0.0.1.1365549073
avrdude-6.1-1 is set to build with only one job.
Thanks&Regards
Peter
- [avrdude-dev] avrdude compile fails due to missing HAVE_STDINT_H using fink / patch #8436,
lazobo <=