[PolyORB-users] Re: [PolyORB-devel] Compile Error in cos/naming for MinGW.

Martin Krischik krischik at users.sourceforge.net
Thu Dec 23 08:07:24 CET 2004


Am Sonntag, 19. Dezember 2004 12:56 schrieb Jerome Hugues:

> Martin Krischik (krischik at users.sourceforge.net):
> > gcc.exe: no input files
> > gnatlink: cannot call ../../support/linker.exe
>
> A few things to check
>
> 1/ there is actually ../../support/linker.exe
> 2/ you have the rights to execute it

I think I found the problem with the Windows compile:

checking the maximum length of command line arguments... 8192

And if you look at the commandline executed:

gcc b~po_cos_naming.o ../../src/web_common/aws.o ../../src/web_common/aws-mime.o ../../src/web_c
ommon/aws-url-raise_url_error.o ../../src/web_common/md5.o ../../src/web_common/aws-utils.o ../.
./src/polyorb.o ../../src/polyorb-constants.o ../../src/corba/polyorb-corba_p.o ../../src/corba/
polyorb-corba_p-names.o ../../src/polyorb-fixed_point.o ../../src/giop/polyorb-giop_p.o ../../sr
c/polyorb-log.o ../../src/polyorb-components.o ../../src/polyorb-filters.o ../../src/giop/miop/p
olyorb-miop_p.o ../../src/polyorb-opaque.o ../../src/polyorb-sequences.o ../../src/polyorb-seque
nces-unbounded.o ../../src/soap/polyorb-soap_p.o ../../src/polyorb-tasking.o ../../src/polyorb-t
asking-mutexes.o ../../src/polyorb-smart_pointers.o ../../src/polyorb-tasking-condition_variable
s.o ../../src/polyorb-tasking-profiles.o ../../src/polyorb-tasking-profiles-no_tasking.o ../../s
rc/polyorb-tasking-threads.o ../../src/polyorb-tasking-advanced_mutexes.o ../../src/polyorb-type
s.o ../../src/corba/corba-sequences.o ../../src/corba/corba-sequences-unbounded.o ../../src/corb
a/polyorb-corba_p-exceptions.o ../../src/corba/polyorb-corba_p-policy.o ../../src/corba/polyorb-
sequences-unbounded-corba_helper.o ../../src/polyorb-utils.o ../../src/giop/polyorb-giop_p-excep
tions.o ../../src/web_common/aws-url.o ../../src/polyorb-objects.o ../../src/polyorb-utils-chain
ed_lists.o ../../src/polyorb-any.o ../../src/polyorb-annotations.o ../../src/polyorb-any-excepti
onlist.o ../../src/polyorb-any-nvlist.o ../../src/giop/polyorb-giop_p-code_sets-data.o ../../src
/polyorb-jobs.o ../../src/polyorb-asynch_ev.o ../../src/polyorb-opaque-chunk_pools.o ../../src/p
olyorb-poa_policies.o ../../src/polyorb-poa_config.o ../../src/corba/corba-impl.o ../../src/corb
a/corba-abstractbase.o ../../src/corba/corba-contextlist.o ../../src/corba/corba-nvlist.o ../../
src/corba/corba-context.o ../../src/polyorb-poa_policies-thread_policy.o ../../src/polyorb-poa_p
olicies-thread_policy-main_thread.o ../../src/polyorb-poa_policies-thread_policy-orb_ctrl.o ../.
./src/polyorb-poa_policies-thread_policy-single_thread.o ../../src/soap/polyorb-soap_p-parameter
s.o ../../src/soap/polyorb-soap_p-message-payload.o ../../src/polyorb-task_info.o ../../src/poly
orb-tasking-idle_tasks_managers.o ../../src/polyorb-tasking-threads-annotations.o ../../src/poly
orb-utils-dynamic_tables.o ../../src/polyorb-utils-hfunctions.o ../../src/polyorb-utils-hfunctio
ns-mul.o ../../src/polyorb-utils-htables.o ../../src/polyorb-utils-random.o ../../src/polyorb-ut
ils-hfunctions-hyper.o ../../src/polyorb-utils-simple_flags.o ../../src/srp/polyorb-utils-srp.o
../../src/polyorb-utils-strings.o ../../src/corba/polyorb-corba_p-orb_init.o ../../src/polyorb-p
arameters.o ../../src/polyorb-utils-htables-perfect.o ../../src/polyorb-dynamic_dict.o ../../src
/polyorb-utils-strings-lists.o ../../src/polyorb-initialization.o ../../src/polyorb-tasking-prof
iles-no_tasking-threads-annotations.o ../../src/corba/corba.o ../../src/polyorb-tasking-profiles
-no_tasking-threads.o ../../src/polyorb-tasking-profiles-no_tasking-mutexes.o ../../src/polyorb-
tasking-profiles-no_tasking-condition_variables.o ../../src/polyorb-any-initialization.o ../../s
rc/soap/polyorb-http_headers.o ../../src/soap/polyorb-http_methods.o ../../src/polyorb-parameter
s-file.o ../../src/polyorb-smart_pointers-initialization.o ../../src/polyorb-sockets_initializat
ion.o ../../src/polyorb-sockets.o ../../src/polyorb-buffers.o ../../src/giop/polyorb-giop_p-code
_sets.o ../../src/polyorb-representations.o ../../src/giop/polyorb-representations-cdr-giop_util
s.o ../../src/polyorb-sockets_copy.o ../../src/polyorb-asynch_ev-sockets.o ../../src/polyorb-bin
ding_data.o ../../src/giop/polyorb-binding_data-giop.o ../../src/polyorb-any-objref.o ../../src/
polyorb-exceptions.o ../../src/polyorb-if_descriptors.o ../../src/polyorb-obj_adapters.o ../../s
rc/polyorb-poa_types.o ../../src/polyorb-object_maps.o ../../src/polyorb-object_maps-system.o ..
/../src/polyorb-object_maps-user.o ../../src/polyorb-poa_manager.o ../../src/polyorb-poa_policie
s-id_assignment_policy.o ../../src/polyorb-poa_policies-id_uniqueness_policy.o ../../src/polyorb
-poa_policies-implicit_activation_policy.o ../../src/polyorb-poa_policies-implicit_activation_po
licy-no_activation.o ../../src/polyorb-poa_policies-lifespan_policy.o ../../src/polyorb-poa_poli
cies-lifespan_policy-persistent.o ../../src/polyorb-poa_policies-request_processing_policy.o ../
../src/polyorb-poa_policies-servant_retention_policy.o ../../src/polyorb-poa_policies-servant_re
tention_policy-non_retain.o ../../src/polyorb-poa_config-proxies.o ../../src/polyorb-poa_config-
root_poa.o ../../src/polyorb-references-corbaloc.o ../../src/polyorb-references-uri.o ../../src/
polyorb-request_scheduler.o ../../src/polyorb-orb_controller.o ../../src/polyorb-orb_controller-
basic.o ../../src/polyorb-references.o ../../src/polyorb-filters-interface.o ../../src/polyorb-b
inding_objects.o ../../src/polyorb-filters-slicers.o ../../src/polyorb-orb-interface.o ../../src
/polyorb-transport.o ../../src/giop/miop/polyorb-filters-miop-miop_in.o ../../src/giop/diop/poly
orb-protocols-giop-diop.o ../../src/giop/iiop/polyorb-protocols-giop-iiop.o ../../src/giop/miop/
polyorb-protocols-giop-uipmc.o ../../src/polyorb-protocols-interface.o ../../src/polyorb-request
_qos.o ../../src/polyorb-obj_adapters-group_object_adapter.o ../../src/polyorb-servants-interfac
e.o ../../src/polyorb-protocols.o ../../src/polyorb-servants.o ../../src/polyorb-setup.o ../../s
rc/polyorb-servants-group_servants.o ../../src/polyorb-requests.o ../../src/polyorb-binding_data
-local.o ../../src/polyorb-orb-no_tasking.o ../../src/polyorb-poa_manager-basic_manager.o ../../
src/polyorb-poa.o ../../src/polyorb-poa_policies-servant_retention_policy-retain.o ../../src/pol
yorb-poa_policies-request_processing_policy-use_servant_manager.o ../../src/polyorb-poa_policies
-request_processing_policy-use_default_servant.o ../../src/polyorb-poa_policies-request_processi
ng_policy-active_object_map_only.o ../../src/polyorb-poa_policies-lifespan_policy-transient.o ..
/../src/polyorb-poa_policies-implicit_activation_policy-activation.o ../../src/polyorb-poa_polic
ies-id_uniqueness_policy-unique.o ../../src/polyorb-poa_policies-id_uniqueness_policy-multiple.o
 ../../src/polyorb-poa_policies-id_assignment_policy-user.o ../../src/polyorb-poa_policies-id_as
