http://bugs.freedesktop.org/show_bug.cgi?id=10135

           Summary: some of the progs don't compile (gltrace)
           Product: Mesa
           Version: CVS
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: low
         Component: Demos
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


cd progs
make SUBDIRS=tools/trace
...

gltrace_support.cc: In function ‘const char*<unnamed>::demangle(const
char*)’:
gltrace_support.cc:47: error: cannot convert ‘unsigned int*’ to
‘size_t*’ for argument ‘3’ to ‘char* __cxxabiv1::__cxa_demangle(const
char*, char*, size_t*, int*)’
gltrace_support.cc: In function ‘std::string gltrace::getStackTrace(int,
int)’:
gltrace_support.cc:125: error: ‘assert’ was not declared in this scope

 It doesn't include assert.h, but it calls assert.  Maybe this worked for
somebody once upon a time if a system header included assert.h.

 And I'm on AMD64 (Ubuntu Edgy), so size_t is 64 bits, but int is 32.

 Another one that doesn't compile is the miniglx directory./tmp/ccg9A226.o: In
function `main':
/usr/local/src/g965/mesa/progs/miniglx/sample_server.c:38: undefined reference
to `__miniglx_StartServer'

 The osdemos don't link for me, but that's to be expected since I built mesa
with the linux-dri-x86-64 config.  (hacked to use lib instead of lib64, since
that's how Debian/Ubuntu do it).

 There's no Makefile in util.  There are some sources with main() functions in
there, although they're only tests for the code fragments, so I guess that's
appropriate.

 The Makefile.ugl in windml is
[EMAIL PROTECTED]:/usr/local/src/g965/mesa/progs/windml$ make -f Makefile.ugl 
Makefile.ugl:37: ../rules.windml: No such file or directory
Makefile.ugl:52: *** missing separator.  Stop.



 I'm not in need of gltrace; I'm just compiling the programs that come with
mesa for the fun of it, and to see what's available.  (hopefully a demo/test
prog to tell me if i965 supports any compressed textures other than s3tc, with
GL_ARB_texture_compression.  vegastrike compresses on the fly, and segfaults
with libtxc_dxtn).  So I thought I'd help out with this janitorial bug report.

 Geez, I just can't write a bug report without making it into a blog entry or
something.  Oh well, happy hacking.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to