Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 475442 - sys-block/rts_pstor with kernel 3.10.0 - .../work/rts_pstor/rtsx.c:275:2: error: unknown field ‘proc_info’ specified in initializer
Summary: sys-block/rts_pstor with kernel 3.10.0 - .../work/rts_pstor/rtsx.c:275:2: err...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Vikraman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-01 17:15 UTC by Paolo
Modified: 2013-07-03 21:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paolo 2013-07-01 17:15:00 UTC
>>> Emerging (1 of 1) sys-block/rts_pstor-1.10-r1
 * rts_pstor-1.10.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                  [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/3.10.0-pol/build
 * Found sources for kernel version:
 *     3.10.0-pol
>>> Unpacking source...
>>> Unpacking rts_pstor-1.10.tar.bz2 to /var/tmp/portage/sys-block/rts_pstor-1.10-r1/work
>>> Source unpacked in /var/tmp/portage/sys-block/rts_pstor-1.10-r1/work
>>> Preparing source in /var/tmp/portage/sys-block/rts_pstor-1.10-r1/work/rts_pstor ...
 * Applying rts_pstor-linux-3.8.patch ...                                                                                                       [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-block/rts_pstor-1.10-r1/work/rts_pstor ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-block/rts_pstor-1.10-r1/work/rts_pstor ...
ln: creazione del collegamento simbolico "Module.symvers" non riuscita: File già esistente
 * Preparing rts_pstor module
make -j1 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' KERNELDIR=/usr/src/linux default 
sed "s/RTSX_MK_TIME/`date +%y.%m.%d.%H.%M`/" timestamp.in > timestamp.h
cp -f ./define.release ./define.h
make -C /usr/src/linux SUBDIRS=/var/tmp/portage/sys-block/rts_pstor-1.10-r1/work/rts_pstor modules
make[1]: Entering directory `/usr/src/linux-3.10.0-gentoo'
  CC [M]  /var/tmp/portage/sys-block/rts_pstor-1.10-r1/work/rts_pstor/rtsx.o
/var/tmp/portage/sys-block/rts_pstor-1.10-r1/work/rts_pstor/rtsx.c:275:2: error: unknown field ‘proc_info’ specified in initializer
/var/tmp/portage/sys-block/rts_pstor-1.10-r1/work/rts_pstor/rtsx.c:275:2: warning: initialization from incompatible pointer type [enabled by default]
/var/tmp/portage/sys-block/rts_pstor-1.10-r1/work/rts_pstor/rtsx.c:275:2: warning: (near initialization for ‘rtsx_host_template.proc_dir’) [enabled by default]
make[2]: *** [/var/tmp/portage/sys-block/rts_pstor-1.10-r1/work/rts_pstor/rtsx.o] Errore 1
make[1]: *** [_module_/var/tmp/portage/sys-block/rts_pstor-1.10-r1/work/rts_pstor] Errore 2
make[1]: Leaving directory `/usr/src/linux-3.10.0-gentoo'
make: *** [default] Errore 2
 * ERROR: sys-block/rts_pstor-1.10-r1 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=sys-block/rts_pstor-1.10-r1'`,
 * the complete build log and the output of `emerge -pqv '=sys-block/rts_pstor-1.10-r1'`.
 * The complete build log is located at '/var/tmp/portage/sys-block/rts_pstor-1.10-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-block/rts_pstor-1.10-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-block/rts_pstor-1.10-r1/work/rts_pstor'
 * S: '/var/tmp/portage/sys-block/rts_pstor-1.10-r1/work/rts_pstor'

>>> Failed to emerge sys-block/rts_pstor-1.10-r1, Log file:

>>>  '/var/tmp/portage/sys-block/rts_pstor-1.10-r1/temp/build.log'

------------------------------------------------------------------

emerge-info:

emerge --info
Portage 2.1.12.11 (default/linux/amd64/13.0/desktop/gnome, gcc-4.7.3, glibc-2.17, 3.10.0-pol x86_64)
=================================================================
System uname: Linux-3.10.0-pol-x86_64-Intel-R-_Core-TM-_i5-2410M_CPU_@_2.30GHz-with-gentoo-2.2
KiB Mem:     3991604 total,   1895484 free
KiB Swap:    2345268 total,   2345268 free
Timestamp of tree: Mon, 01 Jul 2013 14:15:01 +0000
ld ld di GNU (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5, 3.2.5, 3.3.2
dev-util/cmake:           2.8.11.1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo psix-overlay owncloud-client mv
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://de-mirror.org/gentoo/"
LANG="it_IT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/psix /var/lib/layman/owncloud-client /var/lib/layman/mv"
SYNC="rsync://rsync1.de.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi afs aim alsa amd64 apm bash-completion berkdb bluetooth branding bzip2 cairo cdda cdinstall cdparanoia cdr cleartype cli colord consolekit cracklib crypt css ctype cups cxx dbus dga directfb djvu dri dts dv dvd dvdr eds emboss encode evo exif fam fbcon ffmpeg firefox flac fontconfig fortran ftp gdbm gif gmp gnome gnome-keyring gnome-online-accounts gnutls gpm gstreamer gtk gzip iconv imap imlib introspection ipv6 jpeg jpeg2k lame lcms ldap libnotify libsecret lock lzma lzo mad mmx mng modplug modules mozilla mp3 mp4 mpeg mudflap multilib nautilus ncurses networkmanager nls nptl nsplugin ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support readline sdl session snmp socialweb spell sse sse2 sse4.1 sse4.2 ssl ssse3 startup-notification svg tcpd theora tiff truetype type1 udev udisks unicode upower usb v4l vcd vorbis wifi wxwidgets x264 xcb xml xv xvid zeroconf zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev mouse keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="it en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="intel v4l fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Vikraman (RETIRED) gentoo-dev 2013-07-03 00:38:36 UTC
I pushed a patch in cvs. This should fix the build.

Since the upstream for this module is dead, have you tried using the new in-kernel drivers? It works fine for me since 3.9.
Comment 2 Paolo 2013-07-03 21:49:22 UTC
hello!
thanks for your work, now it is all ok :)

Yes i have activated the new rtsx into the kernel but without this module SD cards aren't mounted!