signment_policy-system.o ../../src/corba/polyorb-corba_p-interceptors_hooks.o ../../src/corba/co
rba-serverrequest.o ../../src/polyorb-poa-basic_poa.o ../../src/polyorb-references-binding.o ../
../src/polyorb-setup-access_points.o ../../src/polyorb-setup-oa.o ../../src/polyorb-setup-proxie
s_poa.o ../../src/polyorb-setup-oa-basic_poa.o ../../src/polyorb-setup-tasking.o ../../src/polyo
rb-setup-tasking-no_tasking.o ../../src/soap/polyorb-soap_p-response.o ../../src/soap/polyorb-fi
lters-aws_interface.o ../../src/polyorb-transport-handlers.o ../../src/polyorb-orb.o ../../src/c
orba/corba-exceptionlist.o ../../src/corba/corba-request.o ../../src/corba/corba-forward.o ../..
/src/corba/corba-policy.o ../../src/corba/polyorb-corba_p-initial_references.o ../../src/corba/p
olyorb-corba_p-local.o ../../src/corba/corba-object-helper.o ../../src/corba/polyorb-corba_p-pol
icy_management.o ../../src/corba/corba-orb.o ../../src/corba/corba-object.o ../../src/polyorb-tr
ansport-connected.o ../../src/polyorb-transport-connected-sockets.o ../../src/giop/iiop/polyorb-
binding_data-giop-iiop.o ../../src/polyorb-transport-datagram.o ../../src/polyorb-transport-data
gram-sockets_in.o ../../src/polyorb-transport-datagram-sockets_out.o ../../src/giop/diop/polyorb
-binding_data-giop-diop.o ../../src/polyorb-utils-buffers.o ../../src/polyorb-representations-cd
r-common.o ../../src/polyorb-references-ior.o ../../src/polyorb-representations-cdr.o ../../src/
giop/miop/polyorb-miop_p-tagged_components.o ../../src/giop/polyorb-giop_p-tagged_components-cod
e_sets.o ../../src/giop/polyorb-giop_p-tagged_components.o ../../src/giop/polyorb-giop_p-code_se
ts-converters.o ../../src/giop/miop/polyorb-filters-miop.o ../../src/giop/miop/polyorb-miop_p-gr
oups.o ./cosnaming.o ../../idls/cos/naming/cosnaming-bindingiterator-helper.o ./cosnaming-helper
.o ./cosnaming-bindingiterator.o ./cosnaming-namingcontext-helper.o ./cosnaming-namingcontext.o
../../src/polyorb-filters-fragmenter.o ../../src/giop/miop/polyorb-filters-miop-miop_out.o ../..
/src/giop/polyorb-representations-cdr-giop_1_0.o ../../src/giop/polyorb-representations-cdr-giop
_1_1.o ../../src/giop/polyorb-representations-cdr-giop_1_2.o ../../src/srp/polyorb-representatio
ns-srp.o ../../src/srp/polyorb-protocols-srp.o ../../src/srp/polyorb-binding_data-srp.o ../../sr
c/polyorb-request_qos-service_contexts.o ../../src/giop/polyorb-giop_p-service_contexts.o ../../
src/giop/polyorb-protocols-giop-common.o ../../src/giop/polyorb-protocols-giop.o ../../src/giop/
polyorb-protocols-giop-giop_1_0.o ../../src/giop/polyorb-protocols-giop-giop_1_1.o ../../src/gio
p/polyorb-request_qos-code_sets.o ../../src/giop/polyorb-protocols-giop-giop_1_2.o ../../src/gio
p/diop/polyorb-setup-diop.o ../../src/giop/iiop/polyorb-setup-iiop.o ../../src/giop/miop/polyorb
-setup-uipmc.o ../../src/polyorb-utils-sockets.o ../../src/giop/miop/polyorb-binding_data-giop-u
ipmc.o ../../src/giop/polyorb-binding_data-giop-inet.o ../../src/soap/polyorb-binding_data-soap.
o ../../src/polyorb-utils-tcp_access_points.o ../../src/giop/iiop/polyorb-setup-access_points-ii
op.o ../../src/soap/polyorb-setup-access_points-soap.o ../../src/srp/polyorb-setup-access_points
-srp.o ../../src/polyorb-utils-text_buffers.o ../../src/soap/polyorb-filters-http.o ../../src/po
lyorb-utils-udp_access_points.o ../../src/giop/diop/polyorb-setup-access_points-diop.o ../../src
/giop/miop/polyorb-setup-access_points-uipmc.o ../../src/corba/portableserver.o ./cosnaming-bind
ingiterator-skel.o ./cosnaming-bindingiterator-impl.o ./cosnaming-namingcontext-skel.o ../../src
/corba/portableserver-adapteractivator.o ../../src/corba/polyorb-corba_p-adapteractivator.o ../.
./src/corba/portableserver-idassignmentpolicy.o ../../src/corba/portableserver-iduniquenesspolic
y.o ../../src/corba/portableserver-implicitactivationpolicy.o ../../src/corba/portableserver-lif
espanpolicy.o ../../src/corba/portableserver-poamanager.o ../../src/corba/portableserver-request
processingpolicy.o ../../src/corba/portableserver-servantmanager.o ../../src/corba/portableserve
r-servantactivator.o ../../src/corba/polyorb-corba_p-servantactivator.o ../../src/corba/portable
server-servantlocator.o ../../src/corba/polyorb-corba_p-servantlocator.o ../../src/corba/portabl
eserver-servantretentionpolicy.o ../../src/corba/portableserver-threadpolicy.o ../../src/corba/p
olyorb-corba_p-poa_config.o ../../src/corba/portableserver-poa.o ../../src/corba/portableserver-
poa-helper.o ../../src/corba/polyorb-corba_p-server_tools.o ./cosnaming-namingcontext-impl.o ../
../src/web_common/soap.o ../../src/web_common/soap-utils.o ../../src/soap/polyorb-soap_p-message
-response-error.o ../../src/soap/polyorb-soap_p-message.o ../../src/soap/polyorb-soap_p-types.o
../../src/soap/polyorb-buffer_sources.o ../../src/soap/polyorb-soap_p-message-response.o ../../s
rc/soap/polyorb-protocols-soap_pr.o ../../src/soap/polyorb-soap_p-message-reader.o ../../src/soa
p/polyorb-soap_p-message-xml.o ./polyorb-setup-server.o ./polyorb-setup-no_tasking_server.o ./po
_cos_naming.o -g -o po_cos_naming.exe -Xlinker --stack=0x800000,0x1000 -mthreads  ../../src/giop
/diop/.libs/libpolyorb-giop-diop.a ../../src/giop/iiop/.libs/libpolyorb-giop-iiop.a ../../src/gi
op/miop/.libs/libpolyorb-giop-miop.a ../../src/srp/.libs/libpolyorb-srp.a ../../src/moma/.libs/l
ibpolyorb-moma.a ../../src/web_common/.libs/libpolyorb-web_common.a -LD:/MinGW/opt/ada/lib -lxml
ada_input_sources -lxmlada_sax -lxmlada_unicode -lxmlada_dom -LW:/act.i686-pc-mingw/polyorb/cos/
naming -LW:/act.i686-pc-mingw/polyorb/idls/cos/naming -LW:/act.i686-pc-mingw/polyorb/src -LW:/ac
t.i686-pc-mingw/polyorb/src/giop -LW:/act.i686-pc-mingw/polyorb/src/giop/diop -LW:/act.i686-pc-m
ingw/polyorb/src/giop/iiop -LW:/act.i686-pc-mingw/polyorb/src/giop/miop -LW:/act.i686-pc-mingw/p
olyorb/src/soap -LW:/act.i686-pc-mingw/polyorb/src/srp -LW:/act.i686-pc-mingw/polyorb/src/corba
-LW:/act.i686-pc-mingw/polyorb/cos/ir -LW:/act.i686-pc-mingw/polyorb/src/web_common -LD:/MinGW/o
pt/ada/include/xmlada/ -LD:/MinGW/lib/gcc/mingw32/3.4.2/adalib/ ../../src/soap/.libs/libpolyorb-
soap.a ../../src/giop/.libs/libpolyorb-giop.a ../../src/corba/.libs/libpolyorb-corba.a ../../src
/.libs/libpolyorb.a D:/MinGW/lib/gcc/mingw32/3.4.2/adalib/libgnarl.a D:/MinGW/lib/gcc/mingw32/3.
4.2/adalib/libgnat.a -lwsock32

I did the counting for you 132 lines with 96 characters each
makes 12.672 and that is distictivly more then 8192.

With Regards

Martin

-- 
Martin Krischik
mailto://krischik@users.sourceforge.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/polyorb-users/attachments/20041223/a1d0cc3e/attachment-0003.bin


More information about the PolyORB-users mailing list