http://bugs.freedesktop.org/show_bug.cgi?id=11771
Summary: building mesa on Solaris 9 fails Product: Mesa Version: unspecified Platform: SPARC OS/Version: Solaris Status: NEW Severity: major Priority: high Component: Mesa core AssignedTo: mesa3d-dev@lists.sourceforge.net ReportedBy: [EMAIL PROTECTED] Hi, I tried to build the latest Mesa on Solaris. For make sunos5-gcc make sunos5-64-gcc ... I got the following error: /bin/sh: test: argument expected make: *** [sunos5-gcc] Error 1 This was a small problem in the the main Makfile. Line 155: @ if [ -e configs/current ] ; then \ echo "Please run 'make realclean' before changing configs" ; \ exit 1 ; \ fi It uses "-e" that is only known for the ksh and the bash so the main makefile needs e.g SHELL=/bin/ksh After adding the SHELL line to the main Makefile I can build make sunos5-64-gcc up to: gcc -c -I../../include -I../../src/mesa -I../../src/mesa/main -I../../src/mesa/glapi -I../../src/mesa/math -I../../src/mesa/tnl -I../../src/mesa/shader -I../../src/mesa/shader/grammar -I../../src/mesa/shader/slang -I../../src/mesa/swrast -I../../src/mesa/swrast_setup -Wall -O3 -m64 -mcpu=ultrasparc -mv8plus -mvis -g -fomit-frame-pointer -pipe -fPIC -m64 -D_REENTRANT -DUSE_XSHM -DUSE_SPARC_ASM -std=c99 -ffast-math -I/usr/openwin/include glapi/glthread.c -o glapi/glthread.o gcc -c -I../../include -I../../src/mesa -I../../src/mesa/main -I../../src/mesa/glapi -I../../src/mesa/math -I../../src/mesa/tnl -I../../src/mesa/shader -I../../src/mesa/shader/grammar -I../../src/mesa/shader/slang -I../../src/mesa/swrast -I../../src/mesa/swrast_setup -Wall -O3 -m64 -mcpu=ultrasparc -mv8plus -mvis -g -fomit-frame-pointer -pipe -fPIC -m64 -D_REENTRANT -DUSE_XSHM -DUSE_SPARC_ASM -std=c99 -ffast-math -I/usr/openwin/include sparc/glapi_sparc.S -o sparc/glapi_sparc.o /usr/ccs/bin/as: "<stdin>", line 1816: error: symbol "glBlendEquationSeparateEXT" is used but not defined /usr/ccs/bin/as: "<stdin>", line 1358: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1358: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1359: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1359: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1360: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1360: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1361: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1361: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1362: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1362: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1363: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1363: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1364: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1364: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1365: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1365: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1376: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1376: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1377: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1377: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1402: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1402: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1444: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1444: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1445: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1445: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1446: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1446: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1447: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1447: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1448: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1448: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1449: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1449: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1450: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1450: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1451: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1451: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1452: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1452: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1533: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1533: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1534: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1534: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1535: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1535: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1536: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1536: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1537: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1537: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1544: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1544: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1545: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1545: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1563: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1563: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1564: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1564: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1565: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1565: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1566: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1566: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1567: error: expression must evaluate to a nonrelocatable (absolute) value /usr/ccs/bin/as: "<stdin>", line 1567: error: expression must evaluate to a nonrelocatable (absolute) value make[4]: *** [sparc/glapi_sparc.o] Error 1 make[4]: Leaving directory `/remote/lithop4/egger/src/solaris/Mesa-7.0/src/mesa' make[3]: *** [default] Error 2 make[3]: Leaving directory `/remote/lithop4/egger/src/solaris/Mesa-7.0/src/mesa' make[2]: *** [subdirs] Error 1 make[2]: Leaving directory `/remote/lithop4/egger/src/solaris/Mesa-7.0/src' make[1]: *** [default] Error 1 make[1]: Leaving directory `/remote/lithop4/egger/src/solaris/Mesa-7.0' make: *** [sunos5-64-gcc] Error 2 I used gcc 4.0.2 and gcc 4.2.1 gcc -v Using built-in specs. Target: sparc-sun-solaris2.8 Configured with: ../configure --prefix=/opt/gcc-4.0.2 --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls --disable-libgcj --enable-languages=c,c++ Thread model: posix gcc version 4.0.2 gcc -v gcc -v Using built-in specs. Target: sparc-sun-solaris2.9 Configured with: ../configure --prefix=/global/cust_apps_seg2/seg-tools/development/solaris/gcc-4.2.1 --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls --disable-libgcj --enable-languages=c,c++ Thread model: posix gcc version 4.2.1 uname -a SunOS lenzcs9 5.9 Generic_118558-22 sun4u sparc SUNW,Sun-Blade-1500 as -V as: Sun WorkShop 6 update 2 Compiler Common 6.2 Solaris_9_CBE 2001/04/02 as: error: no input filename given usage: as [-V] [-Q{y,n}] [-f[O][if]#] [-q] [-s] [-S] [-K {pic,PIC}] [-o objfile] [-L] [-T] [-P [[-Ipath] [-Dname] [-Dname=def] [-Uname]]...] [-m [-Ym,path]] [-n] [-ul] [-xF] [-xarch=v7] [-xarch=v8] [-xarch=v8a] [-xarch=v8plus] [-xarch=v8plusa] [-xarch=v8plusb] [-xarch=v9] [-xarch=v9a] [-xarch=v9b] [-xcode={pic13,pic32}] file.s... It would be great if you could help with that error. It seems that the assembler file has glapi_sparc.S has something problematic for the sun assembler file. In former times I've successfully build a Mesa version 6.2.1 (32 Bit) and a 6.4.2 (32/64 Bit). Maybe it's possible not to use the assembler file ... Kind regards, Roland -- 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. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev