From: maximilian attems <max@stro.at>
To: dash@vger.kernel.org, klibc@zytor.com
Subject: dash klibc DEBUG more compile trouble
Date: Fri, 9 Jul 2010 16:43:30 +0200 [thread overview]
Message-ID: <20100709144330.GA23188@stro.at> (raw)
once taken that stat/stat64 appart, histedit appears to be a minefield:
usr/dash/histedit.c:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
usr/dash/histedit.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
usr/dash/histedit.c: In function ‘histedit’:
usr/dash/histedit.c:82: error: ‘hist’ undeclared (first use in this function)
usr/dash/histedit.c:82: error: (Each undeclared identifier is reported only once
usr/dash/histedit.c:82: error: for each function it appears in.)
usr/dash/histedit.c:87: warning: implicit declaration of function ‘history_init’
usr/dash/histedit.c:95: error: ‘el’ undeclared (first use in this function)
usr/dash/histedit.c:111: warning: implicit declaration of function ‘el_init’
usr/dash/histedit.c:114: warning: implicit declaration of function ‘el_set’
usr/dash/histedit.c:114: error: ‘EL_HIST’ undeclared (first use in this function)
usr/dash/histedit.c:114: error: ‘history’ undeclared (first use in this function)
usr/dash/histedit.c:115: error: ‘EL_PROMPT’ undeclared (first use in this function)
usr/dash/histedit.c:123: warning: implicit declaration of function ‘el_end’
usr/dash/histedit.c:129: error: ‘EL_EDITOR’ undeclared (first use in this function)
usr/dash/histedit.c:132: warning: implicit declaration of function ‘el_source’
usr/dash/histedit.c:141: warning: implicit declaration of function ‘history_end’
usr/dash/histedit.c: In function ‘sethistsize’:
usr/dash/histedit.c:153: error: ‘HistEvent’ undeclared (first use in this function)
usr/dash/histedit.c:153: error: expected ‘;’ before ‘he’
usr/dash/histedit.c:155: error: ‘hist’ undeclared (first use in this function)
usr/dash/histedit.c:159: warning: implicit declaration of function ‘history’
usr/dash/histedit.c:159: error: ‘he’ undeclared (first use in this function)
usr/dash/histedit.c:159: error: ‘H_SETSIZE’ undeclared (first use in this function)
usr/dash/histedit.c: In function ‘setterm’:
usr/dash/histedit.c:166: error: ‘el’ undeclared (first use in this function)
usr/dash/histedit.c:167: error: ‘EL_TERMINAL’ undeclared (first use in this function)
usr/dash/histedit.c: In function ‘histcmd’:
usr/dash/histedit.c:182: error: ‘HistEvent’ undeclared (first use in this function)
usr/dash/histedit.c:182: error: expected ‘;’ before ‘he’
usr/dash/histedit.c:191: error: ‘MAXPATHLEN’ undeclared (first use in this function)
usr/dash/histedit.c:209: error: ‘hist’ undeclared (first use in this function)
usr/dash/histedit.c:218: error: ‘optreset’ undeclared (first use in this function)
usr/dash/histedit.c:332: error: ‘H_PREV’ undeclared (first use in this function)
usr/dash/histedit.c:332: error: ‘H_NEXT’ undeclared (first use in this function)
usr/dash/histedit.c:341: warning: implicit declaration of function ‘mkstemp’
usr/dash/histedit.c:357: error: ‘he’ undeclared (first use in this function)
usr/dash/histedit.c:357: error: ‘H_FIRST’ undeclared (first use in this function)
usr/dash/histedit.c:358: error: ‘H_NEXT_EVENT’ undeclared (first use in this function)
usr/dash/histedit.c:380: error: ‘H_ENTER’ undeclared (first use in this function)
usr/dash/histedit.c:191: warning: unused variable ‘editfile’
usr/dash/histedit.c: In function ‘str_to_event’:
usr/dash/histedit.c:447: error: ‘HistEvent’ undeclared (first use in this function)
usr/dash/histedit.c:447: error: expected ‘;’ before ‘he’
usr/dash/histedit.c:452: error: ‘hist’ undeclared (first use in this function)
usr/dash/histedit.c:452: error: ‘he’ undeclared (first use in this function)
usr/dash/histedit.c:452: error: ‘H_FIRST’ undeclared (first use in this function)
usr/dash/histedit.c:464: error: ‘H_NEXT’ undeclared (first use in this function)
usr/dash/histedit.c:467: error: ‘H_LAST’ undeclared (first use in this function)
usr/dash/histedit.c:469: error: ‘H_NEXT_EVENT’ undeclared (first use in this function)
usr/dash/histedit.c:486: error: ‘H_PREV_STR’ undeclared (first use in this function)
make[2]: *** [usr/dash/histedit.o] Error 1
make[1]: *** [all] Error 2
make: *** [klibc] Error 2
this happens on top of the 2 patches sent earlier and is easy to
reproduce:
git clone git://git.kernel.org/pub/scm/libs/klibc/klibc.git
make KLIBCKERNELSRC=`pwd`/../linux-2.6 EXTRA_KLIBCCFLAGS="-DDEBUG=1"
next reply other threads:[~2010-07-09 16:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-09 14:43 maximilian attems [this message]
2010-07-10 22:15 ` dash klibc DEBUG more compile trouble Herbert Xu
2010-09-08 16:20 ` maximilian attems
2010-09-08 19:09 ` Sam Ravnborg
2010-09-09 7:45 ` maximilian attems
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100709144330.GA23188@stro.at \
--to=max@stro.at \
--cc=dash@vger.kernel.org \
--cc=klibc@zytor.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox