ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Как фиксить? Fwd: dahdi-tools-2.6.0-alt1: Sisyphus/i586 test rebuild failed
@ 2012-10-03  7:53 Denis Smirnov
  2012-10-03  8:05 ` REAL
  2012-10-03  9:18 ` Ivan A. Melnikov
  0 siblings, 2 replies; 6+ messages in thread
From: Denis Smirnov @ 2012-10-03  7:53 UTC (permalink / raw)
  To: ALT Devel discussion list

Как фиксить?


---------- Forwarded message ----------
From: ALT beekeeper <hiver@altlinux.org>
Date: 2012/10/2
Subject: dahdi-tools-2.6.0-alt1: Sisyphus/i586 test rebuild failed
To: mithraen@altlinux.org, qa@packages.altlinux.org
Копия: hiver@altlinux.org


Package: dahdi-tools-2.6.0-alt1
Status: Sisyphus/i586 test rebuild failed
Cannot build this package.
Please investigate.
Excerpt from build log:

        tr -s ' ' '\n' | \
        sed -e 's,.*,oct612x/&,' -e 's/\.o$/.c/'` > .octasic.depend
make[2]: Leaving directory `/usr/src/RPM/BUILD/dahdi-tools-2.6.0/xpp'
make[2]: Entering directory `/usr/src/RPM/BUILD/dahdi-tools-2.6.0/xpp'
for i in dahdi_registration xpp_sync lsdahdi xpp_blink dahdi_genconf
dahdi_hardware twinstar; do perl -I./perl_modules -c $i || exit 1;
done
dahdi_registration syntax OK
xpp_sync syntax OK
lsdahdi syntax OK
xpp_blink syntax OK
dahdi_genconf syntax OK
dahdi_hardware syntax OK
twinstar syntax OK
touch .perlcheck
i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
-Ixtalk   -c -o astribank_is_starting.o astribank_is_starting.c
i586-alt-linux-gcc  astribank_is_starting.o  -o astribank_is_starting
i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
-Ixtalk -D_GNU_SOURCE    -c -o fpga_load.o fpga_load.c
fpga_load.c: In function 'my_usb_device_identify':
fpga_load.c:560:32: warning: variable 'dev_desc' set but not used
[-Wunused-but-set-variable]
fpga_load.c: In function 'my_usb_device_init':
fpga_load.c:595:9: warning: variable 'ret' set but not used
[-Wunused-but-set-variable]
i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
-Ixtalk   -c -o hexfile.o hexfile.c
i586-alt-linux-gcc  fpga_load.o hexfile.o  -lusb  -o fpga_load
i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
-Ixtalk   -c -o astribank_tool.o astribank_tool.c
i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
-Ixtalk   -c -o astribank_usb.o astribank_usb.c
i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
-Ixtalk   -c -o mpptalk.o mpptalk.c
i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
-Ixtalk   -c -o xtalk/xtalk.o xtalk/xtalk.c
xtalk/xtalk.c: In function 'send_command':
xtalk/xtalk.c:246:9: warning: variable 'buf' set but not used
[-Wunused-but-set-variable]
i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
-Ixtalk   -c -o xtalk/xusb.o xtalk/xusb.c
i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
-Ixtalk   -c -o xtalk/xlist.o xtalk/xlist.c
i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
-Ixtalk   -c -o xtalk/debug.o xtalk/debug.c
i586-alt-linux-gcc  astribank_tool.o astribank_usb.o mpptalk.o
xtalk/xtalk.o xtalk/xusb.o xtalk/xlist.o xtalk/debug.o  -lusb  -o
astribank_tool
i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
-Ixtalk -Ioct612x/include -Ioct612x/octdeviceapi
-Ioct612x/octdeviceapi/oct6100api   -c -o astribank_hexload.o
astribank_hexload.c
i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
-Ixtalk -Ioct612x/include -Ioct612x/octdeviceapi
-Ioct612x/octdeviceapi/oct6100api   -c -o pic_loader.o pic_loader.c
i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
-Ixtalk -Ioct612x/include -Ioct612x/octdeviceapi
-Ioct612x/octdeviceapi/oct6100api   -c -o echo_loader.o echo_loader.c
echo_loader.c: In function 'usb_buffer_showstatistics':
echo_loader.c:126:2: warning: format '%d' expects argument of type
'int', but argument 12 has type 'long int' [-Wformat]
echo_loader.c: In function 'load_echo':
echo_loader.c:757:17: warning: unused variable 'pbyFileData' [-Wunused-variable]
echo_loader.c:755:7: warning: unused variable 'iLen' [-Wunused-variable]
echo_loader.c: In function 'load_file':
echo_loader.c:352:7: warning: ignoring return value of 'fread',
declared with attribute warn_unused_result [-Wunused-result]
i586-alt-linux-gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
-Ixtalk -Ioct612x/include -Ioct612x/octdeviceapi
-Ioct612x/octdeviceapi/oct6100api -Ioct612x/include
-Ioct612x/octdeviceapi -Ioct612x/octdeviceapi/oct6100api
-DPTR_TYPE=uint32_t -DcOCT6100_INTERNAL_SUPER_ARRAY_SIZE=1024
-DcOCT6100_MAX_ECHO_CHANNELS=672 -DcOCT6100_MAX_MIXER_EVENTS=1344
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_adpcm_chan.c
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.c
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_debug.c
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_memory.c
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.
 c oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_mixer.c
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_phasing_tsst.c
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_remote_debug.c
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tlv.c
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsi_cnct.c
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c
oct612x/apilib/bt/octapi_bt0.c
oct612x/apilib/largmath/octapi_largmath.c
oct612x/apilib/llman/octapi_llman.c
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c: In
function 'Oct6100ApiReserveChannelResources':
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c:1503:26:
warning: variable 'pSharedInfo' set but not used
[-Wunused-but-set-variable]
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c: In
function 'Oct6100ApiWriteChannelStructs':
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c:1954:7:
warning: variable 'fConversionEnabled' set but not used
[-Wunused-but-set-variable]
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c: In
function 'Oct6100ApiCheckChannelModify':
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c:3810:33:
warning: variable 'pModifyTdm' set but not used
[-Wunused-but-set-variable]
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c: In
function 'Oct6100ApiModifyChannelStructs':
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c:4720:7:
warning: variable 'fConversionEnabled' set but not used
[-Wunused-but-set-variable]
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c:4709:28:
warning: variable 'pApiVqeConf' set but not used
[-Wunused-but-set-variable]
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c: In
function 'Oct6100ApiWriteVqeNlpMemory':
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c:8888:26:
warning: variable 'WriteParams' set but not used
[-Wunused-but-set-variable]
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c: In
function 'Oct6100ApiWriteVqeAfMemory':
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c:9859:26:
warning: variable 'WriteParams' set but not used
[-Wunused-but-set-variable]
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c: In
function 'Oct6100ApiWriteDebugChanMemory':
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c:12341:24:
warning: variable 'pSharedInfo' set but not used
[-Wunused-but-set-variable]
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c: In
function 'Oct6100ApiBootSdram':
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c:3572:24:
warning: variable 'ReadParams' set but not used
[-Wunused-but-set-variable]
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c: In
function 'Oct6100ApiRunEgo':
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c:4998:28:
warning: variable 'pChipConfig' set but not used
[-Wunused-but-set-variable]
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c: In
function 'Oct6100ApiInitChannels':
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c:5213:30:
warning: variable 'BurstParams' set but not used
[-Wunused-but-set-variable]
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c: In
function 'Oct6100ApiUserIoTest':
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c:6161:2:
warning: variable '_ulWriteAddress' set but not used
[-Wunused-but-set-variable]
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c: In
function 'Oct6100ApiExternalMemoryInit':
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c:6271:3:
warning: variable '_ulWriteAddress' set but not used
[-Wunused-but-set-variable]
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c: In
function 'Oct6100ApiBridgeEventRemove':
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c:3872:47:
error: 'NULL' undeclared (first use in this function)
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c:3872:47:
note: each undeclared identifier is reported only once for each
function it appears in
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c: In
function 'Oct6100ApiBridgeRemoveParticipantFromChannel':
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c:5094:14:
warning: variable 'fSoutCopyEvent' set but not used
[-Wunused-but-set-variable]
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c:5086:16:
warning: variable 'usLastLoadEventIndex' set but not used
[-Wunused-but-set-variable]
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c:5077:38:
warning: variable 'pSourceParticipant' set but not used
[-Wunused-but-set-variable]
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c:5072:30:
warning: variable 'pLastLoadOrAccumulateEventEntry' set but not used
[-Wunused-but-set-variable]
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c: In
function 'Oct6100ApiGetPrevLastSubStoreEvent':
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c:7415:28:
warning: variable 'pBridgeEntry' set but not used
[-Wunused-but-set-variable]
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c: In
function 'Oct6100EventGetToneDef':
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c:89:32:
error: 'NULL' undeclared (first use in this function)
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c:89:32:
note: each undeclared identifier is reported only once for each
function it appears in
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c: In
function 'Oct6100BufferPlayoutTransferEvents':
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c:1116:126:
error: 'NULL' undeclared (first use in this function)
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c: In
function 'Oct6100BufferPlayoutCheckForSpecificEvent':
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c:1287:29:
error: 'NULL' undeclared (first use in this function)
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c: In
function 'Oct6100ApiReadIntrptRegs':
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c:801:26:
warning: variable 'WriteParams' set but not used
[-Wunused-but-set-variable]
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c: In
function 'Oct6100ApiWriteIeRegs':
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c:1299:24:
warning: variable 'ReadParams' set but not used
[-Wunused-but-set-variable]
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c:
In function 'Oct6100ApiStrStr':
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c:391:38:
error: 'NULL' undeclared (first use in this function)
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c:391:38:
note: each undeclared identifier is reported only once for each
function it appears in
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c:437:1:
warning: control reaches end of non-void function [-Wreturn-type]
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c: In
function 'Oct6100BufferPlayoutStopDef':
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c:530:43:
error: 'NULL' undeclared (first use in this function)
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c:530:43:
note: each undeclared identifier is reported only once for each
function it appears in
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c: In
function 'Oct6100ApiInvalidateChanPlayoutStructs':
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c:2844:51:
error: 'NULL' undeclared (first use in this function)
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c:
In function 'Oct6100ApiClearToneDetectionEvent':
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c:828:3:
warning: variable '_ulWriteAddress' set but not used
[-Wunused-but-set-variable]
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c:867:4:
warning: variable '_ulWriteAddress' set but not used
[-Wunused-but-set-variable]
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c: In
function 'Oct6100ApiValidateTsst':
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c:178:15:
warning: variable 'pulTsstAlloc' set but not used
[-Wunused-but-set-variable]
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c: In
function 'Oct6100ApiReserveTsst':
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c:404:29:
error: 'NULL' undeclared (first use in this function)
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c:404:29:
note: each undeclared identifier is reported only once for each
function it appears in
oct612x/apilib/bt/octapi_bt0.c: In function 'OctApiBt0Init':
oct612x/apilib/bt/octapi_bt0.c:63:12: error: 'NULL' undeclared (first
use in this function)
oct612x/apilib/bt/octapi_bt0.c:63:12: note: each undeclared identifier
is reported only once for each function it appears in
oct612x/apilib/llman/octapi_llman.c: In function 'OctapiLlmAllocInit':
oct612x/apilib/llman/octapi_llman.c:88:12: error: 'NULL' undeclared
(first use in this function)
oct612x/apilib/llman/octapi_llman.c:88:12: note: each undeclared
identifier is reported only once for each function it appears in
make[2]: *** [oct6100_adpcm_chan.o] Error 1
make[2]: Leaving directory `/usr/src/RPM/BUILD/dahdi-tools-2.6.0/xpp'
make[1]: *** [utils-subdirs] Error 2
make[1]: Leaving directory `/usr/src/RPM/BUILD/dahdi-tools-2.6.0'
make: *** [all] Error 2
make: Leaving directory `/usr/src/RPM/BUILD/dahdi-tools-2.6.0'
error: Bad exit status from /usr/src/tmp/rpm-tmp.28438 (%build)

