-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
In SUSE Linux Professioan 10.1 I used this script to get the red hat
program to run on openSUSE 10.1.
- -------------------------------Start-Program-------------------------------
COMPANY=WHITE;export COMPANY
dd_report=">/usr/bin/lpr -Plaser";export dd_report
dd_tray3=">/usr/bin/lpr -Plaser_tray3";export dd_tray3
dd_tom=">/usr/bin/lpr -Plexmark";export dd_tom
dd_local=">./local";export dd_local
dd_samsung=">/usr/bin/lpr -PML-1750";export dd_samsung
dd_cathy="/home/cathy/REPORT";export dd_cathy
dd_barcode=">/usr/bin/lpr -Pbarcode";export dd_barcode
trap ' '20
TERM=ansi; export TERM
- -------------------------------End-Program---------------------------------
Nown on openSUSE 11.2 I get the message
trap: usage: trap [-lp] [[arg] signal_spec ...]
any ideas on how the trap command on linux has changed that I get this
error instead of the program running. removeing allow the program to run
but then they are unable to print local or on the samba printers.
Any Ideas on how to fix this?
Thanks in adavance.
- --
Boyd Gerber <gerberb(a)zenez.com> 801 849-0213
ZENEZ 1042 East Fort Union #135, Midvale Utah 84047
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAksKG1MACgkQVtBjDid73eY3YwCdGm1jchKdhRKlmY2pG/GQEY/Y
PpMAn0CMSqr0J6ctq/TI1hIyeunM8TcO
=IlEJ
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse-programming+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-programming+help(a)opensuse.org
Hi, I'm trying to build blender on build service and I am stuck with
fixing the above problem. The offending section of BLI_bfile.c is :-
/* Is this unpack&run? */
sprintf(temp, "%s/%d/environment", dirname(bprogname), BLENDER_VERSION);
if(BLI_exist(temp)) {
BLI_setenv_if_new("BLENDER_SHARE", dirname(bprogname)); This is
the line that causes "|warning: passing argument 2 of
'BLI_setenv_if_new' from incompatible pointer type"|
} else {
BLI_setenv_if_new("BLENDER_SHARE", SHARED_DIRECTORY);
}
What I assume is the matching declaration from BLI_util.h :-
void BLI_setenv_if_new(const char *env, const char* val); This is line
54 referred to below in note:
The project is home:plater:branches:graphics blender and the output of
the build log is :-
|gcc -o
/usr/src/packages/BUILD/build/linux2/source/blender/blenlib/intern/BLI_bfile.o
-c -pthread -Wno-char-subscripts -Wdeclaration-after-statement
-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector
-funwind-tables -fasynchronous-unwind-tables -fno-strict-aliasing
-fopenmp -O2 -Wall -fopenmp
-I/usr/src/packages/BUILD/build/linux2/source/blender/blenlib
-Isource/blender/blenlib
-I/usr/src/packages/BUILD/build/linux2/source/blender/makesdna
-Isource/blender/makesdna
-I/usr/src/packages/BUILD/build/linux2/source/blender/blenkernel
-Isource/blender/blenkernel -Iintern/guardedalloc
-I/usr/src/packages/BUILD/build/linux2/source/blender/editors/include
-Isource/blender/editors/include -I/usr/include -I/usr/include/freetype2
-I/usr/include
-I/usr/src/packages/BUILD/build/linux2/extern/binreloc/include
-Iextern/binreloc/include source/blender/blenlib/intern/BLI_bfile.c
source/blender/blenlib/intern/BLI_bfile.c: In function
'BLI_bfile_init_vars':
source/blender/blenlib/intern/BLI_bfile.c:248: warning: implicit
declaration of function 'dirname'
source/blender/blenlib/intern/BLI_bfile.c:248: warning: format '%s'
expects type 'char *', but argument 3 has type 'int'
source/blender/blenlib/intern/BLI_bfile.c:250: warning: passing argument
2 of 'BLI_setenv_if_new' from incompatible pointer type
||source/blender/blenlib/BLI_util.h:54: note: expected 'const char *'
but argument is of type 'int'
|
Please excuse my ignorance, I'm still learning c and c++ but what better
way to do it than fixing other peoples programming errors. The build
completes but the build service outputs this error at the end:
|E: blender 64bit-portability-issue
source/blender/blenlib/intern/BLI_bfile.c:250
Thanks in advance
Dave Plater
|
--
To unsubscribe, e-mail: opensuse-programming+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-programming+help(a)opensuse.org
Dear OpenSuse Team,
i am new to the opensuse development list and would like to help the
OpenSuse Linux system.
I am a system consultant for Linux and write system software for Linux
Systems with C programming language.
yours sincerly
Alexander Schunk
--
To unsubscribe, e-mail: opensuse-programming+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-programming+help(a)opensuse.org
Hello,
i would like to contribute software to the OpenSuse system.
Is there a special mailing list where i can aks for or push things forward?
(I dont like to push, i just ask :) )
thank you.
yours sincerly
Alexander Schunk
--
To unsubscribe, e-mail: opensuse-programming+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-programming+help(a)opensuse.org