* [devel] iplog - rebuild
@ 2004-01-22 4:47 Victor V Ismakaev
2004-02-16 19:32 ` Dmitry V. Levin
0 siblings, 1 reply; 5+ messages in thread
From: Victor V Ismakaev @ 2004-01-22 4:47 UTC (permalink / raw)
To: devel
Приветсвую!
Наткнулся вот на проблему при пересборке iplog в hasher:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -Wall -O2 -march=i586 -mcpu=i686
-D_REENTRANT -c iplog_options.c
iplog_options.c:443:19: missing terminating " character
iplog_options.c: In function `print_help':
iplog_options.c:444: error: wrong type argument to decrement
iplog_options.c:444: error: syntax error before "user"
iplog_options.c:478:59: missing terminating ' character
iplog_options.c:478:59: warning: character constant too long for its type
iplog_options.c:493:65: missing terminating " character
make[3]: *** [iplog_options.o] Error 1
Фрагмент кода,на котором компиляция обламывается:
/*
** Print all command-line options to the screen.
*/
static void print_help(void) {
mysyslog(
"Usage: " PACKAGE " [options] (\"*\" Denotes enabled by default)
/*^^^^^^^ это как раз строка 443 */
--user or -u <user|UID> Run as specified the user or UID.
--group or -g <group|GID> Run with specified the group or GID.
--logfile or -l <file> Log to <file>.
--pid-file <file> Use <file> as the pid file.
--ignore or -d Ignore DNS traffic from nameservers listed in
/etc/resolv.conf.
Причем в локальном окружении собирается нормально.
У меня сложилось впечатление,что чего не хватает в BuildRequires, но вот чего
- не пойму. buildreq находит только libpcap-devel . дополнительно прописал
еще libpopt-devel, getopt - не помогло.
Причем в локальном окружении собирается нормально.
Может кто прокомментировать или дать рекомендации к исправлению ?
--
С уважением
Виктор В Исмакаев
ivv@altlinux.ru
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [devel] iplog - rebuild
2004-01-22 4:47 [devel] iplog - rebuild Victor V Ismakaev
@ 2004-02-16 19:32 ` Dmitry V. Levin
2004-02-17 0:41 ` Victor V Ismakaev
0 siblings, 1 reply; 5+ messages in thread
From: Dmitry V. Levin @ 2004-02-16 19:32 UTC (permalink / raw)
To: ALT Devel discussion list
[-- Attachment #1: Type: text/plain, Size: 908 bytes --]
On Thu, Jan 22, 2004 at 09:47:09AM +0500, Victor V Ismakaev wrote:
> Приветсвую!
> Наткнулся вот на проблему при пересборке iplog в hasher:
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -Wall -O2 -march=i586 -mcpu=i686
> -D_REENTRANT -c iplog_options.c
> iplog_options.c:443:19: missing terminating " character
> iplog_options.c: In function `print_help':
> iplog_options.c:444: error: wrong type argument to decrement
> iplog_options.c:444: error: syntax error before "user"
> iplog_options.c:478:59: missing terminating ' character
> iplog_options.c:478:59: warning: character constant too long for its type
> iplog_options.c:493:65: missing terminating " character
Типовая ошибка, всплывающая при переходе с gcc3.2 на gcc3.3, заключающаяся
в недопустимой (теперь) устаревшей форме записи длинных строк.
Посмотрите mp3info-0.8.4-deb-fixes.patch на предмет того, как это можно
просто исправить.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [devel] iplog - rebuild
2004-02-16 19:32 ` Dmitry V. Levin
@ 2004-02-17 0:41 ` Victor V Ismakaev
2004-02-17 10:21 ` Dmitry V. Levin
0 siblings, 1 reply; 5+ messages in thread
From: Victor V Ismakaev @ 2004-02-17 0:41 UTC (permalink / raw)
To: devel
Вторник 17 Февраль 2004 00:32, Dmitry V. Levin написал:
> On Thu, Jan 22, 2004 at 09:47:09AM +0500, Victor V Ismakaev wrote:
> > Приветсвую!
> > Наткнулся вот на проблему при пересборке iplog в hasher:
> > gcc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -Wall -O2 -march=i586
> > -mcpu=i686 -D_REENTRANT -c iplog_options.c
> > iplog_options.c:443:19: missing terminating " character
> > iplog_options.c: In function `print_help':
> > iplog_options.c:444: error: wrong type argument to decrement
> > iplog_options.c:444: error: syntax error before "user"
> > iplog_options.c:478:59: missing terminating ' character
> > iplog_options.c:478:59: warning: character constant too long for its type
> > iplog_options.c:493:65: missing terminating " character
>
> Типовая ошибка, всплывающая при переходе с gcc3.2 на gcc3.3, заключающаяся
> в недопустимой (теперь) устаревшей форме записи длинных строк.
Понятно. В принципе, я это обошел "закавычиванием" всех строк.
> Посмотрите mp3info-0.8.4-deb-fixes.patch на предмет того, как это можно
> просто исправить.
То есть правильно будет добавлять в конец строки "\n\" ?
--
С уважением
Виктор В Исмакаев
ivv@altlinux.ru
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [devel] iplog - rebuild
2004-02-17 10:21 ` Dmitry V. Levin
@ 2004-02-17 6:57 ` Victor V Ismakaev
0 siblings, 0 replies; 5+ messages in thread
From: Victor V Ismakaev @ 2004-02-17 6:57 UTC (permalink / raw)
To: devel
Вторник 17 Февраль 2004 15:21, Dmitry V. Levin написал:
> On Tue, Feb 17, 2004 at 05:41:14AM +0500, Victor V Ismakaev wrote:
> > Вторник 17 Февраль 2004 00:32, Dmitry V. Levin написал:
> > > On Thu, Jan 22, 2004 at 09:47:09AM +0500, Victor V Ismakaev wrote:
> > > > Приветсвую!
> > > > Наткнулся вот на проблему при пересборке iplog в hasher:
> > > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -Wall -O2 -march=i586
> > > > -mcpu=i686 -D_REENTRANT -c iplog_options.c
> > > > iplog_options.c:443:19: missing terminating " character
> > > > iplog_options.c: In function `print_help':
> > > > iplog_options.c:444: error: wrong type argument to decrement
> > > > iplog_options.c:444: error: syntax error before "user"
> > > > iplog_options.c:478:59: missing terminating ' character
> > > > iplog_options.c:478:59: warning: character constant too long for its
> > > > type iplog_options.c:493:65: missing terminating " character
> > >
> > > Типовая ошибка, всплывающая при переходе с gcc3.2 на gcc3.3,
> > > заключающаяся в недопустимой (теперь) устаревшей форме записи длинных
> > > строк.
> >
> > Понятно. В принципе, я это обошел "закавычиванием" всех строк.
> >
> > > Посмотрите mp3info-0.8.4-deb-fixes.patch на предмет того, как это можно
> > > просто исправить.
> >
> > То есть правильно будет добавлять в конец строки "\n\" ?
>
> Оба варианта приемлемы - выбирайте тот, который вам ближе.
Ок.Спасибо.
--
С уважением
Виктор В Исмакаев
ivv@altlinux.ru
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [devel] iplog - rebuild
2004-02-17 0:41 ` Victor V Ismakaev
@ 2004-02-17 10:21 ` Dmitry V. Levin
2004-02-17 6:57 ` Victor V Ismakaev
0 siblings, 1 reply; 5+ messages in thread
From: Dmitry V. Levin @ 2004-02-17 10:21 UTC (permalink / raw)
To: ALT Devel discussion list
[-- Attachment #1: Type: text/plain, Size: 1282 bytes --]
On Tue, Feb 17, 2004 at 05:41:14AM +0500, Victor V Ismakaev wrote:
> Вторник 17 Февраль 2004 00:32, Dmitry V. Levin написал:
> > On Thu, Jan 22, 2004 at 09:47:09AM +0500, Victor V Ismakaev wrote:
> > > Приветсвую!
> > > Наткнулся вот на проблему при пересборке iplog в hasher:
> > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -Wall -O2 -march=i586
> > > -mcpu=i686 -D_REENTRANT -c iplog_options.c
> > > iplog_options.c:443:19: missing terminating " character
> > > iplog_options.c: In function `print_help':
> > > iplog_options.c:444: error: wrong type argument to decrement
> > > iplog_options.c:444: error: syntax error before "user"
> > > iplog_options.c:478:59: missing terminating ' character
> > > iplog_options.c:478:59: warning: character constant too long for its type
> > > iplog_options.c:493:65: missing terminating " character
> >
> > Типовая ошибка, всплывающая при переходе с gcc3.2 на gcc3.3, заключающаяся
> > в недопустимой (теперь) устаревшей форме записи длинных строк.
> Понятно. В принципе, я это обошел "закавычиванием" всех строк.
> > Посмотрите mp3info-0.8.4-deb-fixes.patch на предмет того, как это можно
> > просто исправить.
> То есть правильно будет добавлять в конец строки "\n\" ?
Оба варианта приемлемы - выбирайте тот, который вам ближе.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-02-17 10:21 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-22 4:47 [devel] iplog - rebuild Victor V Ismakaev
2004-02-16 19:32 ` Dmitry V. Levin
2004-02-17 0:41 ` Victor V Ismakaev
2004-02-17 10:21 ` Dmitry V. Levin
2004-02-17 6:57 ` Victor V Ismakaev
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git