build of cdk/glibc fails version-init.h

The forum for our foreign guests... Please post in English
mas99
Beiträge: 1
Registriert: Sonntag 1. Juli 2007, 15:22

build of cdk/glibc fails version-init.h

Beitrag von mas99 »

Hi,

Im new to this and I'm not familiar with cvs yet

I just downloaded the cvs but building the cdk fails compiling version.c.

/home/mas/tuxbox-cvs/cdk/build_glibc/csu/version-info.h:2: error: missing terminating " character

And indeed there are a couple of lines in the file that are missing terminating quotes.

The notes say report failures on this forum so - consider it reported ;)


Have I inadvertently picked up the wrong files ? It seems strange problem to have - that is I can't imagine how such a trivial error got into the cvs - unless I have a bad/old cvs.

thanks

M
nitr8
Einsteiger
Einsteiger
Beiträge: 102
Registriert: Freitag 29. Dezember 2006, 10:44

Beitrag von nitr8 »

please have a look @ PT1's helpfile,

http://www.pt-1.net/dboxFAQ/DBox2Faq_v2.00.rar

i put a whole section in there that should help you!

under Image Creating -- > Tuxbox Newmake for DUMMIES

Contenets
Build system prerequisites
Creating images with Neutrino on JFFS2 or SquashFS
Set up the necessary directory structure
Download the source from CVS
Update your CVS
Run the autogen
Patch your source
Configure the build
Using locals.sh files
Make JFFS2 filesystem
Make SquashFS filesystem
Cleaning your target
Building Images using local.sh files
flash-version-local.sh (JFFS2 / SquashFS)
root-local.sh (JFFS2 / SquashFS)
neutrino-jffs2.img1x-local.sh (JFFS2 ONLY)
neutrino-jffs2.img2x-local.sh (JFFS2 ONLY)
root-neutrino-jffs2-local.sh (JFFS2 ONLY)
neutrino-squashfs.img1x-local.sh (SquashFS ONLY)
neutrino-squashfs.img2x-local.sh (SquashFS ONLY)
root-neutrino-squashfs-local.sh (SquashFS ONLY)
var-neutrino-local.sh (SquashFS ONLY)
List of currently available options in configure
Optional Features:
Optional Packages:
Cleaning Images
References
--me
doc
Contributor
Beiträge: 1623
Registriert: Donnerstag 10. Januar 2002, 20:03

Beitrag von doc »

What distri do you use?
Na schönen Dank Herr Schwanke!
Ein toller Sommer! :-(
dietmarw
Contributor
Beiträge: 1833
Registriert: Mittwoch 10. April 2002, 15:39

Beitrag von dietmarw »

if (k)ubuntu search for ubuntu in forum
NeilJay
Neugieriger
Neugieriger
Beiträge: 6
Registriert: Dienstag 14. November 2006, 22:16

Re: build of cdk/glibc fails version-init.h

Beitrag von NeilJay »

Yeah, I've just had this error building on Kubuntu 6.1(ish), turns out it was caused by my /bin/sh not pointing to Bash - who knows why ? - im sure i didn't change it.

for linux noobs do this:

to check its pointing to bash:

Code: Alles auswählen

ls -al /bin/sh 
it should look like this:

Code: Alles auswählen

lrwxrwxrwx 1 root root 4 2008-02-10 23:29 /bin/sh -> bash
if its not fix it with this:

Code: Alles auswählen

cd /bin
sudo rm sh
sudo ln -s bash sh