-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bonjour,

J'ai essay� la seconde solution. Maintenant, j'ai :

gcc `cat ./obj/cc.tr`  -DHAVE_MKSTEMP -O2 -Wall -Wstrict-prototypes 
- -Wmissing-declarations -Wmissing-prototypes -Wtraditional -fno-builtin 
- -fno-common  -I./src -I./obj -I./obj -I./src  -o ./obj/imainarg.o -c 
./src/imainarg.c
./src/imainarg.c:60: `systempapername' redeclared as different kind of symbol
/usr/local/include/paper.h:53: previous declaration of `systempapername'
./src/imainarg.c:60: warning: multi-character character constant
./src/imainarg.c:60: warning: initialization makes pointer from integer 
without a cast
./src/imainarg.c: In function `gs_main_init_with_args':
./src/imainarg.c:208: called object is not a function
./src/imainarg.c: In function `argproc':
./src/imainarg.c:655: warning: assignment discards qualifiers from pointer 
target type
make: *** [obj/imainarg.o] Error 1

En fait, ce /usr/local/include/paper.h est un fichier Debian provenant de 
libpaperg-dev que j'ai copi� sur SuSE.

Dans imainarg.c, j'avais une erreur � cause de 

/* Change by Torsten Landschoff <[EMAIL PROTECTED]>:
 * Include the paper.h header for the handling of the system paper size
 * below.
 *  -- Thu, 30 Mar 2000 21:28:25 +0200 */
#include <paper.h>

Je crois que je tourne en rond.

Yann

Le Samedi 7 D�cembre 2002 18:22, vous avez �crit :

> > ./obj/imainarg.o(.text+0x3a7): undefined reference to `systempapername'
>
> Debian a le concept de `system paper name' (p.ex. a4). Je ne savais pas
> qu'ils avaient customiz� � ce point CUPS, mais c'est vrai que si on veut
> que la config paper-size ait un sens ...
>
> cf `libpaperg'.
>
> Dans ton cas, soit tu int�gres libpaperg � ta SuSE, soit tu fais un truc
> comme:
>
>    const char *systempapername = 'a4';
>
> au d�but du fichier imainarg.c

- -- 
http://www.forget-me.net
Alternatives sur le Net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9841qm4KYjQo0y9oRAqqHAKCIZgztvkjC2HRAhkvbxHj0JneyywCfdFVl
2owSHop7Uc5y7nOav3CzF1I=
=s/FD
-----END PGP SIGNATURE-----
--
http://www-internal.alphanet.ch/linux-leman/ avant de poser
une question. Ouais, pour se d�sabonner aussi.

Répondre à