RPM build errors:
    Macro %doc not found
    Bad exit status from /usr/src/tmp/rpm-tmp.28438 (%build)
Command exited with non-zero status 1
21.97user 2.69system 0:28.15elapsed 87%CPU (0avgtext+0avgdata 68800maxresident)k
0inputs+0outputs (0major+1392288minor)pagefaults 0swaps
hsh-rebuild: rebuild of `dahdi-tools-2.6.0-alt1.src.rpm' failed.
Command exited with non-zero status 1

--
Sincerely yours,
ALT beekeeper


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [devel] Как фиксить? Fwd: dahdi-tools-2.6.0-alt1: Sisyphus/i586 test rebuild failed
  2012-10-03  7:53 [devel] Как фиксить? Fwd: dahdi-tools-2.6.0-alt1: Sisyphus/i586 test rebuild failed Denis Smirnov
@ 2012-10-03  8:05 ` REAL
  2012-10-03  9:18 ` Ivan A. Melnikov
  1 sibling, 0 replies; 6+ messages in thread
From: REAL @ 2012-10-03  8:05 UTC (permalink / raw)
  To: ALT Linux Team development discussions

Привет!

03.10.2012 14:53, Denis Smirnov пишет:
> Как фиксить?

#include <libio.h> не поможет?

>
>
> ---------- Forwarded message ----------
> From: ALT beekeeper<hiver@altlinux.org>
> Date: 2012/10/2
> Subject: dahdi-tools-2.6.0-alt1: Sisyphus/i586 test rebuild failed
> To: mithraen@altlinux.org, qa@packages.altlinux.org
> Копия: hiver@altlinux.org
>
>
> Package: dahdi-tools-2.6.0-alt1
> Status: Sisyphus/i586 test rebuild failed
> Cannot build this package.
> Please investigate.
> Excerpt from build log:
>
>          tr -s ' ' '\n' | \
>          sed -e 's,.*,oct612x/&,' -e 's/\.o$/.c/'`>  .octasic.depend
> make[2]: Leaving directory `/usr/src/RPM/BUILD/dahdi-tools-2.6.0/xpp'
> make[2]: Entering directory `/usr/src/RPM/BUILD/dahdi-tools-2.6.0/xpp'
> for i in dahdi_registration xpp_sync lsdahdi xpp_blink dahdi_genconf
> dahdi_hardware twinstar; do perl -I./perl_modules -c $i || exit 1;
> done
> dahdi_registration syntax OK
> xpp_sync syntax OK
> lsdahdi syntax OK
> xpp_blink syntax OK
> dahdi_genconf syntax OK
> dahdi_hardware syntax OK
> twinstar syntax OK
> touch .perlcheck
> i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
> -Ixtalk   -c -o astribank_is_starting.o astribank_is_starting.c
> i586-alt-linux-gcc  astribank_is_starting.o  -o astribank_is_starting
> i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
> -Ixtalk -D_GNU_SOURCE    -c -o fpga_load.o fpga_load.c
> fpga_load.c: In function 'my_usb_device_identify':
> fpga_load.c:560:32: warning: variable 'dev_desc' set but not used
> [-Wunused-but-set-variable]
> fpga_load.c: In function 'my_usb_device_init':
> fpga_load.c:595:9: warning: variable 'ret' set but not used
> [-Wunused-but-set-variable]
> i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
> -Ixtalk   -c -o hexfile.o hexfile.c
> i586-alt-linux-gcc  fpga_load.o hexfile.o  -lusb  -o fpga_load
> i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
> -Ixtalk   -c -o astribank_tool.o astribank_tool.c
> i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
> -Ixtalk   -c -o astribank_usb.o astribank_usb.c
> i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
> -Ixtalk   -c -o mpptalk.o mpptalk.c
> i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
> -Ixtalk   -c -o xtalk/xtalk.o xtalk/xtalk.c
> xtalk/xtalk.c: In function 'send_command':
> xtalk/xtalk.c:246:9: warning: variable 'buf' set but not used
> [-Wunused-but-set-variable]
> i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
> -Ixtalk   -c -o xtalk/xusb.o xtalk/xusb.c
> i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
> -Ixtalk   -c -o xtalk/xlist.o xtalk/xlist.c
> i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
> -Ixtalk   -c -o xtalk/debug.o xtalk/debug.c
> i586-alt-linux-gcc  astribank_tool.o astribank_usb.o mpptalk.o
> xtalk/xtalk.o xtalk/xusb.o xtalk/xlist.o xtalk/debug.o  -lusb  -o
> astribank_tool
> i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
> -Ixtalk -Ioct612x/include -Ioct612x/octdeviceapi
> -Ioct612x/octdeviceapi/oct6100api   -c -o astribank_hexload.o
> astribank_hexload.c
> i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
> -Ixtalk -Ioct612x/include -Ioct612x/octdeviceapi
> -Ioct612x/octdeviceapi/oct6100api   -c -o pic_loader.o pic_loader.c
> i586-alt-linux-gcc -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
> -Ixtalk -Ioct612x/include -Ioct612x/octdeviceapi
> -Ioct612x/octdeviceapi/oct6100api   -c -o echo_loader.o echo_loader.c
> echo_loader.c: In function 'usb_buffer_showstatistics':
> echo_loader.c:126:2: warning: format '%d' expects argument of type
> 'int', but argument 12 has type 'long int' [-Wformat]
> echo_loader.c: In function 'load_echo':
> echo_loader.c:757:17: warning: unused variable 'pbyFileData' [-Wunused-variable]
> echo_loader.c:755:7: warning: unused variable 'iLen' [-Wunused-variable]
> echo_loader.c: In function 'load_file':
> echo_loader.c:352:7: warning: ignoring return value of 'fread',
> declared with attribute warn_unused_result [-Wunused-result]
> i586-alt-linux-gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=i686 -I.
> -Ixtalk -Ioct612x/include -Ioct612x/octdeviceapi
> -Ioct612x/octdeviceapi/oct6100api -Ioct612x/include
> -Ioct612x/octdeviceapi -Ioct612x/octdeviceapi/oct6100api
> -DPTR_TYPE=uint32_t -DcOCT6100_INTERNAL_SUPER_ARRAY_SIZE=1024
> -DcOCT6100_MAX_ECHO_CHANNELS=672 -DcOCT6100_MAX_MIXER_EVENTS=1344
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_adpcm_chan.c
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.c
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_debug.c
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_memory.c
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.
>   c oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_mixer.c
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_phasing_tsst.c
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_remote_debug.c
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tlv.c
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsi_cnct.c
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c
> oct612x/apilib/bt/octapi_bt0.c
> oct612x/apilib/largmath/octapi_largmath.c
> oct612x/apilib/llman/octapi_llman.c
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c: In
> function 'Oct6100ApiReserveChannelResources':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c:1503:26:
> warning: variable 'pSharedInfo' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c: In
> function 'Oct6100ApiWriteChannelStructs':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c:1954:7:
> warning: variable 'fConversionEnabled' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c: In
> function 'Oct6100ApiCheckChannelModify':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c:3810:33:
> warning: variable 'pModifyTdm' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c: In
> function 'Oct6100ApiModifyChannelStructs':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c:4720:7:
> warning: variable 'fConversionEnabled' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c:4709:28:
> warning: variable 'pApiVqeConf' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c: In
> function 'Oct6100ApiWriteVqeNlpMemory':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c:8888:26:
> warning: variable 'WriteParams' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c: In
> function 'Oct6100ApiWriteVqeAfMemory':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c:9859:26:
> warning: variable 'WriteParams' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c: In
> function 'Oct6100ApiWriteDebugChanMemory':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c:12341:24:
> warning: variable 'pSharedInfo' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c: In
> function 'Oct6100ApiBootSdram':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c:3572:24:
> warning: variable 'ReadParams' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c: In
> function 'Oct6100ApiRunEgo':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c:4998:28:
> warning: variable 'pChipConfig' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c: In
> function 'Oct6100ApiInitChannels':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c:5213:30:
> warning: variable 'BurstParams' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c: In
> function 'Oct6100ApiUserIoTest':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c:6161:2:
> warning: variable '_ulWriteAddress' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c: In
> function 'Oct6100ApiExternalMemoryInit':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c:6271:3:
> warning: variable '_ulWriteAddress' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c: In
> function 'Oct6100ApiBridgeEventRemove':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c:3872:47:
> error: 'NULL' undeclared (first use in this function)
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c:3872:47:
> note: each undeclared identifier is reported only once for each
> function it appears in
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c: In
> function 'Oct6100ApiBridgeRemoveParticipantFromChannel':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c:5094:14:
> warning: variable 'fSoutCopyEvent' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c:5086:16:
> warning: variable 'usLastLoadEventIndex' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c:5077:38:
> warning: variable 'pSourceParticipant' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c:5072:30:
> warning: variable 'pLastLoadOrAccumulateEventEntry' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c: In
> function 'Oct6100ApiGetPrevLastSubStoreEvent':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c:7415:28:
> warning: variable 'pBridgeEntry' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c: In
> function 'Oct6100EventGetToneDef':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c:89:32:
> error: 'NULL' undeclared (first use in this function)
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c:89:32:
> note: each undeclared identifier is reported only once for each
> function it appears in
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c: In
> function 'Oct6100BufferPlayoutTransferEvents':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c:1116:126:
> error: 'NULL' undeclared (first use in this function)
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c: In
> function 'Oct6100BufferPlayoutCheckForSpecificEvent':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c:1287:29:
> error: 'NULL' undeclared (first use in this function)
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c: In
> function 'Oct6100ApiReadIntrptRegs':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c:801:26:
> warning: variable 'WriteParams' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c: In
> function 'Oct6100ApiWriteIeRegs':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c:1299:24:
> warning: variable 'ReadParams' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c:
> In function 'Oct6100ApiStrStr':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c:391:38:
> error: 'NULL' undeclared (first use in this function)
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c:391:38:
> note: each undeclared identifier is reported only once for each
> function it appears in
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c:437:1:
> warning: control reaches end of non-void function [-Wreturn-type]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c: In
> function 'Oct6100BufferPlayoutStopDef':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c:530:43:
> error: 'NULL' undeclared (first use in this function)
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c:530:43:
> note: each undeclared identifier is reported only once for each
> function it appears in
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c: In
> function 'Oct6100ApiInvalidateChanPlayoutStructs':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c:2844:51:
> error: 'NULL' undeclared (first use in this function)
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c:
> In function 'Oct6100ApiClearToneDetectionEvent':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c:828:3:
> warning: variable '_ulWriteAddress' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c:867:4:
> warning: variable '_ulWriteAddress' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c: In
> function 'Oct6100ApiValidateTsst':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c:178:15:
> warning: variable 'pulTsstAlloc' set but not used
> [-Wunused-but-set-variable]
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c: In
> function 'Oct6100ApiReserveTsst':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c:404:29:
> error: 'NULL' undeclared (first use in this function)
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c:404:29:
> note: each undeclared identifier is reported only once for each
> function it appears in
> oct612x/apilib/bt/octapi_bt0.c: In function 'OctApiBt0Init':
> oct612x/apilib/bt/octapi_bt0.c:63:12: error: 'NULL' undeclared (first
> use in this function)
> oct612x/apilib/bt/octapi_bt0.c:63:12: note: each undeclared identifier
> is reported only once for each function it appears in
> oct612x/apilib/llman/octapi_llman.c: In function 'OctapiLlmAllocInit':
> oct612x/apilib/llman/octapi_llman.c:88:12: error: 'NULL' undeclared
> (first use in this function)
> oct612x/apilib/llman/octapi_llman.c:88:12: note: each undeclared
> identifier is reported only once for each function it appears in
> make[2]: *** [oct6100_adpcm_chan.o] Error 1
> make[2]: Leaving directory `/usr/src/RPM/BUILD/dahdi-tools-2.6.0/xpp'
> make[1]: *** [utils-subdirs] Error 2
> make[1]: Leaving directory `/usr/src/RPM/BUILD/dahdi-tools-2.6.0'
> make: *** [all] Error 2
> make: Leaving directory `/usr/src/RPM/BUILD/dahdi-tools-2.6.0'
> error: Bad exit status from /usr/src/tmp/rpm-tmp.28438 (%build)
>
> RPM build errors:
>      Macro %doc not found
>      Bad exit status from /usr/src/tmp/rpm-tmp.28438 (%build)
> Command exited with non-zero status 1
> 21.97user 2.69system 0:28.15elapsed 87%CPU (0avgtext+0avgdata 68800maxresident)k
> 0inputs+0outputs (0major+1392288minor)pagefaults 0swaps
> hsh-rebuild: rebuild of `dahdi-tools-2.6.0-alt1.src.rpm' failed.
> Command exited with non-zero status 1
>
> --
> Sincerely yours,
> ALT beekeeper
> _______________________________________________
> Devel mailing list
> Devel@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/devel


