mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Gregoire Favre <greg@ulima.unil.ch>
To: linux-kernel@vger.kernel.org
Subject: 2.5.5 don't compile (ALSA rtctimer and irda)
Date: Wed, 20 Feb 2002 22:15:04 +0100	[thread overview]
Message-ID: <20020220211504.GA5456@ulima.unil.ch> (raw)

Hello,

if I let rtctimer as a module in alsa (haven't tried in non module
form):

ld -m elf_i386  -r -o snd-timer.o timer.o
gcc -D__KERNEL__ -I/usr/src/linux-2.5.5/include -Wall -Wstrict-prototypes -Wno-trig
raphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-s
tack-boundary=2 -march=i686 -DMODULE  -DKBUILD_BASENAME=rtctimer  -DEXPORT_SYMTAB -
c rtctimer.c
rtctimer.c:76: parse error before `rtc_task'
rtctimer.c:76: warning: type defaults to `int' in declaration of `rtc_task'
rtctimer.c:76: warning: data definition has no type or storage class
rtctimer.c: In function `rtctimer_start':
rtctimer.c:100: `rtc_task_t' undeclared (first use in this function)
rtctimer.c:100: (Each undeclared identifier is reported only once
rtctimer.c:100: for each function it appears in.)
rtctimer.c:100: `rtc' undeclared (first use in this function)
rtctimer.c:100: invalid lvalue in assignment
rtctimer.c:102: warning: implicit declaration of function `rtc_control'
rtctimer.c: In function `rtctimer_stop':
rtctimer.c:111: `rtc_task_t' undeclared (first use in this function)
rtctimer.c:111: `rtc' undeclared (first use in this function)
rtctimer.c:111: invalid lvalue in assignment
rtctimer.c: In function `rtctimer_interrupt':
rtctimer.c:124: warning: implicit declaration of function `tasklet_hi_schedule'
rtctimer.c: In function `rtctimer_private_free':
rtctimer.c:144: `rtc_task_t' undeclared (first use in this function)
rtctimer.c:144: `rtc' undeclared (first use in this function)
rtctimer.c:144: invalid lvalue in assignment
rtctimer.c:146: warning: implicit declaration of function `rtc_unregister'
rtctimer.c: In function `rtctimer_init':
rtctimer.c:175: warning: implicit declaration of function `tasklet_init'

And stupidly I do a make menuconfig and lost the end of the output...

And after removing it, all compiled fine, but make modules_install:

make -C  arch/i386/lib modules_install
make[1]: Entering directory `/usr/src/linux-2.5.5/arch/i386/lib'
make[1]: Nothing to be done for `modules_install'.
make[1]: Leaving directory `/usr/src/linux-2.5.5/arch/i386/lib'
cd /lib/modules/2.5.5; \
mkdir -p pcmcia; \
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.5.5; fi
depmod: *** Unresolved symbols in /lib/modules/2.5.5/kernel/net/irda/irda.o
depmod:         virt_to_bus_not_defined_use_pci_map
make: *** [_modinst_post] Error 1
20.430u 1.980s 0:23.55 95.1%    0+0k 0+0io 57039pf+0w
Exit 2

Thanks you very much,

	Grégoire
________________________________________________________________
http://ulima.unil.ch/greg ICQ:16624071 mailto:greg@ulima.unil.ch

                 reply	other threads:[~2002-02-20 21:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20020220211504.GA5456@ulima.unil.ch \
    --to=greg@ulima.unil.ch \
    --cc=linux-kernel@vger.kernel.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®