From: Yan Seiner <yan-6T0/PJfuvIjQT0dZR+AlfA@public.gmane.org>
To: Pekka Paalanen <pq-X3B1VOXEql0@public.gmane.org>
Cc: Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Re: git compile failure
Date: Fri, 30 Jan 2009 06:16:18 -0800 [thread overview]
Message-ID: <49830BB2.2040602@seiner.com> (raw)
In-Reply-To: <20090129231559.302a708e-cxYvVS3buNOdIgDiPM52R8c4bpwCjbIv@public.gmane.org>
Pekka Paalanen wrote:
> On Thu, 29 Jan 2009 09:10:24 -0800 (PST)
> "Yan Seiner" <yan@seiner.com> wrote:
>
>
>> I'm trying to build nouveau form git. The compile fails with:
>>
>> gcc -DHAVE_CONFIG_H -I. -I.. -D_XOPEN_SOURCE=500 -I
>> -I/usr/include/pixman-1 -I/usr/include/drm -I/usr/include/X11/dri -g -O2
>> -Wall -minline-all-stringops -D_XOPEN_SOURCE=500 -I
>> -I/usr/include/pixman-1 -I/usr/include/drm -I/usr/include/X11/dri -MT
>> nouveau_device.lo -MD -MP -MF .deps/nouveau_device.Tpo -c
>> nouveau_device.c -fPIC -DPIC -o .libs/nouveau_device.o
>> In file included from nouveau_device.c:27:
>> nouveau_drmif.h:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
>> ‘__attribute__’ before ‘int’
>>
>
> I've no idea how that happens. It compiles fine for me, just tried.
> You might try something like
> $ git remote update
> $ make distclean
> $ git rebase origin/master
> $ ./autogen.sh
> $ make
>
OK, I've tried that.... No joy. The problem is that the autogen script
doesn't find any of the correct header files. It's a debian dependency
issue. Even when I edit the source by hand to put in the correct
locations, it still fails. I think I'm wasting a lot of time trying to
reverse-engineer the debian deps rather than building nouveau. Is there
a 'getting started' howto for building X? I only need the very basics
for testing nouveau. Is there some basic basic script that will pull
down the tarballs and allow me to install a minimal xorg for testing
nouveau?
--Yan
> ...
>
>> nouveau_device.c: In function ‘nouveau_device_open_existing’:
>> nouveau_device.c:53: warning: implicit declaration of function
>> ‘nouveau_device_get_param’
>> make[2]: *** [nouveau_device.lo] Error 1
>> make[2]: Leaving directory `/usr/src/nouveau/xf86-video-nouveau/src'
>>
>>
>> The first offending line is here:
>>
>> NOUVEAU_PRIVATE int
>> nouveau_device_open_existing(struct nouveau_device **, int close,
>> int fd, drm_context_t ctx);
>>
>
> ./src/nouveau_local.h:29:#define NOUVEAU_PRIVATE _X_HIDDEN
>
>
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
next prev parent reply other threads:[~2009-01-30 14:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-29 17:10 git compile failure Yan Seiner
[not found] ` <141d1c48884ed68f7e91236a287d48a9.squirrel-+Pg63oGcj7QHmtrW3VDF9w@public.gmane.org>
2009-01-29 21:15 ` Pekka Paalanen
[not found] ` <20090129231559.302a708e-cxYvVS3buNOdIgDiPM52R8c4bpwCjbIv@public.gmane.org>
2009-01-29 21:34 ` Yan Seiner
2009-01-30 14:16 ` Yan Seiner [this message]
[not found] ` <49830BB2.2040602-6T0/PJfuvIjQT0dZR+AlfA@public.gmane.org>
2009-01-30 17:57 ` Pekka Paalanen
[not found] ` <20090130195749.4f03acb2-cxYvVS3buNOdIgDiPM52R8c4bpwCjbIv@public.gmane.org>
2009-01-31 0:19 ` Yan Seiner
2009-01-31 23:52 ` Yan Seiner
[not found] ` <4984E455.4070701-6T0/PJfuvIjQT0dZR+AlfA@public.gmane.org>
2009-02-01 9:29 ` Mark Carey
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=49830BB2.2040602@seiner.com \
--to=yan-6t0/pjfuvijqt0dzr+alfa@public.gmane.org \
--cc=Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
--cc=pq-X3B1VOXEql0@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.