-- 

REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [devel] Как фиксить? Fwd: dahdi-tools-2.6.0-alt1: Sisyphus/i586 test rebuild failed
  2012-10-03  7:53 [devel] Как фиксить? Fwd: dahdi-tools-2.6.0-alt1: Sisyphus/i586 test rebuild failed Denis Smirnov
  2012-10-03  8:05 ` REAL
@ 2012-10-03  9:18 ` Ivan A. Melnikov
  2012-10-18 17:42   ` Денис Смирнов
  1 sibling, 1 reply; 6+ messages in thread
From: Ivan A. Melnikov @ 2012-10-03  9:18 UTC (permalink / raw)
  To: devel

On Wed, 3 Oct 2012 11:53:18 +0400
Denis Smirnov <mithraen@freesource.info> wrote:

> Как фиксить?
[...]
> error: 'NULL' undeclared (first use in this function)

NULL определён в

#include <stddef.h>

Наверное, проблема связана с тем, что описано в пункте "Header
dependency changes" тут: http://gcc.gnu.org/gcc-4.7/porting_to.html

-- 
WBR,
Ivan A. Melnikov


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [devel] Как фиксить? Fwd: dahdi-tools-2.6.0-alt1: Sisyphus/i586 test rebuild failed
  2012-10-03  9:18 ` Ivan A. Melnikov
