Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jan 2004 06:50:37 -0600
From:      Troy <troy@twisted.net>
To:        ports@FreeBSD.org
Subject:   upgrading gswitchit-2.5.0_2 to 2.5.0_3 broken?
Message-ID:  <20040129125037.GA54074@twisted.net>

next in thread | raw e-mail | index | archive | help
Just was trying to portupgrade gswitchit and ran into these errors?
Anyone have an idea why?


In file included from gswitchit_config.c : 31 : 
switchcuts.h : 30 :  syntax error before `XkbDescModifierFunc'
In file included from gswitchit_config.c : 76 : 
switchcuts.inc : 1 :  warning: excess elements in struct initializer
switchcuts.inc : 1 :  warning: (near initialization for `switchcuts[0]')
switchcuts.inc : 4 :  `XklSetKeyAsSwitcher' undeclared here (not in a
function)
switchcuts.inc : 4 :  initializer element is not constant
switchcuts.inc : 4 :  (near initialization for `switchcuts[1].userData')
switchcuts.inc : 4 :  warning: excess elements in struct initializer
switchcuts.inc : 4 :  warning: (near initialization for `switchcuts[1]')
switchcuts.inc : 7 :  `XklSetKeyAsSwitcher' undeclared here (not in a
function)
switchcuts.inc : 7 :  initializer element is not constant
switchcuts.inc : 7 :  (near initialization for `switchcuts[2].userData')
switchcuts.inc : 7 :  warning: excess elements in struct initializer
switchcuts.inc : 7 :  warning: (near initialization for `switchcuts[2]')
switchcuts.inc : 10 :  `XklSetKeyAsSwitcher' undeclared here (not in a
function)
switchcuts.inc : 10 :  initializer element is not constant
switchcuts.inc : 10 :  (near initialization for
`switchcuts[3].userData')
switchcuts.inc : 10 :  warning: excess elements in struct initializer
switchcuts.inc : 10 :  warning: (near initialization for
`switchcuts[3]')
switchcuts.inc : 13 :  `XklSetKeyAsSwitcher' undeclared here (not in a
function)
switchcuts.inc : 13 :  initializer element is not constant
switchcuts.inc : 13 :  (near initialization for
`switchcuts[4].userData')
switchcuts.inc : 13 :  warning: excess elements in struct initializer
switchcuts.inc : 13 :  warning: (near initialization for
`switchcuts[4]')
switchcuts.inc : 16 :  `XklSetKeyAsSwitcher' undeclared here (not in a
function)
switchcuts.inc : 16 :  initializer element is not constant
switchcuts.inc : 16 :  (near initialization for
`switchcuts[5].userData')
switchcuts.inc : 16 :  warning: excess elements in struct initializer
switchcuts.inc : 16 :  warning: (near initialization for
`switchcuts[5]')
gswitchit_config.c: In function `_GSwitchItXkbConfigDoWithSettings':
gswitchit_config.c : 269 :  syntax error before `fun'
gswitchit_config.c : 333 :  `fun' undeclared (first use in this
function)
gswitchit_config.c : 333 :  (Each undeclared identifier is reported only
once
gswitchit_config.c : 333 :  for each function it appears in.)
gswitchit_config.c : 333 :  structure has no member named `fun'
gswitchit_config.c : 339 :  too many arguments to function
`XklConfigActivate'
gswitchit_config.c : 348 :  too many arguments to function
`XklConfigWriteXKMFile'
gmake[2]: *** [gswitchit_config.lo] Error 1
gmake[2]: Leaving directory
`/usr/ports/x11/gswitchit/work/gswitchit-2.5.0/common'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/x11/gswitchit/work/gswitchit-2.5.0'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/x11/gswitchit.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade45753.0 make
** Fix the problem and try again.
** The following packages were not installed or upgraded (*:skipped /
!:failed)
        ! x11/gswitchit (gswitchit-2.5.0_2)     (compiler error)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040129125037.GA54074>