Modify

Opened 4 years ago

Closed 4 years ago

#16986 closed defect (fixed)

Error compiling madwifi from trunk on x86 platform

Reported by: Stefano Ramponi <ramponis@…> Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: Cc:

Description

i486-openwrt-linux-uclibc-gcc -Os -pipe -march=i486 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wformat -Werror=format-security -I/home/ramponis/tags/trunk/build_dir/target-i386_i486_uClibc-0.9.33.2/linux-x86_generic/madwifi-trunk-r3314 -I/home/ramponis/tags/trunk/build_dir/target-i386_i486_uClibc-0.9.33.2/linux-x86_generic/madwifi-trunk-r3314/include/compat.h -DDO_MULTI=1 -c -o athstats.o athstats.c
athstats.c: In function 'athstats_init':
athstats.c:290:5: error: format not a string literal and no format arguments [-Werror=format-security]

err(1, ifr.ifr_name);

athstats.c:292:5: error: format not a string literal and no format arguments [-Werror=format-security]

err(1, ifr.ifr_name);

athstats.c:312:5: error: format not a string literal and no format arguments [-Werror=format-security]

err(1, ifr.ifr_name);

athstats.c:314:5: error: format not a string literal and no format arguments [-Werror=format-security]

err(1, ifr.ifr_name);

athstats.c:349:4: error: format not a string literal and no format arguments [-Werror=format-security]

err(1, ifr.ifr_name);

cc1: some warnings being treated as errors
make[5]: * [athstats.o] Error 1
make[5]: Leaving directory `/home/ramponis/tags/trunk/build_dir/target-i386_i486_uClibc-0.9.33.2/linux-x86_generic/madwifi-trunk-r3314/tools'
make[4]:
* [tools] Error 1
make[4]: Leaving directory `/home/ramponis/tags/trunk/build_dir/target-i386_i486_uClibc-0.9.33.2/linux-x86_generic/madwifi-trunk-r3314'
make[3]: * /home/ramponis/tags/trunk/build_dir/target-i386_i486_uClibc-0.9.33.2/linux-x86_generic/madwifi-trunk-r3314/.built Error 2
make[3]: Leaving directory `/home/ramponis/tags/trunk/feeds/oldpackages/net/madwifi'
make[2]:
* [package/feeds/oldpackages/madwifi/compile] Error 2
make[2]: Leaving directory `/home/ramponis/tags/trunk'
make[1]: * /home/ramponis/tags/trunk/staging_dir/target-i386_i486_uClibc-0.9.33.2/stamp/.package_compile Error 2

The error is the same compiling libidn.
/ticket/16985.html
They can be related

Attachments (0)

Change History (1)

comment:1 Changed 4 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

see r41504

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.