From: Hinko Kocevar <hinko.kocevar@cetrtapot.si>
To: buildroot@busybox.net
Subject: [Buildroot] ser2net package
Date: Thu, 07 Aug 2008 14:06:31 +0200 [thread overview]
Message-ID: <489AE547.9060204@cetrtapot.si> (raw)
In-Reply-To: <489AE036.3030202@gmail.com>
Leonardo Giordano wrote:
> Well, I have not done so much. I am a newbie on this.
> Basically, I copied the "wget" package dir to write the "ser2net" package. Then
> I just made some renames (wget -> ser2net). My ser2net.mk is attached.
great!
> The when executing make, it says:
>
> dataxfer.c:2007: error: 'B230400' undeclared here (not in a function)
> make[1]: *** [dataxfer.o] Error 1
Yes, I see it too on i386 arch. The missing 'B230400' definition should
probably be in termios.h uClibc header. For i386 there is a comment in
/buildroot/build_i386/staging_dir/usr/include/bits/termios.h saying:
#if 0 /* limited on uClibc, keep in sync w/ cfsetspeed.c */
#define B230400 0010003
#define B460800 0010004
#define B500000 0010005
#define B576000 0010006
#define B921600 0010007
#define B1000000 0010010
#define B1152000 0010011
#define B1500000 0010012
#define B2000000 0010013
#define B2500000 0010014
#define B3000000 0010015
#define B3500000 0010016
#define B4000000 0010017
#define __MAX_BAUD B4000000
#else
#define __MAX_BAUD B115200
#endif
On cris arch this is not the case... the package compiles without a glitch!
I don't have a nice fix for this, but completely removing the 2007 line
in dataxfer.c works for me (at least it compiles all the way through),
but I haven't tested it on real hardware.
HTH,
Hinko
--
?ETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: hinko.kocevar at cetrtapot.si
Http: www.cetrtapot.si
next prev parent reply other threads:[~2008-08-07 12:06 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-06 15:29 [Buildroot] ser2net package Leonardo Giordano
2008-08-06 15:52 ` sjhill at realitydiluted.com
2008-08-06 18:44 ` Leonardo Giordano
2008-08-07 13:23 ` Bernhard Fischer
2008-08-07 7:37 ` Hinko Kocevar
2008-08-07 11:08 ` Leonardo Giordano
2008-08-07 11:18 ` Hinko Kocevar
2008-08-07 11:44 ` Leonardo Giordano
2008-08-07 12:06 ` Hinko Kocevar [this message]
2008-08-07 12:21 ` Leonardo Giordano
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=489AE547.9060204@cetrtapot.si \
--to=hinko.kocevar@cetrtapot.si \
--cc=buildroot@busybox.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.