ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Владимир Гусев" <vova1971@narod.ru>
To: "ALT Linux Community general discussions" <community@lists.altlinux.org>
Subject: Re: [Comm] cobex for Branch 4
Date: Thu, 27 Mar 2008 20:49:52 +0300
Message-ID: <op.t8ortel5glg102@post.cnt.ru> (raw)
In-Reply-To: <e12fd2db0803270500o727e1143v20e9c4b4567fdf98@mail.gmail.com>

On Thu, 27 Mar 2008 15:00:58 +0300, Eugene Ostapets <eostapets@gmail.com>  
wrote:

> 27.03.08, Владимир Гусев<vova1971 narod.ru> написал(а):
>> Здравствуйте!
>>  gcc -O2 -Wall -s -lezV24 -o cobex_put put.o cobex_utils.o cobex_tools.o
> Правильная строка:
> gcc -O2 -Wall -s -o cobex_put put.o cobex_utils.o cobex_tools.o -lezV24

а -s должно оставаться перед O2FILES, или после них, он вроде относится к  
EXTRACCFLAGS.. Дербанил Makefile, теперь вот так все это выглядит:

[vova@vova SPECS]$ rpm -ba cobex.spec
Выполняется(%prep): /bin/sh -e /home/vova/tmp/rpm-tmp.68063
+ umask 022
+ /bin/mkdir -p /home/vova/RPM/BUILD
+ cd /home/vova/RPM/BUILD
+ cd /home/vova/RPM/BUILD
+ rm -rf cobex-0.2.13
+ echo 'Source #0 (cobex-0.2.13.tar.gz):'
Source #0 (cobex-0.2.13.tar.gz):
+ /bin/gzip -dc /home/vova/RPM/SOURCES/cobex-0.2.13.tar.gz
+ /bin/tar -xf -
+ cd cobex-0.2.13
+ /bin/chmod -Rf u+rwX,go-w .
+ exit 0
Выполняется(%build): /bin/sh -e /home/vova/tmp/rpm-tmp.68063
+ umask 022
+ /bin/mkdir -p /home/vova/RPM/BUILD
+ cd /home/vova/RPM/BUILD
+ cd cobex-0.2.13
+ '[' -n '' ']'
+ NPROCS=2
+ make -j2
make: Entering directory `/home/vova/RPM/BUILD/cobex-0.2.13'
gcc -O2 -Wall  -c cobex_core.c
gcc -O2 -Wall  -c cobex_tools.c
cobex_tools.c: In function 'ctools_signalHandler':
cobex_tools.c:41: warning: pointer targets in assignment differ in  
signedness
gcc -O2 -Wall  -c cobex_serial.c
gcc -O2 -Wall  -c mkdir.c
mkdir.c: In function 'main':
mkdir.c:41: warning: pointer targets in assignment differ in signedness
gcc -O2 -Wall  -c put.c
gcc -O2 -Wall  -c get.c
get.c: In function 'main':
get.c:43: warning: pointer targets in assignment differ in signedness
gcc -O2 -Wall  -c ls.c
gcc -O2 -Wall  -c rm.c
rm.c: In function 'main':
rm.c:42: warning: pointer targets in assignment differ in signedness
ls.c: In function 'startElement':
ls.c:84: warning: pointer targets in passing argument 3 of 'iconv' differ  
in signedness
ls.c:84: warning: pointer targets in passing argument 5 of 'iconv' differ  
in signedness
ls.c: In function 'parseBody':
ls.c:145: warning: pointer targets in passing argument 2 of 'XML_Parse'  
differ in signedness
ls.c:148: warning: pointer targets in passing argument 2 of 'XML_Parse'  
differ in signedness
ls.c: In function 'main':
ls.c:227: warning: pointer targets in assignment differ in signedness
gcc -O2 -Wall -o cobex_mkdir mkdir.o cobex_core.o cobex_tools.o  
cobex_serial.o -s -lezV24
gcc -O2 -Wall -o cobex_put put.o cobex_core.o cobex_tools.o cobex_serial.o  
-s -lezV24
gcc -O2 -Wall -o cobex_get get.o cobex_core.o cobex_tools.o cobex_serial.o  
-s -lezV24
gcc -O2 -Wall -lexpat -o cobex_ls ls.o cobex_core.o cobex_tools.o  
cobex_serial.o -s -lezV24
gcc -O2 -Wall -o cobex_rm rm.o cobex_core.o cobex_tools.o cobex_serial.o  
-s -lezV24
ls.o: In function `parseBody':
ls.c:(.text+0xff): undefined reference to `XML_Parse'
ls.o: In function `teardownExpat':
ls.c:(.text+0x28d): undefined reference to `XML_ParserFree'
ls.o: In function `setupExpat':
ls.c:(.text+0x2a9): undefined reference to `XML_ParserCreate'
ls.c:(.text+0x2cd): undefined reference to `XML_SetElementHandler'
collect2: ld returned 1 exit status
make: *** [cobex_ls] Error 1
make: Leaving directory `/home/vova/RPM/BUILD/cobex-0.2.13'
ошибка: Неверный код возврата из /home/vova/tmp/rpm-tmp.68063 (%build)


Ошибки сборки пакетов:
     Неверный код возврата из /home/vova/tmp/rpm-tmp.68063 (%build)




-- 
С уважением, Владимир Гусев


  parent reply	other threads:[~2008-03-27 17:49 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-27 11:42 Владимир Гусев
2008-03-27 12:00 ` Eugene Ostapets
2008-03-27 13:29   ` Владимир Гусев
2008-03-27 13:33     ` Eugene Ostapets
2008-03-27 13:52       ` Владимир Гусев
2008-03-27 14:00     ` Damir Shayhutdinov
2008-03-29 18:53       ` Michael Shigorin
2008-03-29 19:34         ` Владимир Гусев
2008-03-29 20:51           ` [Comm] -Wl,--as-needed Michael Shigorin
2008-03-30  0:54             ` Dmitry V. Levin
2008-03-30 15:18               ` Владимир Гусев
2008-03-27 17:49   ` Владимир Гусев [this message]
2008-03-27 17:54     ` [Comm] cobex for Branch 4 Andrey Rahmatullin
2008-03-27 18:48       ` Владимир Гусев
2008-03-27 19:13         ` Damir Shayhutdinov
2008-03-27 12:58 ` Pavlov Konstantin

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=op.t8ortel5glg102@post.cnt.ru \
    --to=vova1971@narod.ru \
    --cc=community@lists.altlinux.org \
    /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

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git