Skip to contentSkip to conversation

Errors building mkisofs

Buildroot New Chris Packham 1 participant 2 messages Dec 11, 2009

lore
Share & tools
lore
#0 lore raw

Hi List,

I've been seeing errors building mkisofs which in turn causes issues generating an iso9660root file system image

../include/schily.h:111: error: conflicting types for ?fexecve? /usr/include/unistd.h:552: note: previous declaration of ?fexecve? was here
../include/schily.h:190: error: conflicting types for ?getline? /usr/include/stdio.h:653: note: previous declaration of ?getline? was here

Not too surprising the definition for these functions does seem to differ. Has anyone been having the same problem?

It looks like these error are fixed upstream which according to [1] is heading for a release. I've got a patch which pulls in the 01a69 release candidate and does fix my problem. I'll post my patch as a reply to this message (assuming I can figure out how to do that with git). It might be worth holding off pushing this to the main buildroot repository until the official cdrtools release is made but I don't know when that is going to be. If anyone else is having the same problem my patch might help

[1] ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01.01a69

#1 lore raw

PATCH 1/1 iso9660: bump cdrtools to newer version

This change picks up the current release candidate for cdrtools which fixes numerous problems including some preventing compilation.
---

One thing I was wondering is the impact of HOST_ARCH changing from i386 to i686? It hasn't caused me any issues but there may be gremlins lurking.

 package/Makefile.in       |    2 +-
 target/iso9660/iso9660.mk |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
package/Makefile.in +1 -1
index 7c009bb..2f49041 100644
@@ -189,7 +189,7 @@ HOST_ARCH:=$(shell $(HOSTCC) -dumpmachine | sed -e s'/-.*//' \
 	-e 's/mips-.*/mips/' \
 	-e 's/mipsel-.*/mipsel/' \
 	-e 's/cris.*/cris/' \
-	-e 's/i[3-9]86/i386/' \
+	-e 's/i[3-9]86/i686/' \
 	-e 's/xtensa.*/xtensa/' \
 	)
 GNU_HOST_NAME:=$(HOST_ARCH)-$(call qstrip,$(BR2_GNU_BUILD_SUFFIX))
target/iso9660/iso9660.mk +3 -3
index 94edf63..0210176 100644
@@ -3,10 +3,10 @@
 # mkisofs to build to target iso9660 filesystems
 #
 #############################################################
-MKISOFS_SOURCE:=cdrtools-2.01.tar.bz2
+MKISOFS_SOURCE:=cdrtools-2.01.01a69.tar.bz2
 MKISOFS_CAT:=$(BZCAT)
-MKISOFS_SITE:=ftp://ftp.berlios.de/pub/cdrecord/
-MKISOFS_DIR:=$(BUILD_DIR)/cdrtools-2.01
+MKISOFS_SITE:=ftp://ftp.berlios.de/pub/cdrecord/alpha
+MKISOFS_DIR:=$(BUILD_DIR)/cdrtools-2.01.01
 MKISOFS_TARGET=$(MKISOFS_DIR)/mkisofs/OBJ/$(HOST_ARCH)-linux-cc/mkisofs
 
 $(DL_DIR)/$(MKISOFS_SOURCE):
Signature · 1 line
1.6.4.2