<p>So, did the problem go away after you updated those packages ?</p>
<div class="gmail_quote">On Sep 8, 2011 2:36 AM, "Sergiy Nazarenko" <<a href="mailto:nazarenko.sergiy@gmail.com">nazarenko.sergiy@gmail.com</a>> wrote:<br type="attribution">> Hi David!<br>> <br>> I've got same problem. As I see that happens before I've updated<br>
> following packages. I needed it because I compile ghc702.<br>> mtl<br>> transformers<br>> regex-base<br>> regex-compat<br>> regex-posix<br>> hslogger network parsec hslogger HUnit MissingH<br>> datetime<br>
> <br>> If this information helps you to figure out this errors.<br>> <br>> Cheers,<br>> Sergiy<br>> <br>> On 6 September 2011 18:52, David Banas <<a href="mailto:dbanas@banasfamily.net">dbanas@banasfamily.net</a>> wrote:<br>
>> Hi all,<br>>><br>>> I'm trying to build a shared, dynamic library for use with a C program.<br>>> I'm getting an `undefined symbol' error, when I try to run that C<br>>> program,<br>
>> and was hoping that the last line in the output, below, might mean<br>>> something to someone.<br>>> I include the entire output of a `make rebuild' command, below, hoping<br>>> that, maybe, I just have my command line options a little wrong.<br>
>><br>>> Thanks!<br>>> -db<br>>><br>>> dbanas@dbanas-eeepc:~/prj/haskell/AMIParse/trunk$ make rebuild<br>>> make clean<br>>> make[1]: Entering directory `/home/dbanas/prj/haskell/AMIParse/trunk'<br>
>> rm -f *.hi *.o *.out ami_test *.so<br>>> make[1]: Leaving directory `/home/dbanas/prj/haskell/AMIParse/trunk'<br>>> make all<br>>> make[1]: Entering directory `/home/dbanas/prj/haskell/AMIParse/trunk'<br>
>> gcc -I/usr/lib/ghc-6.12.3/include/ -g -fPIC -c -o ami_test.o<br>>> ami_test.c<br>>> gcc -rdynamic -o ami_test ami_test.o -ldl<br>>> ghc -c ApplicativeParsec.hs -cpp -package parsec-3.1.1 -package dsp<br>
>> -dynamic -fPIC<br>>> ghc -c AMIParse.hs -cpp -package parsec-3.1.1 -package dsp -dynamic<br>>> -fPIC<br>>> ghc -c ExmplUsrModel.hs -cpp -package parsec-3.1.1 -package dsp -dynamic<br>>> -fPIC<br>
>> ghc -c AMIModel.hs -cpp -package parsec-3.1.1 -package dsp -dynamic<br>>> -fPIC<br>>> gcc -I/usr/lib/ghc-6.12.3/include/ -g -fPIC -c -o ami_model.o<br>>> ami_model.c<br>>> rm -f libami.so<br>
>> ghc -o libami.so -shared -dynamic -package parsec-3.1.1 -package dsp<br>>> AMIParse.o AMIModel.o ami_model.o AMIModel_stub.o ApplicativeParsec.o<br>>> ExmplUsrModel.o<br>>> make[1]: Leaving directory `/home/dbanas/prj/haskell/AMIParse/trunk'<br>
>> dbanas@dbanas-eeepc:~/prj/haskell/AMIParse/trunk$ ./ami_test test.ami<br>>> /usr/lib/ghc-6.12.3/ghc-prim-0.2.0.0/<a href="http://libHSghc-prim-0.2.0.0-ghc6.12.3.so">libHSghc-prim-0.2.0.0-ghc6.12.3.so</a>:<br>
>> undefined symbol: stg_newByteArrayzh<br>>><br>>><br>>><br>>> _______________________________________________<br>>> Haskell-Cafe mailing list<br>>> <a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
>> <a href="http://www.haskell.org/mailman/listinfo/haskell-cafe">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>>><br></div>