@ 2012-10-18 17:42   ` Денис Смирнов
  2012-10-18 17:45     ` Dmitry V. Levin
  0 siblings, 1 reply; 6+ messages in thread
From: Денис Смирнов @ 2012-10-18 17:42 UTC (permalink / raw)
  To: ALT Linux Team development discussions

[-- Attachment #1: Type: text/plain, Size: 666 bytes --]

On Wed, Oct 03, 2012 at 01:18:54PM +0400, Ivan A. Melnikov wrote:

IAM> NULL определён в
IAM> #include <stddef.h>

У меня такого нет :-/ Есть linux/stddef.h, но он фактически пустой:

$ find /usr/include | grep stddef
/usr/include/linux-default/include/linux/stddef.h
/usr/include/c++/4.1.2/cstddef
/usr/include/c++/4.5.4/cstddef
/usr/include/c++/4.4.6/cstddef
/usr/include/c++/4.7.2/cstddef
/usr/include/boost/pending/cstddef.hpp
/usr/include/boost/compatibility/cpp_c_headers/cstddef

Чего у меня в системе не хватает?

-- 
С уважением, Денис

http://mithraen.ru/
----------------------------------------------------------------------------

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [devel] Как фиксить? Fwd: dahdi-tools-2.6.0-alt1: Sisyphus/i586 test rebuild failed
  2012-10-18 17:42   ` Денис Смирнов
@ 2012-10-18 17:45     ` Dmitry V. Levin
  2012-10-18 19:11       ` Денис Смирнов
  0 siblings, 1 reply; 6+ messages in thread
From: Dmitry V. Levin @ 2012-10-18 17:45 UTC (permalink / raw)
  To: ALT Linux Team development discussions

[-- Attachment #1: Type: text/plain, Size: 413 bytes --]

On Thu, Oct 18, 2012 at 09:42:43PM +0400, Денис Смирнов wrote:
> On Wed, Oct 03, 2012 at 01:18:54PM +0400, Ivan A. Melnikov wrote:
> 
> IAM> NULL определён в
> IAM> #include <stddef.h>
> 
> У меня такого нет :-/ Есть linux/stddef.h, но он фактически пустой:

У вас в системе точно есть <stddef.h>, он точно непустой, и найти его
очень просто.  Только, скорее всего, искать его нет смысла.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [devel] Как фиксить? Fwd: dahdi-tools-2.6.0-alt1: Sisyphus/i586 test rebuild failed
  2012-10-18 17:45     ` Dmitry V. Levin
@ 2012-10-18 19:11       ` Денис Смирнов
  0 siblings, 0 replies; 6+ messages in thread
From: Денис Смирнов @ 2012-10-18 19:11 UTC (permalink / raw)
  To: ALT Linux Team development discussions

[-- Attachment #1: Type: text/plain, Size: 422 bytes --]

On Thu, Oct 18, 2012 at 09:45:32PM +0400, Dmitry V. Levin wrote:

DVL> У вас в системе точно есть <stddef.h>, он точно непустой, и найти его
DVL> очень просто.  Только, скорее всего, искать его нет смысла.

Заинтригованный пошел смотреть strace на gcc. Нашел где был спрятан
stddef.h :)

-- 
С уважением, Денис

http://mithraen.ru/
----------------------------------------------------------------------------

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-10-18 19:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-03  7:53 [devel] Как фиксить? Fwd: dahdi-tools-2.6.0-alt1: Sisyphus/i586 test rebuild failed Denis Smirnov
2012-10-03  8:05 ` REAL
2012-10-03  9:18 ` Ivan A. Melnikov
2012-10-18 17:42   ` Денис Смирнов
2012-10-18 17:45     ` Dmitry V. Levin
2012-10-18 19:11       ` Денис Смирнов

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