Hello list!
When i try to compile libsectok i get this error:
----------------------------------------------------------------
#make -d
....
Finished prerequisites of target file `sectok.so'.
Must remake target `sectok.so'.
gcc -g -Wall -DDL_READERS -I/usr/include/openssl -fpic -c sectok.c -o
sectok.so
Putting child 0x080770e0 (sectok.so) PID 2336 on the chain.
Live child 0x080770e0 (sectok.so) PID 2336
Got a SIGCHLD; 1 unreaped children.
Reaping winning child 0x080770e0 PID 2336
Removing child 0x080770e0 PID 2336 from chain.
Successfully remade target file `sectok.so'.
Finished prerequisites of target file `libsectok.so.3.1'.
Must remake target `libsectok.so.3.1'.
ld -x -Bshareable -Bforcearchive -shared atr.so cmdtab.so cyberflex.so
input.so r1r2.so readers.so sc7816.so sectok.so -o libsectok.so.3.1
ld: unrecognized option '-Bforcearchive'
ld: use the --help option for usage information
Got a SIGCHLD; 2 unreaped children.
Putting child 0x08078720 (libsectok.so.3.1) PID 2339 on the chain.
Live child 0x08078720 (libsectok.so.3.1) PID 2339
Reaping losing child 0x08078720 PID 2339
make: *** [libsectok.so.3.1] Error 1
Removing child 0x08078720 PID 2339 from chain.
Here is my makefile:
-------------------------------------------------
VERSION= 3.1
TARGETS= libsectok.a libsectok.so.$(VERSION)
PREFIX= /usr/local
# You might have to add -I/usr/include/openssl to CFLAGS
CFLAGS= -g -Wall -DDL_READERS -I/usr/include/openssl
LDFLAGS= -x -Bshareable -Bforcearchive -shared
# You may have to add getopt.c to SRC if your getopt doesn't have optreset
SRC= atr.c cmdtab.c cyberflex.c input.c r1r2.c readers.c sc7816.c
sectok.c
OBJ= $(SRC:.c=.o)
PERF_OBJ= $(SRC:.c=_perf.o)
SOBJ= $(SRC:.c=.so)
--- SNIP ---
any idea whats going wrong here?
Cheers, Mario
--
COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
--------------------------------------------------
1. GMX TopMail - Platz 1 und Testsieger!
2. GMX ProMail - Platz 2 und Preis-Qualit�tssieger!
3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post
_______________________________________________
Muscle mailing list
[EMAIL PROTECTED]
http://lists.musclecard.com/mailman/listinfo/muscle